ACE  6.3.3
Public Member Functions | Public Attributes | Private Attributes | List of all members
ACE_Stream_Type Class Reference

Define the methods for handling the configuration of ACE_Streams. More...

#include <Service_Types.h>

Inheritance diagram for ACE_Stream_Type:
Inheritance graph
[legend]
Collaboration diagram for ACE_Stream_Type:
Collaboration graph
[legend]

Public Member Functions

 ACE_Stream_Type (void *s, const ACE_TCHAR *identifier, u_int flags=0, int stype=ACE_Service_Type::STREAM)
 
 ~ACE_Stream_Type (void)
 
virtual int suspend (void) const
 
virtual int resume (void) const
 
virtual int init (int argc, ACE_TCHAR *argv[]) const
 
virtual int fini (void) const
 
virtual int info (ACE_TCHAR **str, size_t len) const
 
int push (ACE_Module_Type *new_module)
 Add a new ACE_Module to the top of the ACE_Stream. More...
 
int remove (ACE_Module_Type *module)
 Search for module and remove it from the ACE_Stream. More...
 
ACE_Module_Typefind (const ACE_TCHAR *module_name) const
 Locate the ACE_Module with mod_name. More...
 
void dump (void) const
 Dump the state of an object. More...
 
- Public Member Functions inherited from ACE_Service_Type_Impl
 ACE_Service_Type_Impl (void *object, const ACE_TCHAR *s_name, u_int flags=0, ACE_Service_Object_Exterminator gobbler=0, int stype=ACE_Service_Type::INVALID_TYPE)
 
virtual ~ACE_Service_Type_Impl (void)
 
void * object (void) const
 The pointer to the service. More...
 
const ACE_TCHARname (void) const
 Get the name of the service. More...
 
void name (const ACE_TCHAR *)
 Set the name of the service. More...
 
void dump (void) const
 Dump the state of an object. More...
 
int service_type (void) const
 get the service_type of this service More...
 
void service_type (int stype)
 set the service_type of this service More...
 

Public Attributes

 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks. More...
 
- Public Attributes inherited from ACE_Service_Type_Impl
 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks. More...
 

Private Attributes

ACE_Module_Typehead_
 Pointer to the head of the ACE_Module list. More...
 

Additional Inherited Members

- Protected Attributes inherited from ACE_Service_Type_Impl
const ACE_TCHARname_
 Name of the service. More...
 
void * obj_
 
ACE_Service_Object_Exterminator gobbler_
 Destroy function to deallocate obj_. More...
 
u_int flags_
 Flags that control serivce behavior (particularly deletion). More...
 
int service_type_
 

Detailed Description

Define the methods for handling the configuration of ACE_Streams.

Constructor & Destructor Documentation

ACE_Stream_Type::ACE_Stream_Type ( void *  s,
const ACE_TCHAR identifier,
u_int  flags = 0,
int  stype = ACE_Service_Type::STREAM 
)
ACE_Stream_Type::~ACE_Stream_Type ( void  )

Member Function Documentation

void ACE_Stream_Type::dump ( void  ) const

Dump the state of an object.

ACE_Module_Type * ACE_Stream_Type::find ( const ACE_TCHAR module_name) const

Locate the ACE_Module with mod_name.

int ACE_Stream_Type::fini ( void  ) const
virtual

Reimplemented from ACE_Service_Type_Impl.

int ACE_Stream_Type::info ( ACE_TCHAR **  str,
size_t  len 
) const
virtual

Implements ACE_Service_Type_Impl.

int ACE_Stream_Type::init ( int  argc,
ACE_TCHAR argv[] 
) const
virtual

Implements ACE_Service_Type_Impl.

int ACE_Stream_Type::push ( ACE_Module_Type new_module)

Add a new ACE_Module to the top of the ACE_Stream.

int ACE_Stream_Type::remove ( ACE_Module_Type module)

Search for module and remove it from the ACE_Stream.

int ACE_Stream_Type::resume ( void  ) const
virtual

Implements ACE_Service_Type_Impl.

int ACE_Stream_Type::suspend ( void  ) const
virtual

Implements ACE_Service_Type_Impl.

Member Data Documentation

ACE_Stream_Type::ACE_ALLOC_HOOK_DECLARE

Declare the dynamic allocation hooks.

ACE_Module_Type* ACE_Stream_Type::head_
private

Pointer to the head of the ACE_Module list.


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