Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

TAO_TSS_Singleton Class Template Reference

TAO-specific Singleton class. More...

#include <TAO_Singleton.h>

Inheritance diagram for TAO_TSS_Singleton

Inheritance graph
[legend]
Collaboration diagram for TAO_TSS_Singleton:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual void cleanup (void *param = 0)
 Cleanup method, used by to destroy the singleton.


Static Public Methods

TYPE* instance (void)
 Global access point to the Singleton.

void dump (void)
 Dump the state of the object.


Protected Methods

 TAO_TSS_Singleton (void)
 Default constructor.

 ACE_TSS_TYPE (TYPE) instance_
 Contained instance.


Static Protected Methods

TAO_TSS_Singleton<TYPE, ACE_LOCK>*& instance_i (void)
 Get pointer to the TAO TSS Singleton instance.


Static Protected Attributes

TAO_TSS_Singleton<TYPE, ACE_LOCK>* singleton_ = 0
 Pointer to the Singleton (ACE_Cleanup) instance.


Detailed Description

template<class TYPE, class ACE_LOCK> template class TAO_TSS_Singleton

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.


Constructor & Destructor Documentation

template<classTYPE, classACE_LOCK>
ACE_INLINE TAO_TSS_Singleton< TYPE,ACE_LOCK >::TAO_TSS_Singleton<TYPE, ACE_LOCK> ( void ) [protected]
 

Default constructor.


Member Function Documentation

template<classTYPE, classACE_LOCK>
TAO_TSS_Singleton<TYPE, ACE_LOCK>::ACE_TSS_TYPE ( TYPE ) [protected]
 

Contained instance.

template<classTYPE, classACE_LOCK>
void TAO_TSS_Singleton<TYPE, ACE_LOCK>::cleanup ( void * param = 0 ) [virtual]
 

Cleanup method, used by to destroy the singleton.

Reimplemented from ACE_Cleanup.

template<classTYPE, classACE_LOCK>
void TAO_TSS_Singleton<TYPE, ACE_LOCK>::dump ( void ) [static]
 

Dump the state of the object.

template<classTYPE, classACE_LOCK>
TYPE * TAO_TSS_Singleton<TYPE, ACE_LOCK>::instance ( void ) [static]
 

Global access point to the Singleton.

template<classTYPE, classACE_LOCK>
TAO_TSS_Singleton< TYPE,ACE_LOCK >*& TAO_TSS_Singleton<TYPE, ACE_LOCK>::instance_i ( void ) [static, protected]
 

Get pointer to the TAO TSS Singleton instance.


Member Data Documentation

template<classTYPE, classACE_LOCK>
TAO_TSS_Singleton< TYPE,ACE_LOCK >* TAO_TSS_Singleton<TYPE, ACE_LOCK>::singleton_ = 0 [static, protected]
 

Pointer to the Singleton (ACE_Cleanup) instance.


The documentation for this class was generated from the following files:
Generated at Wed Nov 21 11:45:58 2001 for TAO by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000