#include <Service_Object.h>
Collaboration diagram for ACE_Service_Type:
Public Types | |
enum | { DELETE_OBJ = 1, DELETE_THIS = 2 } |
Public Methods | |
ACE_Service_Type (const ACE_TCHAR *n, ACE_Service_Type_Impl *o, const ACE_SHLIB_HANDLE handle, int active) | |
~ACE_Service_Type (void) | |
const ACE_TCHAR* | name (void) const |
void | name (const ACE_TCHAR *) |
const ACE_Service_Type_Impl* | type (void) const |
void | type (const ACE_Service_Type_Impl *, int active = 1) |
ACE_SHLIB_HANDLE | handle (void) const |
void | handle (const ACE_SHLIB_HANDLE) |
void | suspend (void) const |
void | resume (void) const |
int | active (void) const |
void | active (int) |
void | fini (void) |
Calls <fini> on <type_>. | |
int | fini_called (void) const |
Check if the service has been fini'ed. | |
void | dump (void) const |
Dump the state of an object. | |
Public Attributes | |
ACE_ALLOC_HOOK_DECLARE | |
Declare the dynamic allocation hooks. | |
Private Attributes | |
const ACE_TCHAR* | name_ |
Humanly readible name of svc. | |
const ACE_Service_Type_Impl* | type_ |
Pointer to C++ object that implements the svc. | |
ACE_SHLIB_HANDLE | handle_ |
Handle to shared object file (non-zero if dynamically linked). | |
int | active_ |
1 if svc is currently active, otherwise 0. | |
int | fini_already_called_ |
1 if <fini> on <type_> has already been called, otherwise 0. |
This class acts as the interface of the "Bridge" pattern.
|
|
|
|
|
|
|
|
|
|
|
Dump the state of an object.
|
|
Calls <fini> on <type_>.
|
|
Check if the service has been fini'ed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Declare the dynamic allocation hooks.
|
|
1 if svc is currently active, otherwise 0.
|
|
1 if <fini> on <type_> has already been called, otherwise 0.
|
|
Handle to shared object file (non-zero if dynamically linked).
|
|
Humanly readible name of svc.
|
|
Pointer to C++ object that implements the svc.
|