GlobalObjectHolder< T, I > Class Template Reference

#include <globalsmanager.h>

Inherits IGlobalObjectHolder.

Collaboration diagram for GlobalObjectHolder< T, I >:
Collaboration graph
[legend]

Public Member Functions

 GlobalObjectHolder (I)
virtual void Nullify ()
virtual void Destroy ()
T & GetInstance ()
 operator T & ()
const T & GetInstance () const
 operator const T & () const
bool RegisterSelf ()

Private Attributes

T * private_ptr
T * public_ptr
bool constructing

Static Private Attributes

static int count = 0

Detailed Description

template<class T, class I>
class GlobalObjectHolder< T, I >

Definition at line 53 of file globalsmanager.h.


Constructor & Destructor Documentation

template<class T , class I >
GlobalObjectHolder< T, I >::GlobalObjectHolder (  )  [inline]

Definition at line 63 of file globalsmanager.h.


Member Function Documentation

template<class T , class I >
virtual void GlobalObjectHolder< T, I >::Destroy (  )  [inline, virtual]

Implements IGlobalObjectHolder.

Definition at line 85 of file globalsmanager.h.

template<class T , class I >
const T& GlobalObjectHolder< T, I >::GetInstance (  )  const [inline]

Definition at line 101 of file globalsmanager.h.

template<class T , class I >
T& GlobalObjectHolder< T, I >::GetInstance (  )  [inline]

Definition at line 91 of file globalsmanager.h.

template<class T , class I >
virtual void GlobalObjectHolder< T, I >::Nullify (  )  [inline, virtual]

Implements IGlobalObjectHolder.

Definition at line 81 of file globalsmanager.h.

template<class T , class I >
GlobalObjectHolder< T, I >::operator const T & (  )  const [inline]

Definition at line 107 of file globalsmanager.h.

template<class T , class I >
GlobalObjectHolder< T, I >::operator T & (  )  [inline]

Definition at line 97 of file globalsmanager.h.

bool IGlobalObjectHolder::RegisterSelf (  )  [inherited]

Definition at line 49 of file globalsmanager.cpp.


Field Documentation

template<class T , class I >
bool GlobalObjectHolder< T, I >::constructing [private]

Definition at line 57 of file globalsmanager.h.

template<class T , class I >
int GlobalObjectHolder< T, I >::count = 0 [inline, static, private]

Definition at line 58 of file globalsmanager.h.

template<class T , class I >
T* GlobalObjectHolder< T, I >::private_ptr [private]

Definition at line 55 of file globalsmanager.h.

template<class T , class I >
T* GlobalObjectHolder< T, I >::public_ptr [private]

Definition at line 56 of file globalsmanager.h.


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

Generated on Thu Dec 29 00:11:44 2011 for SpringLobby by doxygen 1.6.3