ns-3
ns3::LteRlc Class Reference

#include <lte-rlc.h>

Inheritance diagram for ns3::LteRlc:
Collaboration diagram for ns3::LteRlc:

List of all members.

Public Member Functions

void SetRnti (uint16_t rnti)
void SetLcId (uint8_t lcId)
void SetLteRlcSapUser (LteRlcSapUser *s)
LteRlcSapProviderGetLteRlcSapProvider ()
void SetLteMacSapProvider (LteMacSapProvider *s)
LteMacSapUserGetLteMacSapUser ()
- 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::LteRlc.

Protected Member Functions

virtual void DoTransmitPdcpPdu (Ptr< Packet > p)=0
virtual void DoNotifyTxOpportunity (uint32_t bytes, uint8_t layer)=0
virtual void DoNotifyHarqDeliveryFailure ()=0
virtual void DoReceivePdu (Ptr< Packet > p)=0
- Protected Member Functions inherited from ns3::Object
virtual void NotifyNewAggregate (void)
virtual void DoStart (void)
virtual void DoDispose (void)
 Object (const Object &o)

Protected Attributes

LteRlcSapUserm_rlcSapUser
LteRlcSapProviderm_rlcSapProvider
LteMacSapUserm_macSapUser
LteMacSapProviderm_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

Friends

class LteRlcSpecificLteMacSapUser
class LteRlcSpecificLteRlcSapProvider< LteRlc >

Detailed Description

This abstract base class defines the API to interact with the Radio Link Control (LTE_RLC) in LTE, see 3GPP TS 36.322


Member Function Documentation

LteMacSapUser * ns3::LteRlc::GetLteMacSapUser ( )
Parameters:
sthe MAC SAP User interface offered to the MAC by this LTE_RLC

References NS_LOG_FUNCTION.

Referenced by ns3::LteUeRrc::SetupRadioBearer(), and ns3::LteEnbRrc::SetupRadioBearer().

LteRlcSapProvider * ns3::LteRlc::GetLteRlcSapProvider ( )
Parameters:
sthe RLC SAP Provider interface offered to the PDCP by this LTE_RLC

References NS_LOG_FUNCTION.

Referenced by ns3::LteUeRrc::SetupRadioBearer(), and ns3::LteEnbRrc::SetupRadioBearer().

TypeId ns3::LteRlc::GetTypeId ( void  )
static

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

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

  • /NodeList/[i]/DeviceList/[i]/$ns3::LteEnbNetDevice/LteEnbRrc/UeMap/[i]/RadioBearerMap/[i]/LteRlc
  • /NodeList/[i]/DeviceList/[i]/$ns3::LteNetDevice/$ns3::LteEnbNetDevice/LteEnbRrc/UeMap/[i]/RadioBearerMap/[i]/LteRlc
  • /NodeList/[i]/DeviceList/[i]/$ns3::LteNetDevice/$ns3::LteUeNetDevice/LteUeRrc/RadioBearerMap/[i]/LteRlc
  • /NodeList/[i]/DeviceList/[i]/$ns3::LteUeNetDevice/LteUeRrc/RadioBearerMap/[i]/LteRlc

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

  • TxPDU: PDU transmission notified to the MAC.
  • RxPDU: PDU received.

Reimplemented from ns3::Object.

Reimplemented in ns3::LteRlcSm, ns3::LteRlcAm, and ns3::LteRlcUm.

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

void ns3::LteRlc::SetLcId ( uint8_t  lcId)
void ns3::LteRlc::SetLteMacSapProvider ( LteMacSapProvider s)
Parameters:
sthe MAC SAP Provider to be used by this LTE_RLC

References NS_LOG_FUNCTION.

Referenced by ns3::LteUeRrc::SetupRadioBearer(), and ns3::LteEnbRrc::SetupRadioBearer().

void ns3::LteRlc::SetLteRlcSapUser ( LteRlcSapUser s)
Parameters:
sthe RLC SAP user to be used by this LTE_RLC

References NS_LOG_FUNCTION.

Referenced by ns3::LteUeRrc::SetupRadioBearer(), and ns3::LteEnbRrc::SetupRadioBearer().

void ns3::LteRlc::SetRnti ( uint16_t  rnti)

Member Data Documentation

TracedCallback<uint16_t, uint8_t, uint32_t, uint64_t> ns3::LteRlc::m_rxPdu
protected

Used to inform of a PDU reception from the MAC SAP user

Referenced by GetTypeId().

TracedCallback<uint16_t, uint8_t, uint32_t> ns3::LteRlc::m_txPdu
protected

Used to inform of a PDU delivery to the MAC SAP provider

Referenced by ns3::LteRlcUm::DoNotifyTxOpportunity(), ns3::LteRlcAm::DoNotifyTxOpportunity(), and GetTypeId().


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