| 
    ACE
    6.4.2
    
   | 
 
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>

Public Member Functions | |
| 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) | 
| virtual int | suspend (void) const =0 | 
| virtual int | resume (void) const =0 | 
| virtual int | init (int argc, ACE_TCHAR *argv[]) const =0 | 
| virtual int | fini (void) const | 
| virtual int | info (ACE_TCHAR **str, size_t len) const =0 | 
| 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... | |
Protected Attributes | |
| 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_ | 
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 | ( | 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 | 
| void ACE_Service_Type_Impl::dump | ( | void | ) | const | 
Dump the state of an object.
      
  | 
  virtual | 
Reimplemented in ACE_Stream_Type, ACE_Module_Type, and ACE_Service_Object_Type.
      
  | 
  pure virtual | 
Implemented in ACE_Stream_Type, ACE_Module_Type, and ACE_Service_Object_Type.
      
  | 
  pure virtual | 
Implemented in ACE_Stream_Type, ACE_Module_Type, and ACE_Service_Object_Type.
      
  | 
  inline | 
Get the name of the service.
      
  | 
  inline | 
Set the name of the service.
      
  | 
  inline | 
The pointer to the service.
      
  | 
  pure virtual | 
Implemented in ACE_Stream_Type, ACE_Module_Type, and ACE_Service_Object_Type.
      
  | 
  inline | 
get the service_type of this service
      
  | 
  inline | 
set the service_type of this service
      
  | 
  pure virtual | 
Implemented in ACE_Stream_Type, ACE_Module_Type, and ACE_Service_Object_Type.
| ACE_Service_Type_Impl::ACE_ALLOC_HOOK_DECLARE | 
Declare the dynamic allocation hooks.
      
  | 
  protected | 
Flags that control serivce behavior (particularly deletion).
      
  | 
  protected | 
Destroy function to deallocate obj_.
      
  | 
  protected | 
Name of the service.
      
  | 
  protected | 
Pointer to object that implements the service. This actually points to an ACE_Service_Object, ACE_Module, or ACE_Stream.
      
  | 
  protected | 
type of this service Used to properly manage the lifecycle of ACE_Modules and ACE_Streams during shutdown
 1.8.11