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

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

#include <Service_Types.h>

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

Public Member Functions

 ACE_Module_Type (void *m, const ACE_TCHAR *identifier, u_int flags=0, int stype=ACE_Service_Type::MODULE)
 
 ~ACE_Module_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
 
ACE_Module_Typelink () const
 Get the link pointer.
 
void link (ACE_Module_Type *)
 Set the link pointer.
 
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 ()
 
voidobject () 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_Typelink_
 Pointer to the next ACE_Module_Type in an ACE_Stream_Type.
 

Additional Inherited Members

- Protected Attributes inherited from ACE_Service_Type_Impl
const ACE_TCHARname_
 Name of the service.
 
voidobj_
 
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_Modules.

Constructor & Destructor Documentation

◆ ACE_Module_Type()

ACE_Module_Type::ACE_Module_Type ( void * m,
const ACE_TCHAR * identifier,
u_int flags = 0,
int stype = ACE_Service_Type::MODULE )

◆ ~ACE_Module_Type()

ACE_Module_Type::~ACE_Module_Type ( )

Member Function Documentation

◆ dump()

void ACE_Module_Type::dump ( ) const

Dump the state of an object.

◆ fini()

int ACE_Module_Type::fini ( ) const
virtual

Reimplemented from ACE_Service_Type_Impl.

◆ info()

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

Implements ACE_Service_Type_Impl.

◆ init()

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

Implements ACE_Service_Type_Impl.

◆ link() [1/2]

ACE_Module_Type * ACE_Module_Type::link ( ) const

Get the link pointer.

◆ link() [2/2]

void ACE_Module_Type::link ( ACE_Module_Type * n)

Set the link pointer.

◆ resume()

int ACE_Module_Type::resume ( ) const
virtual

Implements ACE_Service_Type_Impl.

◆ suspend()

int ACE_Module_Type::suspend ( ) const
virtual

Implements ACE_Service_Type_Impl.

Member Data Documentation

◆ ACE_ALLOC_HOOK_DECLARE

ACE_Module_Type::ACE_ALLOC_HOOK_DECLARE

Declare the dynamic allocation hooks.

◆ link_

ACE_Module_Type* ACE_Module_Type::link_
private

Pointer to the next ACE_Module_Type in an ACE_Stream_Type.


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