The abstract base class of the hierarchy that defines the contents of the ACE_Service_Repository. The subclasses of this class allow the configuration of ACE_Service_Objects, ACE_Modules, and ACE_Streams.
More...
#include <Service_Types.h>
The abstract base class of the hierarchy that defines the contents of the ACE_Service_Repository. The subclasses of this class allow the configuration of ACE_Service_Objects, ACE_Modules, and ACE_Streams.
This class provides the root of the implementation hierarchy of the "Bridge" pattern. It maintains a pointer to the appropriate type of service implementation, i.e., ACE_Service_Object, ACE_Module, or ACE_Stream.
◆ ACE_Service_Type_Impl()
◆ ~ACE_Service_Type_Impl()
ACE_Service_Type_Impl::~ACE_Service_Type_Impl |
( |
| ) |
|
|
virtual |
◆ dump()
void ACE_Service_Type_Impl::dump |
( |
| ) |
const |
Dump the state of an object.
◆ fini()
int ACE_Service_Type_Impl::fini |
( |
| ) |
const |
|
virtual |
◆ info()
virtual int ACE_Service_Type_Impl::info |
( |
ACE_TCHAR ** |
str, |
|
|
size_t |
len |
|
) |
| const |
|
pure virtual |
◆ init()
virtual int ACE_Service_Type_Impl::init |
( |
int |
argc, |
|
|
ACE_TCHAR * |
argv[] |
|
) |
| const |
|
pure virtual |
◆ name() [1/2]
const ACE_TCHAR * ACE_Service_Type_Impl::name |
( |
| ) |
const |
|
inline |
Get the name of the service.
◆ name() [2/2]
void ACE_Service_Type_Impl::name |
( |
const ACE_TCHAR * |
n | ) |
|
|
inline |
Set the name of the service.
◆ object()
void * ACE_Service_Type_Impl::object |
( |
| ) |
const |
|
inline |
The pointer to the service.
◆ resume()
virtual int ACE_Service_Type_Impl::resume |
( |
| ) |
const |
|
pure virtual |
◆ service_type() [1/2]
int ACE_Service_Type_Impl::service_type |
( |
| ) |
const |
|
inline |
get the service_type of this service
◆ service_type() [2/2]
void ACE_Service_Type_Impl::service_type |
( |
int |
stype | ) |
|
|
inline |
set the service_type of this service
◆ suspend()
virtual int ACE_Service_Type_Impl::suspend |
( |
| ) |
const |
|
pure virtual |
◆ ACE_ALLOC_HOOK_DECLARE
ACE_Service_Type_Impl::ACE_ALLOC_HOOK_DECLARE |
Declare the dynamic allocation hooks.
◆ flags_
u_int ACE_Service_Type_Impl::flags_ |
|
protected |
Flags that control serivce behavior (particularly deletion).
◆ gobbler_
Destroy function to deallocate obj_.
◆ name_
const ACE_TCHAR* ACE_Service_Type_Impl::name_ |
|
protected |
◆ obj_
void* ACE_Service_Type_Impl::obj_ |
|
protected |
◆ service_type_
int ACE_Service_Type_Impl::service_type_ |
|
protected |
type of this service Used to properly manage the lifecycle of ACE_Modules and ACE_Streams during shutdown
The documentation for this class was generated from the following files: