ACE
6.4.2
|
Define the methods for handling the configuration of ACE_Modules. More...
#include <Service_Types.h>
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 (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 |
ACE_Module_Type * | link (void) const |
Get the link pointer. More... | |
void | link (ACE_Module_Type *) |
Set the link pointer. 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_TCHAR * | name (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_Type * | link_ |
Pointer to the next ACE_Module_Type in an ACE_Stream_Type. More... | |
Additional Inherited Members | |
Protected Attributes inherited from ACE_Service_Type_Impl | |
const ACE_TCHAR * | name_ |
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_ |
Define the methods for handling the configuration of ACE_Modules.
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 | ( | void | ) |
void ACE_Module_Type::dump | ( | void | ) | const |
Dump the state of an object.
|
virtual |
Reimplemented from ACE_Service_Type_Impl.
|
virtual |
Implements ACE_Service_Type_Impl.
|
virtual |
Implements ACE_Service_Type_Impl.
ACE_Module_Type * ACE_Module_Type::link | ( | void | ) | const |
Get the link pointer.
void ACE_Module_Type::link | ( | ACE_Module_Type * | n | ) |
Set the link pointer.
|
virtual |
Implements ACE_Service_Type_Impl.
|
virtual |
Implements ACE_Service_Type_Impl.
ACE_Module_Type::ACE_ALLOC_HOOK_DECLARE |
Declare the dynamic allocation hooks.
|
private |
Pointer to the next ACE_Module_Type in an ACE_Stream_Type.