Gazebo Common

API Reference

6.0.1

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 >

Singleton template class.

Constructor & Destructor Documentation

◆ SingletonT()

template<class T >
SingletonT ( )
inlineprotected

Constructor.

◆ ~SingletonT()

template<class T >
virtual ~SingletonT ( )
inlineprotectedvirtual

Destructor.

Member Function Documentation

◆ Instance()

template<class T >
static T * Instance ( )
inlinestatic

Get an instance of the singleton.


The documentation for this class was generated from the following file: