SingletonT< T > Class Template Reference
Singleton template class. More...
#include <common/common.hh>
Static Public Member Functions | |
static T * | Instance () |
Get an instance of the singleton. | |
Protected Member Functions | |
SingletonT () | |
Constructor. | |
virtual | ~SingletonT () |
Destructor. | |
Detailed Description
template<class T>
class gz::common::SingletonT< T >
class gz::common::SingletonT< T >
Singleton template class.
Constructor & Destructor Documentation
◆ SingletonT()
template<class T >
|
inlineprotected |
Constructor.
◆ ~SingletonT()
template<class T >
|
inlineprotectedvirtual |
Destructor.
Member Function Documentation
◆ Instance()
template<class T >
|
inlinestatic |
Get an instance of the singleton.
The documentation for this class was generated from the following file: