#include <basic_singleton.hpp>
Inheritance diagram for claw::concept::basic_singleton< T >:
Definition at line 44 of file basic_singleton.hpp.
Static Public Member Functions | |
static T & | get_instance () |
Get the instance of the singleton. | |
Protected Member Functions | |
basic_singleton () | |
Constructor. | |
~basic_singleton () | |
Destructor. |
claw::concept::basic_singleton< T >::basic_singleton | ( | ) | [protected] |
claw::concept::basic_singleton< T >::~basic_singleton | ( | ) | [protected] |
T & claw::concept::basic_singleton< T >::get_instance | ( | ) | [static] |
Get the instance of the singleton.
Definition at line 36 of file basic_singleton.tpp.
00037 { 00038 static T single_instance; 00039 00040 return single_instance; 00041 } // basic_singleton::get_instance()