ns-3
|
#include <lte-rlc-um.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::LteRlcUm. |
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 Unacknowledged Mode (UM), see 3GPP TS 36.322
|
virtual |
MAC SAP
Implements ns3::LteRlc.
References ns3::Packet::AddAtEnd(), ns3::Packet::AddByteTag(), ns3::Packet::AddHeader(), ns3::Packet::AddPacketTag(), ns3::EventId::Cancel(), ns3::Packet::Copy(), ns3::Packet::CreateFragment(), ns3::Packet::GetSize(), ns3::LteRlc::m_txPdu, ns3::MilliSeconds(), ns3::Simulator::Now(), NS_LOG_FUNCTION, NS_LOG_LOGIC, ns3::LteMacSapProvider::TransmitPduParameters::pdu, ns3::Packet::RemoveAtStart(), ns3::Packet::RemovePacketTag(), ns3::Simulator::Schedule(), and ns3::LteMacSapProvider::TransmitPdu().
RLC SAP
Store arrival time
Store PDCP PDU
Report Buffer Status
Implements ns3::LteRlc.
References ns3::Packet::AddPacketTag(), ns3::EventId::Cancel(), ns3::Packet::GetSize(), ns3::Simulator::Now(), NS_LOG_FUNCTION, and NS_LOG_LOGIC.
|
static |
This method returns the TypeId associated to ns3::LteRlcUm.
This object is accessible through the following paths with Config::Set and Config::Connect:
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().
void ns3::LteRlcUm::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.