ns-3
ns3::RrcEntity Class Reference

This class implements the RRC entity. More...

#include <rrc-entity.h>

Inheritance diagram for ns3::RrcEntity:
Collaboration diagram for ns3::RrcEntity:

List of all members.

Public Types

typedef std::vector< Ptr
< RadioBearerInstance > > 
BearersContainer
 A cointainer of bearer with the same QoS requirements.

Public Member Functions

virtual void DoDispose (void)
BearersContainerGetDownlinkGbrBearers (void) const
 Get all GBR downlink bearers of this node.
BearersContainerGetDownlinkNgbrBearers (void) const
 Get all NGBR downlink bearers of this node.
BearersContainerGetUplinkGbrBearers (void) const
 Get all GBR uplink bearers of this node.
BearersContainerGetUplinkNgbrBearers (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< RadioBearerInstanceClassify (Ptr< Packet > p) const
 Classify an incoming packet into a proper bearer.
Ptr< RadioBearerInstanceGetDefaultBearer (void)
 Get a default bearer.

Static Public Member Functions

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

Detailed Description

This class implements the RRC entity.


Member Function Documentation

Add a bearer.

Parameters:
bearertyhe bearer to be added

References NS_LOG_FUNCTION.

Add a bearer.

Parameters:
bearertyhe bearer to be added

References NS_LOG_FUNCTION.

Add a bearer.

Parameters:
bearertyhe bearer to be added

References NS_LOG_FUNCTION.

Add a bearer.

Parameters:
bearertyhe bearer to be added

References NS_LOG_FUNCTION.

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.

References ns3::Object::Dispose(), and NS_LOG_FUNCTION.

Get a default bearer.

Returns:
a pointer to the defoult bearer

References NS_LOG_FUNCTION.

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

Get all GBR downlink bearers of this node.

Returns:
a pointer to the BearersContainer of downlink GBR bearers

References NS_LOG_FUNCTION.

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

Get all NGBR downlink bearers of this node.

Returns:
a pointer to the BearersContainer of downlink NGBR bearers

References NS_LOG_FUNCTION.

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

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:

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

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

Reimplemented from ns3::Object.

References ns3::TypeId::SetParent().

Get all GBR uplink bearers of this node.

Returns:
a pointer to the BearersContainer of uplink GBR bearers

References NS_LOG_FUNCTION.

Get all NGBR uplink bearers of this node.

Returns:
a pointer to the BearersContainer of uplink NGBR bearers

References NS_LOG_FUNCTION.


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