ACE 8.0.5
Loading...
Searching...
No Matches
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:
Collaboration diagram for ACE_Stream_Type:

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 ()
virtual int suspend () const
virtual int resume () const
virtual int init (int argc, ACE_TCHAR *argv[]) const
virtual int fini () 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.
int remove (ACE_Module_Type *module)
 Search for module and remove it from the ACE_Stream.
ACE_Module_Typefind (const ACE_TCHAR *module_name) const
 Locate the ACE_Module with mod_name.
void dump () const
 Dump the state of an object.
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 * object () const
 The pointer to the service.
const ACE_TCHARname () const
 Get the name of the service.
void name (const ACE_TCHAR *)
 Set the name of the service.
void dump () const
 Dump the state of an object.
int service_type () const
 get the service_type of this service
void service_type (int stype)
 set the service_type of this service

Public Attributes

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

Private Attributes

ACE_Module_Typehead_
 Pointer to the head of the ACE_Module list.

Additional Inherited Members

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

Detailed Description

Define the methods for handling the configuration of ACE_Streams.

Constructor & Destructor Documentation

◆ ACE_Stream_Type()

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::~ACE_Stream_Type ( )

Member Function Documentation

◆ dump()

void ACE_Stream_Type::dump ( ) const

Dump the state of an object.

◆ find()

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

Locate the ACE_Module with mod_name.

◆ fini()

int ACE_Stream_Type::fini ( ) const
virtual

Reimplemented from ACE_Service_Type_Impl.

◆ info()

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

Implements ACE_Service_Type_Impl.

◆ init()

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

Implements ACE_Service_Type_Impl.

◆ push()

int ACE_Stream_Type::push ( ACE_Module_Type * new_module)

Add a new ACE_Module to the top of the ACE_Stream.

◆ remove()

int ACE_Stream_Type::remove ( ACE_Module_Type * module)

Search for module and remove it from the ACE_Stream.

◆ resume()

int ACE_Stream_Type::resume ( ) const
virtual

Implements ACE_Service_Type_Impl.

◆ suspend()

int ACE_Stream_Type::suspend ( ) const
virtual

Implements ACE_Service_Type_Impl.

Member Data Documentation

◆ ACE_ALLOC_HOOK_DECLARE

ACE_Stream_Type::ACE_ALLOC_HOOK_DECLARE

Declare the dynamic allocation hooks.

◆ head_

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: