Class Index | Cross Index | Namespace Index |
Template to ensure a single instance of a class.
Contained in: General
Derived from:
none
Derived by:
none
#include "general/SingletonT.hh"
public function member index: |
|||
static T& | Instance | (); | Obtain reference to the only instance of the class. |
static T* | PInstance | (); | Obtain pointer to the only instance of the class. |
private function member index: |
|||
Singleton | (); | Hide default constructor | |
~Singleton | (); | Hide default destructor | |
const Singleton& | operator = | (const Singleton& Source); | Hide copy constructor |