#include <basic_types.h>
Static Public Member Functions | |
| static Derived & | instance () |
Protected Member Functions | |
| Singleton () | |
Private Member Functions | |
| Singleton (const Singleton &) | |
| Singleton & | operator= (const Singleton &) |
Singleton idiom.
Derived class must declere this class a friend. Usage: Derived : public Singleton<Derived> { friend class Singleton<Derived>;
| _JM_NAMESPACE::Singleton< Derived >::Singleton | ( | ) | [inline, protected] |
| _JM_NAMESPACE::Singleton< Derived >::Singleton | ( | const Singleton< Derived > & | ) | [private] |
| Derived & _JM_NAMESPACE::Singleton< Derived >::instance | ( | ) | [inline, static] |
| Singleton& _JM_NAMESPACE::Singleton< Derived >::operator= | ( | const Singleton< Derived > & | ) | [private] |