ns3::RadioBearerInstance Class Reference

#include <radio-bearer-instance.h>

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

List of all members.

Public Types

enum  BearerDirection { DIRECTION_TYPE_UL, DIRECTION_TYPE_DL }
enum  BearerType { BEARER_TYPE_SRB1, BEARER_TYPE_SRB2, BEARER_TYPE_DRB }

Public Member Functions

void SetBearerDirection (BearerDirection direction)
 Set direction of the bearer.
BearerDirection GetBearerDirection (void) const
 Get direction of the bearer.
void SetBearerType (BearerType type)
 Set the type of bearer.
BearerType GetBearerType (void) const
 Get the type of bearer.
Ptr< LteMacQueueGetQueue (void) const
bool Enqueue (Ptr< Packet > packet)
 enqueue a packet in the queue of the bearer
Ptr< PacketDequeue (void)
 dequeue a packet from the queue of the bearer
Ptr< PacketDequeue (uint32_t availableByte)
 dequeue a packet from the queue of the bearer
bool HasPackets (void) const
void SetQosParameters (Ptr< BearerQosParameters > qosParameters)
 Set a list of QoS parameters of the Bearer.
Ptr< BearerQosParametersGetQosParameters (void)
 Get a list of QoS parameters of the Bearer.
void SetRlcEntity (Ptr< RlcEntity > rlc)
 Set the RLC entity of this bearer.
Ptr< RlcEntityGetRlcEntity (void)
 Get the RLC entity if this bearer.
void SetIpcsClassifierRecord (IpcsClassifierRecord *c)
 Set the ip classifier record.
IpcsClassifierRecordGetIpcsClassifierRecord (void)
 Get the ip classifier record.

Static Public Member Functions

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

Detailed Description

This class implements the LTE radio bearer in which a data flow between UE and eNB will be mapped.


Member Enumeration Documentation

The direction of the bearer

The bearer type


Member Function Documentation

Ptr<Packet> ns3::RadioBearerInstance::Dequeue ( uint32_t  availableByte  ) 

dequeue a packet from the queue of the bearer

Parameters:
availableByte number of bytes can be dequeued
bool ns3::RadioBearerInstance::Enqueue ( Ptr< Packet packet  ) 

enqueue a packet in the queue of the bearer

Parameters:
packet the packet to be enqueued
BearerDirection ns3::RadioBearerInstance::GetBearerDirection ( void   )  const

Get direction of the bearer.

Returns:
the direction of the bearer
BearerType ns3::RadioBearerInstance::GetBearerType ( void   )  const

Get the type of bearer.

Returns:
the type the bearer
IpcsClassifierRecord* ns3::RadioBearerInstance::GetIpcsClassifierRecord ( void   ) 

Get the ip classifier record.

Returns:
the pointer to the ip classifier record
Ptr<BearerQosParameters> ns3::RadioBearerInstance::GetQosParameters ( void   ) 

Get a list of QoS parameters of the Bearer.

Returns:
the pointer to the list of QoS parameters
Ptr<LteMacQueue> ns3::RadioBearerInstance::GetQueue ( void   )  const
Returns:
the queue of the bearer
Ptr<RlcEntity> ns3::RadioBearerInstance::GetRlcEntity ( void   ) 

Get the RLC entity if this bearer.

Returns:
the pointer to the RLC entity
static TypeId ns3::RadioBearerInstance::GetTypeId ( void   )  [static]

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

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

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

Attributes defined for this type:

No TraceSources defined for this type.

Reimplemented from ns3::Object.

bool ns3::RadioBearerInstance::HasPackets ( void   )  const
Returns:
true if the bearer has at least one packet in its queue, false otherwise
void ns3::RadioBearerInstance::SetBearerDirection ( BearerDirection  direction  ) 

Set direction of the bearer.

Parameters:
direction the direction of the bearer
void ns3::RadioBearerInstance::SetBearerType ( BearerType  type  ) 

Set the type of bearer.

Parameters:
type the QoS type
void ns3::RadioBearerInstance::SetIpcsClassifierRecord ( IpcsClassifierRecord c  ) 

Set the ip classifier record.

Parameters:
c the pointer to the ip classifier record
void ns3::RadioBearerInstance::SetQosParameters ( Ptr< BearerQosParameters qosParameters  ) 

Set a list of QoS parameters of the Bearer.

Parameters:
qosParameters the list of QoS parameters
void ns3::RadioBearerInstance::SetRlcEntity ( Ptr< RlcEntity rlc  ) 

Set the RLC entity of this bearer.

Parameters:
rlc the RLC entity

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

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