|
ns-3
|
#include <ideal-control-messages.h>


Public Types | |
| enum | MessageType { CQI_FEEDBACKS, ALLOCATION_MAP, DL_DCI, UL_DCI, DL_CQI, UL_CQI, BSR } |
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. | |
Public Member Functions inherited from ns3::SimpleRefCount< IdealControlMessage > | |
| SimpleRefCount (const SimpleRefCount &o) | |
| SimpleRefCount & | operator= (const SimpleRefCount &o) |
| void | Ref (void) const |
| void | Unref (void) const |
| uint32_t | GetReferenceCount (void) const |
Additional Inherited Members | |
Static Public Member Functions inherited from ns3::SimpleRefCount< IdealControlMessage > | |
| static void | Cleanup (void) |
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
| Ptr< LteNetDevice > ns3::IdealControlMessage::GetDestinationDevice | ( | void | ) |
Get the destination device of the message.
| IdealControlMessage::MessageType ns3::IdealControlMessage::GetMessageType | ( | void | ) |
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 |
| void ns3::IdealControlMessage::SetMessageType | ( | IdealControlMessage::MessageType | type | ) |
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 |