A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::IdealControlMessage Class Reference

#include <ideal-control-messages.h>

+ Inheritance diagram for ns3::IdealControlMessage:
+ Collaboration diagram for ns3::IdealControlMessage:

Public Types

enum  MessageType {
  CQI_FEEDBACKS, ALLOCATION_MAP, DL_DCI, UL_DCI,
  DL_CQI, UL_CQI, BSR
}

Public Member Functions

 IdealControlMessage (void)
virtual ~IdealControlMessage (void)
Ptr< LteNetDeviceGetDestinationDevice (void)
 Get the destination device of the message.
MessageType GetMessageType (void)
 Get the type of the message.
Ptr< LteNetDeviceGetSourceDevice (void)
 Get the source device of the message.
void SetDestinationDevice (Ptr< LteNetDevice > dst)
 Set the destination device of the message.
void SetMessageType (MessageType type)
 Set the type of the message.
void SetSourceDevice (Ptr< LteNetDevice > src)
 Set the source device of the message.
- Public Member Functions inherited from ns3::SimpleRefCount< IdealControlMessage >
 SimpleRefCount ()
 SimpleRefCount (const SimpleRefCount &o)
uint32_t GetReferenceCount (void) const
SimpleRefCountoperator= (const SimpleRefCount &o)
void Ref (void) const
void Unref (void) const

Private Attributes

Ptr< LteNetDevicem_destination
Ptr< LteNetDevicem_source
MessageType m_type

Additional Inherited Members

- Static Public Member Functions inherited from ns3::SimpleRefCount< IdealControlMessage >
static void Cleanup (void)

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.

Definition at line 41 of file ideal-control-messages.h.

Member Enumeration Documentation

The type of the message

Enumerator:
CQI_FEEDBACKS 
ALLOCATION_MAP 
DL_DCI 
UL_DCI 
DL_CQI 
UL_CQI 
BSR 

Definition at line 47 of file ideal-control-messages.h.

Constructor & Destructor Documentation

ns3::IdealControlMessage::IdealControlMessage ( void  )

Definition at line 34 of file ideal-control-messages.cc.

ns3::IdealControlMessage::~IdealControlMessage ( void  )
virtual

Definition at line 41 of file ideal-control-messages.cc.

References m_destination, and m_source.

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

Definition at line 70 of file ideal-control-messages.cc.

References m_destination.

IdealControlMessage::MessageType ns3::IdealControlMessage::GetMessageType ( void  )

Get the type of the message.

Returns
the type of the message

Definition at line 84 of file ideal-control-messages.cc.

References m_type.

Referenced by ns3::LteUeMac::DoReceiveIdealControlMessage(), ns3::LteEnbMac::DoReceiveIdealControlMessage(), ns3::LteUePhy::ReceiveIdealControlMessage(), and ns3::LteEnbPhy::StartSubFrame().

+ Here is the caller graph for this function:

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

Get the source device of the message.

Returns
the pointer to the device that sends the message

Definition at line 63 of file ideal-control-messages.cc.

References m_source.

void ns3::IdealControlMessage::SetDestinationDevice ( Ptr< LteNetDevice dst)

Set the destination device of the message.

Parameters
dstthe device that receives the message

Definition at line 56 of file ideal-control-messages.cc.

References m_destination.

Referenced by ns3::LteUePhy::DoSendIdealControlMessage().

+ Here is the caller graph for this function:

void ns3::IdealControlMessage::SetMessageType ( IdealControlMessage::MessageType  type)

Set the type of the message.

Parameters
typethe type of the message

Definition at line 77 of file ideal-control-messages.cc.

References m_type.

Referenced by ns3::BsrIdealControlMessage::BsrIdealControlMessage(), ns3::DlCqiIdealControlMessage::DlCqiIdealControlMessage(), ns3::DlDciIdealControlMessage::DlDciIdealControlMessage(), and ns3::UlDciIdealControlMessage::UlDciIdealControlMessage().

+ Here is the caller graph for this function:

void ns3::IdealControlMessage::SetSourceDevice ( Ptr< LteNetDevice src)

Set the source device of the message.

Parameters
srcthe device that sends the message

Definition at line 49 of file ideal-control-messages.cc.

References m_source.

Referenced by ns3::LteUePhy::DoSendIdealControlMessage().

+ Here is the caller graph for this function:

Member Data Documentation

Ptr<LteNetDevice> ns3::IdealControlMessage::m_destination
private
Ptr<LteNetDevice> ns3::IdealControlMessage::m_source
private

Definition at line 92 of file ideal-control-messages.h.

Referenced by GetSourceDevice(), SetSourceDevice(), and ~IdealControlMessage().

MessageType ns3::IdealControlMessage::m_type
private

Definition at line 94 of file ideal-control-messages.h.

Referenced by GetMessageType(), and SetMessageType().


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