#include <singleton.h>
Public Member Functions | |
~Singleton () | |
Static Public Member Functions | |
static void | deleteSingleton () |
static boost::shared_ptr< T > | getExistedSingleton () |
static boost::shared_ptr< T > | getSingleton () |
template<class P1 > | |
static boost::shared_ptr< T > | getSingleton (P1 p1) |
template<class P1 , class P2 > | |
static boost::shared_ptr< T > | getSingleton (P1 p1, P2 p2) |
template<class P1 , class P2 , class P3 > | |
static boost::shared_ptr< T > | getSingleton (P1 p1, P2 p2, P3 p3) |
static void | makeSingleton (boost::shared_ptr< T > &existed_ptr) |
static int | use_count () |
Private Member Functions | |
Singleton () | |
Static Private Attributes | |
static boost::mutex | singleton_mutex_ |
static boost::shared_ptr< T > | singleton_object_ |
Definition at line 36 of file singleton.h.
|
inline |
Definition at line 126 of file singleton.h.
|
inlineprivate |
Definition at line 128 of file singleton.h.
|
inlinestatic |
Definition at line 61 of file singleton.h.
|
inlinestatic |
Definition at line 52 of file singleton.h.
|
inlinestatic |
Definition at line 70 of file singleton.h.
|
inlinestatic |
Definition at line 83 of file singleton.h.
|
inlinestatic |
Definition at line 96 of file singleton.h.
|
inlinestatic |
Definition at line 109 of file singleton.h.
|
inlinestatic |
Definition at line 39 of file singleton.h.
|
inlinestatic |
Definition at line 121 of file singleton.h.
|
staticprivate |
Definition at line 131 of file singleton.h.
|
staticprivate |
Definition at line 130 of file singleton.h.