ns3::RrcEntity Class Reference

This class implements the RRC entity. More...

#include <rrc-entity.h>

Inheritance diagram for ns3::RrcEntity:
Inheritance graph
[legend]
Collaboration diagram for ns3::RrcEntity:
Collaboration graph
[legend]

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

void ns3::RrcEntity::AddDownlinkGbrBearer ( Ptr< RadioBearerInstance bearer  ) 

Add a bearer.

Parameters:
bearer tyhe bearer to be added
void ns3::RrcEntity::AddDownlinkNgbrBearer ( Ptr< RadioBearerInstance bearer  ) 

Add a bearer.

Parameters:
bearer tyhe bearer to be added
void ns3::RrcEntity::AddUplinkGbrBearer ( Ptr< RadioBearerInstance bearer  ) 

Add a bearer.

Parameters:
bearer tyhe bearer to be added
void ns3::RrcEntity::AddUplinkNgbrBearer ( Ptr< RadioBearerInstance bearer  ) 

Add a bearer.

Parameters:
bearer tyhe bearer to be added
Ptr<RadioBearerInstance> ns3::RrcEntity::Classify ( Ptr< Packet p  )  const

Classify an incoming packet into a proper bearer.

Parameters:
p the packet to classify
Returns:
a pointer to the selected bearer
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.

Returns:
a pointer to the defoult bearer
BearersContainer* ns3::RrcEntity::GetDownlinkGbrBearers ( void   )  const

Get all GBR downlink bearers of this node.

Returns:
a pointer to the BearersContainer of downlink GBR bearers
BearersContainer* ns3::RrcEntity::GetDownlinkNgbrBearers ( void   )  const

Get all NGBR downlink bearers of this node.

Returns:
a pointer to the BearersContainer of downlink NGBR bearers
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:

  • /NodeList/[i]/DeviceList/[i]/$ns3::AlohaNoackNetDevice/Phy/$ns3::RrcEntity
  • /NodeList/[i]/DeviceList/[i]/$ns3::BaseStationNetDevice/BsIpcsPacketClassifier/$ns3::RrcEntity
  • /NodeList/[i]/DeviceList/[i]/$ns3::BaseStationNetDevice/LinkManager/$ns3::RrcEntity
  • /NodeList/[i]/DeviceList/[i]/$ns3::BaseStationNetDevice/SSManager/$ns3::RrcEntity
  • /NodeList/[i]/DeviceList/[i]/$ns3::BaseStationNetDevice/ServiceFlowManager/$ns3::RrcEntity
  • /NodeList/[i]/DeviceList/[i]/$ns3::NonCommunicatingNetDevice/Phy/$ns3::RrcEntity
  • /NodeList/[i]/DeviceList/[i]/$ns3::SubscriberStationNetDevice/Classifier/$ns3::RrcEntity
  • /NodeList/[i]/DeviceList/[i]/$ns3::SubscriberStationNetDevice/LinkManager/$ns3::RrcEntity
  • /NodeList/[i]/DeviceList/[i]/$ns3::SubscriberStationNetDevice/SSScheduler/$ns3::RrcEntity
  • /NodeList/[i]/DeviceList/[i]/$ns3::UanNetDevice/Channel/NoiseModel/$ns3::RrcEntity
  • /NodeList/[i]/DeviceList/[i]/$ns3::UanNetDevice/Channel/PropagationModel/$ns3::RrcEntity
  • /NodeList/[i]/DeviceList/[i]/$ns3::UanNetDevice/Mac/$ns3::RrcEntity
  • /NodeList/[i]/DeviceList/[i]/$ns3::UanNetDevice/Phy/$ns3::RrcEntity
  • /NodeList/[i]/DeviceList/[i]/$ns3::UanNetDevice/Transducer/$ns3::RrcEntity
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::BaseStationNetDevice/BsIpcsPacketClassifier/$ns3::RrcEntity
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::BaseStationNetDevice/LinkManager/$ns3::RrcEntity
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::BaseStationNetDevice/SSManager/$ns3::RrcEntity
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::BaseStationNetDevice/ServiceFlowManager/$ns3::RrcEntity
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::SubscriberStationNetDevice/Classifier/$ns3::RrcEntity
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::SubscriberStationNetDevice/LinkManager/$ns3::RrcEntity
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::SubscriberStationNetDevice/SSScheduler/$ns3::RrcEntity
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/BandwidthManager/$ns3::RrcEntity
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/BurstProfileManager/$ns3::RrcEntity
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/Channel/$ns3::UanChannel/NoiseModel/$ns3::RrcEntity
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/Channel/$ns3::UanChannel/PropagationModel/$ns3::RrcEntity
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/ConnectionManager/$ns3::RrcEntity
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/Phy/Channel/$ns3::UanChannel/NoiseModel/$ns3::RrcEntity
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/Phy/Channel/$ns3::UanChannel/PropagationModel/$ns3::RrcEntity

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.

Returns:
a pointer to the BearersContainer of uplink GBR bearers
BearersContainer* ns3::RrcEntity::GetUplinkNgbrBearers ( void   )  const

Get all NGBR uplink bearers of this node.

Returns:
a pointer to the BearersContainer of uplink NGBR bearers

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

Generated on 6 Jan 2011 for NS-3 by  doxygen 1.6.1