33 #ifndef DART_COMMON_SINGLETON_HPP_
34 #define DART_COMMON_SINGLETON_HPP_
54 template <
typename... Args>
58 template <
typename... Args>
Singleton template class.
Definition: Singleton.hpp:51
Singleton(const T &)=delete
Don't implement copy constructor.
static T * mInstance
Singleton instance.
Definition: Singleton.hpp:77
static T * getSingletonPtr(Args... _args)
Returns pointer of the singleton.
Definition: Singleton-impl.hpp:67
const T & operator=(const T &)=delete
Don't assignment operator.
Singleton()=default
Constructor.
virtual ~Singleton()=default
Destructor.
static T & getSingleton(Args... _args)
Returns reference of the singleton.
Definition: Singleton-impl.hpp:50
Definition: BulletCollisionDetector.cpp:65