NS-3
ns3::BearerQosParameters Class Reference

the BearerQosParameters class implements a set of Qos parameters associated to the bearer. Bearer Level Qos (TS 23.401, Clause 4.7.3) A bearer uniquely identifies traffic flows that receive a common Qos treatment. More...

#include <bearer-qos-parameters.h>

Inheritance diagram for ns3::BearerQosParameters:
Collaboration diagram for ns3::BearerQosParameters:

List of all members.

Public Types

enum  BearerQosType { BEARER_TYPE_GBR, BEARER_TYPE_NGBR }

Public Member Functions

 BearerQosParameters (int qci, double gbr, double mbr)
 Create a Qos Parameters Set.
 BearerQosParameters (int qci, bool apec, bool apev, double gbr, double mbr)
 Create a Qos Parameters Set.
void SetBearerQosType (BearerQosType QosType)
 Set the Qos type of the bearer.
BearerQosType GetBearerQosType (void) const
 Get the Qos type of the bearer.
void SetQci (int qci)
int GetQci (void) const
void SetArpPreEmptionCapability (bool apec)
bool GetArpPreEmptionCapability (void) const
void SetArpPreEmptionVulnerability (bool apev)
bool GetArpPreEmptionVulnerability (void) const
void SetGbr (double gbr)
double GetGbr (void) const
void SetMbr (double mbr)
double GetMbr (void) const
void SetMaxDelay (double targetDelay)
double GetMaxDelay (void) const

Detailed Description

the BearerQosParameters class implements a set of Qos parameters associated to the bearer. Bearer Level Qos (TS 23.401, Clause 4.7.3) A bearer uniquely identifies traffic flows that receive a common Qos treatment.


Member Enumeration Documentation

Type og bearer (GBR or non GBR)


Constructor & Destructor Documentation

ns3::BearerQosParameters::BearerQosParameters ( int  qci,
double  gbr,
double  mbr 
)

Create a Qos Parameters Set.

Parameters:
qcithe Qos Class Identifier
gbrthe maximum bit rate to guarantee
mbrthe minimum bit rate to guarantee
ns3::BearerQosParameters::BearerQosParameters ( int  qci,
bool  apec,
bool  apev,
double  gbr,
double  mbr 
)

Create a Qos Parameters Set.

Parameters:
qcithe Qos Class Identifier
apecthe Allocation and Retention Priority of pre-emption capability
apevthe Allocation and Retention Priority of pre-emption vulnerability
gbrthe maximum bit rate to guarantee
mbrthe minimum bit rate to guarantee

Member Function Documentation

bool ns3::BearerQosParameters::GetArpPreEmptionCapability ( void  ) const
Returns:
the ArpPreEmptionCapability value
bool ns3::BearerQosParameters::GetArpPreEmptionVulnerability ( void  ) const
Returns:
the ArpPreEmptionVulnerability value
BearerQosType ns3::BearerQosParameters::GetBearerQosType ( void  ) const

Get the Qos type of the bearer.

Returns:
the Qos tyope of the bearer
double ns3::BearerQosParameters::GetGbr ( void  ) const
Returns:
the maximum bit rate
double ns3::BearerQosParameters::GetMaxDelay ( void  ) const
Returns:
the targetDelay value
double ns3::BearerQosParameters::GetMbr ( void  ) const
Returns:
the minimum bit rate
int ns3::BearerQosParameters::GetQci ( void  ) const
Returns:
the QCI value
void ns3::BearerQosParameters::SetArpPreEmptionCapability ( bool  apec)
Parameters:
apecthe Allocation and Retention Priority of pre-emption capability
void ns3::BearerQosParameters::SetArpPreEmptionVulnerability ( bool  apev)
Parameters:
apevthe Allocation and Retention Priority of pre-emption vulnerability
void ns3::BearerQosParameters::SetBearerQosType ( BearerQosType  QosType)

Set the Qos type of the bearer.

Parameters:
QosTypethe Qos type
void ns3::BearerQosParameters::SetGbr ( double  gbr)
Parameters:
gbrthe maximum bit rate to guarantee
void ns3::BearerQosParameters::SetMaxDelay ( double  targetDelay)
Parameters:
targetDelaythe target delay
void ns3::BearerQosParameters::SetMbr ( double  mbr)
Parameters:
mbrthe minimum bit rate to guarantee
void ns3::BearerQosParameters::SetQci ( int  qci)
Parameters:
qcithe Qos Class Identifier

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