#include <rlc-entity.h>
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< LteNetDevice > | GetDevice () |
Get the device where the RLC entity is attached. | |
Ptr< Packet > | Dequeue () |
Get A packet form the queue. | |
void | SetRadioBearer (Ptr< RadioBearerInstance > b) |
Set the bearer where the rlc entity is attached. | |
Ptr< RadioBearerInstance > | GetRadioBearer (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. |
This class implements the RLC entity
ns3::RlcEntity::RlcEntity | ( | Ptr< LteNetDevice > | d | ) |
Create the RLC entity.
d | the device where the RLC entity is created |
Get A packet form the queue.
virtual 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.
Ptr<LteNetDevice> ns3::RlcEntity::GetDevice | ( | ) |
Get the device where the RLC entity is attached.
Ptr<RadioBearerInstance> ns3::RlcEntity::GetRadioBearer | ( | void | ) |
Get the bearer where the rlc entity is attached.
static 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:
No Attributes defined for this type.
No TraceSources defined for this type.
Reimplemented from ns3::Object.
void ns3::RlcEntity::SetDevice | ( | Ptr< LteNetDevice > | d | ) |
Set the device where the RLC entity is attached.
d | the device |
void ns3::RlcEntity::SetRadioBearer | ( | Ptr< RadioBearerInstance > | b | ) |
Set the bearer where the rlc entity is attached.
b | the radio bearer |