TAO
2.4.0
|
TAO-specific Singleton class. More...
#include <TAO_Singleton.h>
Public Member Functions | |
virtual void | cleanup (void *param=0) |
![]() | |
ACE_Cleanup (void) | |
virtual | ~ACE_Cleanup (void) |
Static Public Member Functions | |
static TYPE * | instance (void) |
Global access point to the Singleton. More... | |
static void | dump (void) |
Dump the state of the object. More... | |
Protected Member Functions | |
TAO_Singleton (void) | |
Default constructor. More... | |
Static Protected Member Functions | |
static TAO_Singleton< TYPE, ACE_LOCK > *& | instance_i (void) |
Get pointer to the TAO Singleton instance. More... | |
Protected Attributes | |
TYPE | instance_ |
Contained instance. More... | |
Static Protected Attributes | |
static TAO_Singleton< TYPE, ACE_LOCK > * | singleton_ = 0 |
Pointer to the Singleton (ACE_Cleanup) instance. More... | |
TAO-specific Singleton class.
TAO_Singletons are used by TAO to register TAO-specific singleton instances with the TAO_Object_Manager. This ensures that TAO singletons are isolated from ACE's Object_Manager, thus allowing TAO to be safely dynamically unloaded.
|
protected |
Default constructor.
|
virtual |
Cleanup method, used by ace_cleanup_destroyer
to destroy the singleton.
Reimplemented from ACE_Cleanup.
|
static |
Dump the state of the object.
|
static |
Global access point to the Singleton.
|
staticprotected |
Get pointer to the TAO Singleton instance.
|
protected |
Contained instance.
|
staticprotected |
Pointer to the Singleton (ACE_Cleanup) instance.