ns3::IdealControlMessage Class Reference

#include <ideal-control-messages.h>

Inheritance diagram for ns3::IdealControlMessage:
Inheritance graph
[legend]
Collaboration diagram for ns3::IdealControlMessage:
Collaboration graph
[legend]

List of all members.

Public Types

enum  MessageType { CQI_FEEDBACKS, ALLOCATION_MAP }

Public Member Functions

void SetSourceDevice (Ptr< LteNetDevice > src)
 Set the source device of the message.
void SetDestinationDevice (Ptr< LteNetDevice > dst)
 Set the destination device of the message.
Ptr< LteNetDeviceGetSourceDevice (void)
 Get the source device of the message.
Ptr< LteNetDeviceGetDestinationDevice (void)
 Get the destination device of the message.
void SetMessageType (MessageType type)
 Set the type of the message.
MessageType GetMessageType (void)
 Get the type of the message.

Detailed Description

The IdealControlMessage provides a basic implementations for control messages (such as PDCCH allocation map, CQI feedbacks) that are exchanged among eNodeB and UEs.


Member Enumeration Documentation

The type of the message


Member Function Documentation

Ptr<LteNetDevice> ns3::IdealControlMessage::GetDestinationDevice ( void   ) 

Get the destination device of the message.

Returns:
the pointer to the device that receives the message
MessageType ns3::IdealControlMessage::GetMessageType ( void   ) 

Get the type of the message.

Returns:
the type of the message
Ptr<LteNetDevice> ns3::IdealControlMessage::GetSourceDevice ( void   ) 

Get the source device of the message.

Returns:
the pointer to the device that sends the message
void ns3::IdealControlMessage::SetDestinationDevice ( Ptr< LteNetDevice dst  ) 

Set the destination device of the message.

Parameters:
dst the device that receives the message
void ns3::IdealControlMessage::SetMessageType ( MessageType  type  ) 

Set the type of the message.

Parameters:
type the type of the message
void ns3::IdealControlMessage::SetSourceDevice ( Ptr< LteNetDevice src  ) 

Set the source device of the message.

Parameters:
src the device that sends the message

The documentation for this class was generated from the following file:

Generated on 6 Jan 2011 for NS-3 by  doxygen 1.6.1