ns-3
|
#include <lte-rlc.h>
Public Member Functions | |
virtual void | DoTransmitPdcpPdu (Ptr< Packet > p) |
virtual void | DoNotifyTxOpportunity (uint32_t bytes, uint8_t layer) |
virtual void | DoNotifyHarqDeliveryFailure () |
virtual void | DoReceivePdu (Ptr< Packet > p) |
void | Start () |
![]() | |
void | SetRnti (uint16_t rnti) |
void | SetLcId (uint8_t lcId) |
void | SetLteRlcSapUser (LteRlcSapUser *s) |
LteRlcSapProvider * | GetLteRlcSapProvider () |
void | SetLteMacSapProvider (LteMacSapProvider *s) |
LteMacSapUser * | GetLteMacSapUser () |
![]() | |
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 |
![]() | |
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::LteRlcSm. |
Additional Inherited Members | |
![]() | |
LteRlcSapUser * | m_rlcSapUser |
LteRlcSapProvider * | m_rlcSapProvider |
LteMacSapUser * | m_macSapUser |
LteMacSapProvider * | m_macSapProvider |
uint16_t | m_rnti |
uint8_t | m_lcid |
TracedCallback< uint16_t, uint8_t, uint32_t > | m_txPdu |
TracedCallback< uint16_t, uint8_t, uint32_t, uint64_t > | m_rxPdu |
LTE_RLC Saturation Mode (SM): simulation-specific mode used for experiments that do not need to consider the layers above the LTE_RLC. The LTE_RLC SM, unlike the standard LTE_RLC modes, it does not provide data delivery services to upper layers; rather, it just generates a new LTE_RLC PDU whenever the MAC notifies a transmission opportunity.
|
static |
This method returns the TypeId associated to ns3::LteRlcSm.
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.
TraceSources defined in parent class ns3::LteRlc:
Reimplemented from ns3::LteRlc.
References ns3::TypeId::SetParent().
Referenced by ns3::LteUeRrc::SetupRadioBearer(), and ns3::LteEnbRrc::SetupRadioBearer().
void ns3::LteRlcSm::Start | ( | void | ) |
This method calls the virtual DoStart method on all the objects aggregated to this object. DoStart will be called only once over the lifetime of an object, just like DoDispose is called only once.
Note: the code here is a bit tricky because we need to protect ourselves from modifications in the aggregate array while DoStart is called. The user's implementation of the DoStart method could call GetObject (which could reorder the array) and it could call AggregateObject which would add an object at the end of the array. To be safe, we restart iteration over the array whenever we call some user code, just in case.
Reimplemented from ns3::Object.
References NS_LOG_FUNCTION.