TAO-specific Singleton class. More...
#include <TAO_Singleton.h>


Public Member Functions | |
| virtual void | cleanup (void *param=0) |
Static Public Member Functions | |
| static TYPE * | instance (void) |
| Global access point to the Singleton. | |
| static void | dump (void) |
| Dump the state of the object. | |
Protected Member Functions | |
| TAO_TSS_Singleton (void) | |
| Default constructor. | |
| ACE_TSS_TYPE (TYPE) instance_ | |
| Contained instance. | |
Static Protected Member Functions | |
| static TAO_TSS_Singleton< TYPE, ACE_LOCK > *& | instance_i (void) |
| Get pointer to the TAO TSS Singleton instance. | |
Static Protected Attributes | |
| static TAO_TSS_Singleton< TYPE, ACE_LOCK > * | singleton_ = 0 |
| Pointer to the Singleton (ACE_Cleanup) instance. | |
Private Member Functions | |
| ACE_UNIMPLEMENTED_FUNC (void operator=(const TAO_TSS_Singleton< TYPE, ACE_LOCK > &)) ACE_UNIMPLEMENTED_FUNC(TAO_TSS_Singleton(const TAO_TSS_Singleton< TYPE | |
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.
| TAO_TSS_Singleton< TYPE, ACE_LOCK >::TAO_TSS_Singleton | ( | void | ) | [inline, protected] |
Default constructor.
| TAO_TSS_Singleton< TYPE, ACE_LOCK >::ACE_TSS_TYPE | ( | TYPE | ) | [protected] |
Contained instance.
| TAO_TSS_Singleton< TYPE, ACE_LOCK >::ACE_UNIMPLEMENTED_FUNC | ( | void | operator = (const TAO_TSS_Singleton<TYPE,ACE_LOCK> &) |
) | const [private] |
| void TAO_TSS_Singleton< TYPE, ACE_LOCK >::cleanup | ( | void * | param = 0 |
) | [inline, virtual] |
Cleanup method, used by ace_cleanup_destroyer to destroy the singleton.
Reimplemented from ACE_Cleanup.
| void TAO_TSS_Singleton< TYPE, ACE_LOCK >::dump | ( | void | ) | [inline, static] |
Dump the state of the object.
| TYPE * TAO_TSS_Singleton< TYPE, ACE_LOCK >::instance | ( | void | ) | [inline, static] |
Global access point to the Singleton.
| TAO_TSS_Singleton< TYPE, ACE_LOCK > *& TAO_TSS_Singleton< TYPE, ACE_LOCK >::instance_i | ( | void | ) | [inline, static, protected] |
Get pointer to the TAO TSS Singleton instance.
TAO_TSS_Singleton< TYPE, ACE_LOCK > * TAO_TSS_Singleton< TYPE, ACE_LOCK >::singleton_ = 0 [inline, static, protected] |
Pointer to the Singleton (ACE_Cleanup) instance.
1.6.1