singleton Class Template Reference

#include <singleton.hpp>

Inheritance diagram for singleton:

Inheritance graph
[legend]
Collaboration diagram for singleton:

Collaboration graph
[legend]

List of all members.


Detailed Description

template<typename T>
class gsgl::data::singleton< T >

Definition at line 52 of file singleton.hpp.


Public Member Functions

 singleton ()
virtual ~singleton ()

Static Public Member Functions

static T * global_instance ()

Static Private Attributes

static T * instance

Constructor & Destructor Documentation

singleton (  )  [inline]

Definition at line 57 of file singleton.hpp.

virtual ~singleton (  )  [inline, virtual]

Definition at line 65 of file singleton.hpp.


Member Function Documentation

static T* global_instance (  )  [inline, static]


Member Data Documentation

T* instance [static, private]


The documentation for this class was generated from the following file:

Generated on Sat Mar 1 13:50:06 2008 for Periapsis Project by  doxygen 1.5.5