Gazebo Common

API Reference

4.7.0

Singleton template class. More...

#include <common/common.hh>

Static Public Member Functions

static T * Instance ()
 Get an instance of the singleton. More...
 

Protected Member Functions

 SingletonT ()
 Constructor. More...
 
virtual ~SingletonT ()
 Destructor. More...
 

Detailed Description

template<class T>
class ignition::common::SingletonT< T >

Singleton template class.

Constructor & Destructor Documentation

◆ SingletonT()

SingletonT ( )
inlineprotected

Constructor.

◆ ~SingletonT()

virtual ~SingletonT ( )
inlineprotectedvirtual

Destructor.

Member Function Documentation

◆ Instance()

static T* Instance ( )
inlinestatic

Get an instance of the singleton.


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