ns-3
ns3::RlcEntity Class Reference

#include <rlc-entity.h>

Inheritance diagram for ns3::RlcEntity:
Collaboration diagram for ns3::RlcEntity:

List of all members.

Public Member Functions

 RlcEntity (Ptr< LteNetDevice > d)
 Create the RLC entity.
virtual void DoDispose (void)
void SetDevice (Ptr< LteNetDevice > d)
 Set the device where the RLC entity is attached.
Ptr< LteNetDeviceGetDevice ()
 Get the device where the RLC entity is attached.
Ptr< PacketDequeue ()
 Get A packet form the queue.
void SetRadioBearer (Ptr< RadioBearerInstance > b)
 Set the bearer where the rlc entity is attached.
Ptr< RadioBearerInstanceGetRadioBearer (void)
 Get the bearer where the rlc entity is attached.

Static Public Member Functions

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

Detailed Description

This class implements the RLC entity


Constructor & Destructor Documentation

ns3::RlcEntity::RlcEntity ( Ptr< LteNetDevice d)

Create the RLC entity.

Parameters:
dthe device where the RLC entity is created

References NS_LOG_FUNCTION.


Member Function Documentation

Get A packet form the queue.

Returns:
a pointer to the packet

References ns3::RadioBearerInstance::Dequeue(), GetRadioBearer(), and NS_LOG_FUNCTION.

Referenced by ns3::SimplePacketScheduler::DoRunPacketScheduler().

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

Get the device where the RLC entity is attached.

Returns:
the pointer to the device

References NS_LOG_FUNCTION.

Get the bearer where the rlc entity is attached.

Returns:
the pointer to the radio bearer

References NS_LOG_FUNCTION.

Referenced by Dequeue().

TypeId ns3::RlcEntity::GetTypeId ( void  ) [static]

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

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

  • /NodeList/[i]/DeviceList/[i]/$ns3::AlohaNoackNetDevice/Phy/$ns3::RlcEntity
  • /NodeList/[i]/DeviceList/[i]/$ns3::NonCommunicatingNetDevice/Phy/$ns3::RlcEntity

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

Reimplemented from ns3::Object.

References ns3::TypeId::SetParent().

Set the device where the RLC entity is attached.

Parameters:
dthe device

References NS_LOG_FUNCTION.

Set the bearer where the rlc entity is attached.

Parameters:
bthe radio bearer

References NS_LOG_FUNCTION.


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