ns-3
ns3::EnbMacEntity Class Reference

#include <enb-mac-entity.h>

Inheritance diagram for ns3::EnbMacEntity:
Collaboration diagram for ns3::EnbMacEntity:

List of all members.

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< PacketSchedulerGetUplinkPacketScheduler (void)
 Get the uplink packet scheduler.
Ptr< PacketSchedulerGetDownlinkPacketScheduler (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.

Detailed Description

This class implements the MAC layer of the eNodeB device


Member Function Documentation

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.

Returns:
the pointer to 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:

  • /NodeList/[i]/DeviceList/[i]/$ns3::AlohaNoackNetDevice/Phy/$ns3::EnbMacEntity
  • /NodeList/[i]/DeviceList/[i]/$ns3::AlohaNoackNetDevice/Phy/$ns3::MacEntity/$ns3::EnbMacEntity
  • /NodeList/[i]/DeviceList/[i]/$ns3::NonCommunicatingNetDevice/Phy/$ns3::EnbMacEntity
  • /NodeList/[i]/DeviceList/[i]/$ns3::NonCommunicatingNetDevice/Phy/$ns3::MacEntity/$ns3::EnbMacEntity

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.

Returns:
the pointer to the uplink packet scheduler

References NS_LOG_FUNCTION.

void ns3::EnbMacEntity::ReceiveCqiIdealControlMessage ( Ptr< CqiIdealControlMessage >  msg)
void ns3::EnbMacEntity::SendPdcchMapIdealControlMessage ( Ptr< PdcchMapIdealControlMessage >  msg)

Send the PDCCH control message.

Parameters:
msgthe message

References ns3::MacEntity::GetDevice(), ns3::Object::GetObject(), and NS_LOG_FUNCTION.

Set the downlink packet scheduler.

Parameters:
sthe packet scheduler for the downlink

References NS_LOG_FUNCTION.

Set the uplink packet scheduler.

Parameters:
sthe packet scheduler for the uplink

References NS_LOG_FUNCTION.


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