ACE 8.0.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Private Attributes | List of all members
ACE_ATM_QoS Class Reference

Define the QoS parameters for ATM. More...

#include <ATM_QoS.h>

Public Member Functions

 ACE_ATM_QoS (int=DEFAULT_PKT_SIZE)
 Default constructor.
 
 ACE_ATM_QoS (int, int=DEFAULT_PKT_SIZE)
 Constructor with a CBR rate.
 
 ~ACE_ATM_QoS ()
 
void set_rate (ACE_HANDLE, int, int)
 Set the rate.
 
void set_cbr_rate (int, int=DEFAULT_PKT_SIZE)
 Set CBR rate in cells per second.
 
ATM_QoS get_qos ()
 Get ATM_QoS struct.
 
void dump () const
 Dump the state of an object.
 

Public Attributes

 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks.
 

Static Public Attributes

static const long LINE_RATE = 0L
 
static const int OPT_FLAGS_CPID = 0
 
static const int OPT_FLAGS_PMP = 0
 
static const int DEFAULT_SELECTOR = 0x0
 
static const int DEFAULT_PKT_SIZE = 0
 

Protected Member Functions

charconstruct_options (ACE_HANDLE, int, int, long *)
 Construct QoS options.
 

Private Attributes

ATM_QoS qos_
 

Detailed Description

Define the QoS parameters for ATM.

This class wraps up QoS parameters for both ATM/XTI and ATM/WinSock2 to make the mechanism for the ATM protocol transparent.

Constructor & Destructor Documentation

◆ ACE_ATM_QoS() [1/2]

ACE_ATM_QoS::ACE_ATM_QoS ( int pktSize = DEFAULT_PKT_SIZE)

Default constructor.

◆ ACE_ATM_QoS() [2/2]

ACE_ATM_QoS::ACE_ATM_QoS ( int rate,
int pktSize = DEFAULT_PKT_SIZE )

Constructor with a CBR rate.

◆ ~ACE_ATM_QoS()

ACE_ATM_QoS::~ACE_ATM_QoS ( )
inline

Member Function Documentation

◆ construct_options()

char * ACE_ATM_QoS::construct_options ( ACE_HANDLE fd,
int rate,
int flags,
long * len )
protected

Construct QoS options.

◆ dump()

void ACE_ATM_QoS::dump ( ) const
inline

Dump the state of an object.

◆ get_qos()

ATM_QoS ACE_ATM_QoS::get_qos ( )
inline

Get ATM_QoS struct.

◆ set_cbr_rate()

void ACE_ATM_QoS::set_cbr_rate ( int rate,
int pktSize = DEFAULT_PKT_SIZE )

Set CBR rate in cells per second.

◆ set_rate()

void ACE_ATM_QoS::set_rate ( ACE_HANDLE fd,
int rate,
int flags )

Set the rate.

Member Data Documentation

◆ ACE_ALLOC_HOOK_DECLARE

ACE_ATM_QoS::ACE_ALLOC_HOOK_DECLARE

Declare the dynamic allocation hooks.

◆ DEFAULT_PKT_SIZE

const int ACE_ATM_QoS::DEFAULT_PKT_SIZE = 0
static

◆ DEFAULT_SELECTOR

const int ACE_ATM_QoS::DEFAULT_SELECTOR = 0x0
static

◆ LINE_RATE

const long ACE_ATM_QoS::LINE_RATE = 0L
static

◆ OPT_FLAGS_CPID

const int ACE_ATM_QoS::OPT_FLAGS_CPID = 0
static

◆ OPT_FLAGS_PMP

const int ACE_ATM_QoS::OPT_FLAGS_PMP = 0
static

◆ qos_

ATM_QoS ACE_ATM_QoS::qos_
private

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