opal::Singleton< TYPE > Class Template Reference

A convenient, templated singleton class. More...

#include <Singleton.h>

List of all members.

Static Public Member Functions

static TYPE &OPAL_CALL instance ()

Private Member Functions

 Singleton ()
 ~Singleton ()


Detailed Description

template<class TYPE>
class opal::Singleton< TYPE >

A convenient, templated singleton class.

Definition at line 34 of file Singleton.h.


Constructor & Destructor Documentation

template<class TYPE>
opal::Singleton< TYPE >::Singleton  )  [private]
 

template<class TYPE>
opal::Singleton< TYPE >::~Singleton  )  [private]
 


Member Function Documentation

template<class TYPE>
static TYPE& OPAL_CALL opal::Singleton< TYPE >::instance  )  [inline, static]
 

Returns a reference to the singleton.

Definition at line 42 of file Singleton.h.

Referenced by opal::loadFile().


The documentation for this class was generated from the following file:
Generated on Tue May 16 17:49:57 2006 for OPAL by  doxygen 1.4.6-NO