This class implements the RRC entity. More...
#include <rrc-entity.h>
Public Types | |
typedef std::vector< Ptr < RadioBearerInstance > > | BearersContainer |
A cointainer of bearer with the same QoS requirements. | |
Public Member Functions | |
virtual void | DoDispose (void) |
BearersContainer * | GetDownlinkGbrBearers (void) const |
Get all GBR downlink bearers of this node. | |
BearersContainer * | GetDownlinkNgbrBearers (void) const |
Get all NGBR downlink bearers of this node. | |
BearersContainer * | GetUplinkGbrBearers (void) const |
Get all GBR uplink bearers of this node. | |
BearersContainer * | GetUplinkNgbrBearers (void) const |
Get all NGBR uplink bearers of this node. | |
void | AddDownlinkGbrBearer (Ptr< RadioBearerInstance > bearer) |
Add a bearer. | |
void | AddDownlinkNgbrBearer (Ptr< RadioBearerInstance > bearer) |
Add a bearer. | |
void | AddUplinkGbrBearer (Ptr< RadioBearerInstance > bearer) |
Add a bearer. | |
void | AddUplinkNgbrBearer (Ptr< RadioBearerInstance > bearer) |
Add a bearer. | |
Ptr< RadioBearerInstance > | Classify (Ptr< Packet > p) const |
Classify an incoming packet into a proper bearer. | |
Ptr< RadioBearerInstance > | GetDefaultBearer (void) |
Get a default bearer. | |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
This method returns the TypeId associated to ns3::RrcEntity. |
This class implements the RRC entity.
void ns3::RrcEntity::AddDownlinkGbrBearer | ( | Ptr< RadioBearerInstance > | bearer | ) |
Add a bearer.
bearer | tyhe bearer to be added |
void ns3::RrcEntity::AddDownlinkNgbrBearer | ( | Ptr< RadioBearerInstance > | bearer | ) |
Add a bearer.
bearer | tyhe bearer to be added |
void ns3::RrcEntity::AddUplinkGbrBearer | ( | Ptr< RadioBearerInstance > | bearer | ) |
Add a bearer.
bearer | tyhe bearer to be added |
void ns3::RrcEntity::AddUplinkNgbrBearer | ( | Ptr< RadioBearerInstance > | bearer | ) |
Add a bearer.
bearer | tyhe bearer to be added |
Ptr<RadioBearerInstance> ns3::RrcEntity::Classify | ( | Ptr< Packet > | p | ) | const |
Classify an incoming packet into a proper bearer.
p | the packet to classify |
virtual void ns3::RrcEntity::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<RadioBearerInstance> ns3::RrcEntity::GetDefaultBearer | ( | void | ) |
Get a default bearer.
BearersContainer* ns3::RrcEntity::GetDownlinkGbrBearers | ( | void | ) | const |
Get all GBR downlink bearers of this node.
BearersContainer* ns3::RrcEntity::GetDownlinkNgbrBearers | ( | void | ) | const |
Get all NGBR downlink bearers of this node.
static TypeId ns3::RrcEntity::GetTypeId | ( | void | ) | [static] |
This method returns the TypeId associated to ns3::RrcEntity.
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.
BearersContainer* ns3::RrcEntity::GetUplinkGbrBearers | ( | void | ) | const |
Get all GBR uplink bearers of this node.
BearersContainer* ns3::RrcEntity::GetUplinkNgbrBearers | ( | void | ) | const |
Get all NGBR uplink bearers of this node.