NAME

ACE_QoS - Wrapper class that holds the sender and receiver flow spec information, which is used by IntServ (RSVP) and DiffServ.

SYNOPSIS

#include <ace/OS.h>

class ACE_QoS : public QOS { public: ACE_Flow_Spec sending_flowspec (void); void sending_flowspec (const ACE_Flow_Spec &fs); ACE_Flow_Spec receiving_flowspec (void); void receiving_flowspec (const ACE_Flow_Spec &fs); iovec provider_specific (void); void provider_specific (const iovec &ps);

class ACE_QoS_Params { public: ACE_QoS_Params ( iovec *caller_data = 0, iovec *callee_data = 0, ACE_QoS *socket_qos = 0, ACE_QoS *group_socket_qos = 0, u_long flags = 0 ); iovec *caller_data (void) const; void caller_data (iovec *); iovec *callee_data (void) const; void callee_data (iovec *); ACE_QoS *socket_qos (void) const; void socket_qos (ACE_QoS *); ACE_QoS *group_socket_qos (void) const; void group_socket_qos (ACE_QoS *); u_long flags (void) const; void flags (u_long); private: iovec *caller_data_; iovec *callee_data_; ACE_QoS *socket_qos_; ACE_QoS *group_socket_qos_; u_long flags_; };

ACE_OS_Object_Manager (void); ~ACE_OS_Object_Manager (void); private: static sigset_t *default_mask (void); static ACE_Thread_Hook *thread_hook (void); static ACE_Thread_Hook *thread_hook ( ACE_Thread_Hook *new_thread_hook ); static ACE_OS_Object_Manager *instance (void); static ACE_OS_Object_Manager *instance_; static void *preallocated_object[ACE_OS_PREALLOCATED_OBJECTS]; sigset_t *default_mask_; ACE_Thread_Hook *thread_hook_; ACE_OS_Exit_Info exit_info_; int at_exit (ACE_EXIT_HOOK func); static void print_error_message ( u_int line_number, LPCTSTR message ); friend class ACE_OS; friend class ACE_Object_Manager; friend class ACE_OS_Object_Manager_Manager; friend class ACE_TSS_Cleanup; friend class ACE_TSS_Emulation; friend class ACE_Log_Msg; friend void ACE_OS_Object_Manager_Internal_Exit_Hook (); };

Get/set the flow spec for data sending.

ACE_Flow_Spec sending_flowspec (void);

void sending_flowspec (const ACE_Flow_Spec &fs);

Get/set the flow spec for data receiving.

ACE_Flow_Spec receiving_flowspec (void);

void receiving_flowspec (const ACE_Flow_Spec &fs);

Get/set the provider specific information.

iovec provider_specific (void);

void provider_specific (const iovec &ps);

Applications shouldn't use these so they're hidden here.

They're public so that the ACE_Object_Manager can be constructed/destructed in main with ACE_HAS_NONSTATIC_OBJECT_MANAGER.
ACE_OS_Object_Manager (void);

~ACE_OS_Object_Manager (void);

AUTHOR

Doug Schmidt schmidt@cs.wustl.edu, Jesper S. M|ller stophph@diku.dk, and a cast of thousands...

The ACE_Sched_Priority type should be used for platform-

independent thread and process priorities, by convention. int should be used for OS-specific priorities.

typedef for the _stat data structure

Giving unique ACE scoped names for some important

RTSignal-Related constants. Becuase sometimes, different platforms use different names for these constants.

LIBRARY

ace