ACE
6.1.6
|
Define the methods for handling the configuration of ACE_Service_Objects. More...
#include <Service_Types.h>
Public Member Functions | |
ACE_Service_Object_Type (void *so, const ACE_TCHAR *name, u_int flags=0, ACE_Service_Object_Exterminator gobbler=0, int stype=ACE_Service_Type::SERVICE_OBJECT) | |
~ACE_Service_Object_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_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. | |
const ACE_TCHAR * | name (void) const |
Get the name of the service. | |
void | name (const ACE_TCHAR *) |
Set the name of the service. | |
void | dump (void) const |
Dump the state of an object. | |
int | service_type (void) const |
get the service_type of this service | |
void | service_type (int stype) |
set the service_type of this service |
Private Attributes | |
int | initialized_ |
Holds the initialization status (result of object->init()) |
Additional Inherited Members | |
![]() | |
ACE_ALLOC_HOOK_DECLARE | |
Declare the dynamic allocation hooks. | |
![]() | |
const ACE_TCHAR * | name_ |
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_ |
Define the methods for handling the configuration of ACE_Service_Objects.
ACE_Service_Object_Type::ACE_Service_Object_Type | ( | void * | so, |
const ACE_TCHAR * | name, | ||
u_int | flags = 0 , |
||
ACE_Service_Object_Exterminator | gobbler = 0 , |
||
int | stype = ACE_Service_Type::SERVICE_OBJECT |
||
) |
ACE_Service_Object_Type::~ACE_Service_Object_Type | ( | void | ) |
|
virtual |
Reimplemented from ACE_Service_Type_Impl.
|
virtual |
Implements ACE_Service_Type_Impl.
|
virtual |
Implements ACE_Service_Type_Impl.
|
virtual |
Implements ACE_Service_Type_Impl.
|
virtual |
Implements ACE_Service_Type_Impl.
|
mutableprivate |
Holds the initialization status (result of object->init())