#include <Singleton.h>
Collaboration diagram for SingletonNoArg< T >:
Static Public Member Functions | |
static T * | getInstance () |
Static Private Attributes | |
static T * | m_pInstance = 0 |
Definition at line 24 of file Singleton.h.
static T* SingletonNoArg< T >::getInstance | ( | ) | [inline, static] |
Definition at line 26 of file Singleton.h.
Referenced by Logger::log_debug(), and Logger::log_error().
00026 { 00027 if(SingletonNoArg<T>::m_pInstance == 0) { 00028 SingletonNoArg<T>::m_pInstance = new T(); 00029 return SingletonNoArg<T>::m_pInstance; 00030 } 00031 else 00032 return SingletonNoArg<T>::m_pInstance; 00033 }
Here is the caller graph for this function:
T * SingletonNoArg< T >::m_pInstance = 0 [static, private] |
Definition at line 36 of file Singleton.h.