ns-3
|
#include <ideal-control-messages.h>
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< LteNetDevice > | GetSourceDevice (void) |
Get the source device of the message. | |
Ptr< LteNetDevice > | GetDestinationDevice (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. |
The IdealControlMessage provides a basic implementations for control messages (such as PDCCH allocation map, CQI feedbacks) that are exchanged among eNodeB and UEs.
The type of the message
Get the destination device of the message.
Get the type of the message.
Ptr< LteNetDevice > ns3::IdealControlMessage::GetSourceDevice | ( | void | ) |
Get the source device of the message.
void ns3::IdealControlMessage::SetDestinationDevice | ( | Ptr< LteNetDevice > | dst | ) |
Set the destination device of the message.
dst | the device that receives the message |
Set the type of the message.
type | the type of the message |
void ns3::IdealControlMessage::SetSourceDevice | ( | Ptr< LteNetDevice > | src | ) |
Set the source device of the message.
src | the device that sends the message |