#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.
micros_swarm::Singleton< T >::~Singleton | ( | ) | [inline] |
Definition at line 126 of file singleton.h.
micros_swarm::Singleton< T >::Singleton | ( | ) | [inline, private] |
Definition at line 128 of file singleton.h.
static void micros_swarm::Singleton< T >::deleteSingleton | ( | ) | [inline, static] |
Definition at line 61 of file singleton.h.
static boost::shared_ptr<T> micros_swarm::Singleton< T >::getExistedSingleton | ( | ) | [inline, static] |
Definition at line 52 of file singleton.h.
static boost::shared_ptr<T> micros_swarm::Singleton< T >::getSingleton | ( | ) | [inline, static] |
Definition at line 70 of file singleton.h.
static boost::shared_ptr<T> micros_swarm::Singleton< T >::getSingleton | ( | P1 | p1 | ) | [inline, static] |
Definition at line 83 of file singleton.h.
static boost::shared_ptr<T> micros_swarm::Singleton< T >::getSingleton | ( | P1 | p1, |
P2 | p2 | ||
) | [inline, static] |
Definition at line 96 of file singleton.h.
static boost::shared_ptr<T> micros_swarm::Singleton< T >::getSingleton | ( | P1 | p1, |
P2 | p2, | ||
P3 | p3 | ||
) | [inline, static] |
Definition at line 109 of file singleton.h.
static void micros_swarm::Singleton< T >::makeSingleton | ( | boost::shared_ptr< T > & | existed_ptr | ) | [inline, static] |
Definition at line 39 of file singleton.h.
static int micros_swarm::Singleton< T >::use_count | ( | ) | [inline, static] |
Definition at line 121 of file singleton.h.
boost::mutex micros_swarm::Singleton< T >::singleton_mutex_ [static, private] |
Definition at line 131 of file singleton.h.
boost::shared_ptr< T > micros_swarm::Singleton< T >::singleton_object_ [static, private] |
Definition at line 130 of file singleton.h.