ns-3
|
#include <enb-mac-entity.h>
Public Member Functions | |
virtual void | DoDispose (void) |
void | SetUplinkPacketScheduler (Ptr< PacketScheduler > s) |
Set the uplink packet scheduler. | |
void | SetDownlinkPacketScheduler (Ptr< PacketScheduler > s) |
Set the downlink packet scheduler. | |
Ptr< PacketScheduler > | GetUplinkPacketScheduler (void) |
Get the uplink packet scheduler. | |
Ptr< PacketScheduler > | GetDownlinkPacketScheduler (void) |
Get the downlink packet scheduler. | |
void | ReceiveCqiIdealControlMessage (Ptr< CqiIdealControlMessage > msg) |
Receive a CQI ideal control message. | |
void | SendPdcchMapIdealControlMessage (Ptr< PdcchMapIdealControlMessage > msg) |
Send the PDCCH control message. | |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
This method returns the TypeId associated to ns3::EnbMacEntity. |
This class implements the MAC layer of the eNodeB device
void ns3::EnbMacEntity::DoDispose | ( | void | ) | [virtual] |
This method is called by Object::Dispose or by the object's destructor, whichever comes first.
Subclasses are expected to implement their real destruction code in an overriden version of this method and chain up to their parent's implementation once they are done. i.e., for simplicity, the destructor of every subclass should be empty and its content should be moved to the associated DoDispose method.
It is safe to call GetObject from within this method.
Reimplemented from ns3::MacEntity.
Get the downlink packet scheduler.
References NS_LOG_FUNCTION.
Referenced by ns3::EnbLtePhy::StartSubFrame().
TypeId ns3::EnbMacEntity::GetTypeId | ( | void | ) | [static] |
This method returns the TypeId associated to ns3::EnbMacEntity.
This object is accessible through the following paths with Config::Set and Config::Connect:
No Attributes defined for this type.
No TraceSources defined for this type.
Reimplemented from ns3::MacEntity.
References ns3::TypeId::SetParent().
Get the uplink packet scheduler.
References NS_LOG_FUNCTION.
void ns3::EnbMacEntity::ReceiveCqiIdealControlMessage | ( | Ptr< CqiIdealControlMessage > | msg | ) |
Receive a CQI ideal control message.
msg | the message |
References ns3::MacEntity::GetDevice(), ns3::Object::GetObject(), ns3::UeRecord::CqiFeedback::m_cqi, ns3::UeRecord::CqiFeedback::m_subChannelId, and NS_LOG_FUNCTION.
void ns3::EnbMacEntity::SendPdcchMapIdealControlMessage | ( | Ptr< PdcchMapIdealControlMessage > | msg | ) |
Send the PDCCH control message.
msg | the message |
References ns3::MacEntity::GetDevice(), ns3::Object::GetObject(), and NS_LOG_FUNCTION.
Set the downlink packet scheduler.
s | the packet scheduler for the downlink |
References NS_LOG_FUNCTION.
Set the uplink packet scheduler.
s | the packet scheduler for the uplink |
References NS_LOG_FUNCTION.