ACE_ATM_QoS Class Reference

Define the QoS parameters for ATM. More...

#include <ATM_QoS.h>

List of all members.

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 (void)
 Get ATM_QoS struct.
void dump (void) 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
static const int OPT_FLAGS_CPID
static const int OPT_FLAGS_PMP
static const int DEFAULT_SELECTOR
static const int DEFAULT_PKT_SIZE

Protected Member Functions

char * construct_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::ACE_ATM_QoS ( int  = DEFAULT_PKT_SIZE  ) 

Default constructor.

ACE_ATM_QoS::ACE_ATM_QoS ( int  ,
int  = DEFAULT_PKT_SIZE 
)

Constructor with a CBR rate.

ACE_ATM_QoS::~ACE_ATM_QoS (  ) 

Member Function Documentation

char* ACE_ATM_QoS::construct_options ( ACE_HANDLE  ,
int  ,
int  ,
long *   
) [protected]

Construct QoS options.

void ACE_ATM_QoS::dump ( void   )  const

Dump the state of an object.

ATM_QoS ACE_ATM_QoS::get_qos ( void   ) 

Get ATM_QoS struct.

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

Set CBR rate in cells per second.

void ACE_ATM_QoS::set_rate ( ACE_HANDLE  ,
int  ,
int   
)

Set the rate.


Member Data Documentation

Declare the dynamic allocation hooks.

const int ACE_ATM_QoS::DEFAULT_PKT_SIZE [static]
const int ACE_ATM_QoS::DEFAULT_SELECTOR [static]
const long ACE_ATM_QoS::LINE_RATE [static]
const int ACE_ATM_QoS::OPT_FLAGS_CPID [static]
const int ACE_ATM_QoS::OPT_FLAGS_PMP [static]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Fri Sep 11 03:56:11 2009 for ACE by  doxygen 1.6.1