ns-3
ns3::LteEnbMac Class Reference

#include <lte-enb-mac.h>

Inheritance diagram for ns3::LteEnbMac:
Collaboration diagram for ns3::LteEnbMac:

List of all members.

Public Member Functions

virtual void DoDispose (void)
void SetFfMacSchedSapProvider (FfMacSchedSapProvider *s)
 Set the scheduler SAP provider.
FfMacSchedSapUserGetFfMacSchedSapUser (void)
 Get the scheduler SAP user.
void SetFfMacCschedSapProvider (FfMacCschedSapProvider *s)
 Set the control scheduler SAP provider.
FfMacCschedSapUserGetFfMacCschedSapUser (void)
 Get the control scheduler SAP user.
void SetLteMacSapUser (LteMacSapUser *s)
 Set the MAC SAP user.
LteMacSapProviderGetLteMacSapProvider (void)
 Get the MAC SAP provider.
void SetLteEnbCmacSapUser (LteEnbCmacSapUser *s)
 Set the control MAC SAP user.
LteEnbCmacSapProviderGetLteEnbCmacSapProvider (void)
 Get the control MAC SAP provider.
LteEnbPhySapUserGetLteEnbPhySapUser ()
 Get the eNB-PHY SAP User.
void SetLteEnbPhySapProvider (LteEnbPhySapProvider *s)
 Set the PHY SAP Provider.
void ReceiveDlCqiIdealControlMessage (Ptr< DlCqiIdealControlMessage > msg)
 Receive a DL CQI ideal control message.
void DoReceiveIdealControlMessage (Ptr< IdealControlMessage > msg)
void ReceiveBsrMessage (MacCeListElement_s bsr)
 Receive a CE element containing the buffer status report.
void DoUlCqiReport (UlCqi_s ulcqi)
void DoReceivePhyPdu (Ptr< Packet > p)
 Forwarded from LtePhySapUser: receive a PHY-PDU.
- Public Member Functions inherited from ns3::Object
virtual TypeId GetInstanceTypeId (void) const
template<typename T >
Ptr< T > GetObject (void) const
template<typename T >
Ptr< T > GetObject (TypeId tid) const
void Dispose (void)
void AggregateObject (Ptr< Object > other)
AggregateIterator GetAggregateIterator (void) const
void Start (void)
- Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter >
 SimpleRefCount (const SimpleRefCount &o)
SimpleRefCountoperator= (const SimpleRefCount &o)
void Ref (void) const
void Unref (void) const
uint32_t GetReferenceCount (void) const
- Public Member Functions inherited from ns3::ObjectBase
void SetAttribute (std::string name, const AttributeValue &value)
bool SetAttributeFailSafe (std::string name, const AttributeValue &value)
void GetAttribute (std::string name, AttributeValue &value) const
bool GetAttributeFailSafe (std::string name, AttributeValue &attribute) const
bool TraceConnect (std::string name, std::string context, const CallbackBase &cb)
bool TraceConnectWithoutContext (std::string name, const CallbackBase &cb)
bool TraceDisconnect (std::string name, std::string context, const CallbackBase &cb)
bool TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb)

Static Public Member Functions

static TypeId GetTypeId (void)
 This method returns the TypeId associated to ns3::LteEnbMac.

Friends

class EnbMacMemberLteEnbCmacSapProvider
class EnbMacMemberLteMacSapProvider< LteEnbMac >
class EnbMacMemberFfMacSchedSapUser
class EnbMacMemberFfMacCschedSapUser
class EnbMacMemberLteEnbPhySapUser

Additional Inherited Members

- Protected Member Functions inherited from ns3::Object
virtual void NotifyNewAggregate (void)
virtual void DoStart (void)
 Object (const Object &o)

Detailed Description

This class implements the MAC layer of the eNodeB device


Member Function Documentation

void ns3::LteEnbMac::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::Object.

References NS_LOG_FUNCTION.

void ns3::LteEnbMac::DoReceivePhyPdu ( Ptr< Packet p)

Forwarded from LtePhySapUser: receive a PHY-PDU.

Parameters:
pPHY-PDU received

References ns3::Packet::GetSize(), NS_ASSERT_MSG, NS_LOG_FUNCTION, and ns3::Packet::RemovePacketTag().

FfMacCschedSapUser * ns3::LteEnbMac::GetFfMacCschedSapUser ( void  )

Get the control scheduler SAP user.

Returns:
a pointer to the control scheduler SAP user
FfMacSchedSapUser * ns3::LteEnbMac::GetFfMacSchedSapUser ( void  )

Get the scheduler SAP user.

Returns:
a pointer to the SAP user of the scheduler
LteEnbCmacSapProvider * ns3::LteEnbMac::GetLteEnbCmacSapProvider ( void  )

Get the control MAC SAP provider.

Returns:
a pointer to the control MAC SAP provider
LteEnbPhySapUser * ns3::LteEnbMac::GetLteEnbPhySapUser ( )

Get the eNB-PHY SAP User.

Returns:
a pointer to the SAP User of the PHY
LteMacSapProvider * ns3::LteEnbMac::GetLteMacSapProvider ( void  )

Get the MAC SAP provider.

Returns:
a pointer to the SAP provider of the MAC
TypeId ns3::LteEnbMac::GetTypeId ( void  )
static

This method returns the TypeId associated to ns3::LteEnbMac.

This object is accessible through the following paths with Config::Set and Config::Connect:

  • /NodeList/[i]/DeviceList/[i]/$ns3::LteEnbNetDevice/LteEnbMac
  • /NodeList/[i]/DeviceList/[i]/$ns3::LteNetDevice/$ns3::LteEnbNetDevice/LteEnbMac

No Attributes defined for this type.
TraceSources defined for this type:

  • DlScheduling: Information regarding DL scheduling.
  • UlScheduling: Information regarding UL scheduling.

Reimplemented from ns3::Object.

References ns3::MakeTraceSourceAccessor(), and ns3::TypeId::SetParent().

void ns3::LteEnbMac::ReceiveBsrMessage ( MacCeListElement_s  bsr)

Receive a CE element containing the buffer status report.

Parameters:
msgthe BSR message

References NS_LOG_FUNCTION.

void ns3::LteEnbMac::ReceiveDlCqiIdealControlMessage ( Ptr< DlCqiIdealControlMessage msg)

Receive a DL CQI ideal control message.

Parameters:
msgthe DL CQI message

References NS_LOG_FUNCTION, and NS_LOG_LOGIC.

void ns3::LteEnbMac::SetFfMacCschedSapProvider ( FfMacCschedSapProvider s)

Set the control scheduler SAP provider.

Parameters:
sa pointer to the control scheduler SAP provider
void ns3::LteEnbMac::SetFfMacSchedSapProvider ( FfMacSchedSapProvider s)

Set the scheduler SAP provider.

Parameters:
sa pointer SAP provider of the FF packet scheduler
void ns3::LteEnbMac::SetLteEnbCmacSapUser ( LteEnbCmacSapUser s)

Set the control MAC SAP user.

Parameters:
sa pointer to the control MAC SAP user
void ns3::LteEnbMac::SetLteEnbPhySapProvider ( LteEnbPhySapProvider s)

Set the PHY SAP Provider.

Parameters:
sa pointer to the PHY SAP provider
void ns3::LteEnbMac::SetLteMacSapUser ( LteMacSapUser s)

Set the MAC SAP user.

Parameters:
sa pointer to the MAC SAP user

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