ns-3
|
#include <lte-enb-mac.h>
Public Member Functions | |
virtual void | DoDispose (void) |
void | SetFfMacSchedSapProvider (FfMacSchedSapProvider *s) |
Set the scheduler SAP provider. | |
FfMacSchedSapUser * | GetFfMacSchedSapUser (void) |
Get the scheduler SAP user. | |
void | SetFfMacCschedSapProvider (FfMacCschedSapProvider *s) |
Set the control scheduler SAP provider. | |
FfMacCschedSapUser * | GetFfMacCschedSapUser (void) |
Get the control scheduler SAP user. | |
void | SetLteMacSapUser (LteMacSapUser *s) |
Set the MAC SAP user. | |
LteMacSapProvider * | GetLteMacSapProvider (void) |
Get the MAC SAP provider. | |
void | SetLteEnbCmacSapUser (LteEnbCmacSapUser *s) |
Set the control MAC SAP user. | |
LteEnbCmacSapProvider * | GetLteEnbCmacSapProvider (void) |
Get the control MAC SAP provider. | |
LteEnbPhySapUser * | GetLteEnbPhySapUser () |
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. | |
![]() | |
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) |
![]() | |
SimpleRefCount (const SimpleRefCount &o) | |
SimpleRefCount & | operator= (const SimpleRefCount &o) |
void | Ref (void) const |
void | Unref (void) const |
uint32_t | GetReferenceCount (void) const |
![]() | |
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. |
Additional Inherited Members | |
![]() | |
virtual void | NotifyNewAggregate (void) |
virtual void | DoStart (void) |
Object (const Object &o) |
This class implements the MAC layer of the eNodeB device
|
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.
Forwarded from LtePhySapUser: receive a PHY-PDU.
p | PHY-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.
FfMacSchedSapUser * ns3::LteEnbMac::GetFfMacSchedSapUser | ( | void | ) |
Get the scheduler SAP user.
LteEnbCmacSapProvider * ns3::LteEnbMac::GetLteEnbCmacSapProvider | ( | void | ) |
Get the control MAC SAP provider.
LteEnbPhySapUser * ns3::LteEnbMac::GetLteEnbPhySapUser | ( | ) |
Get the eNB-PHY SAP User.
LteMacSapProvider * ns3::LteEnbMac::GetLteMacSapProvider | ( | void | ) |
Get the MAC SAP provider.
|
static |
This method returns the TypeId associated to ns3::LteEnbMac.
This object is accessible through the following paths with Config::Set and Config::Connect:
No Attributes defined for this type.
TraceSources defined for this type:
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.
msg | the BSR message |
References NS_LOG_FUNCTION.
void ns3::LteEnbMac::ReceiveDlCqiIdealControlMessage | ( | Ptr< DlCqiIdealControlMessage > | msg | ) |
Receive a DL CQI ideal control message.
msg | the DL CQI message |
References NS_LOG_FUNCTION, and NS_LOG_LOGIC.
void ns3::LteEnbMac::SetFfMacCschedSapProvider | ( | FfMacCschedSapProvider * | s | ) |
Set the control scheduler SAP provider.
s | a pointer to the control scheduler SAP provider |
void ns3::LteEnbMac::SetFfMacSchedSapProvider | ( | FfMacSchedSapProvider * | s | ) |
Set the scheduler SAP provider.
s | a pointer SAP provider of the FF packet scheduler |
void ns3::LteEnbMac::SetLteEnbCmacSapUser | ( | LteEnbCmacSapUser * | s | ) |
Set the control MAC SAP user.
s | a pointer to the control MAC SAP user |
void ns3::LteEnbMac::SetLteEnbPhySapProvider | ( | LteEnbPhySapProvider * | s | ) |
Set the PHY SAP Provider.
s | a pointer to the PHY SAP provider |
void ns3::LteEnbMac::SetLteMacSapUser | ( | LteMacSapUser * | s | ) |
Set the MAC SAP user.
s | a pointer to the MAC SAP user |