Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
gazebo::ConversionFunctionFactory Class Reference

Factory singleton class that creates a ConversionFunction from sdf. More...

#include <ThrusterConversionFcn.hh>

Public Member Functions

ConversionFunctionCreateConversionFunction (sdf::ElementPtr _sdf)
 Create a ConversionFunction object according to its sdf Description. More...
 
bool RegisterCreator (const std::string &_identifier, ConversionFunctionCreator _creator)
 Register a ConversionFunction class with its creator. More...
 

Static Public Member Functions

static ConversionFunctionFactoryGetInstance ()
 Return the singleton instance of this factory. More...
 

Private Member Functions

 ConversionFunctionFactory ()
 Constructor is private since this is a singleton. More...
 

Private Attributes

std::map< std::string, ConversionFunctionCreatorcreators_
 Map of each registered identifiers to its corresponding creator. More...
 

Detailed Description

Factory singleton class that creates a ConversionFunction from sdf.

Definition at line 58 of file ThrusterConversionFcn.hh.

Constructor & Destructor Documentation

gazebo::ConversionFunctionFactory::ConversionFunctionFactory ( )
inlineprivate

Constructor is private since this is a singleton.

Definition at line 71 of file ThrusterConversionFcn.hh.

Member Function Documentation

ConversionFunction * gazebo::ConversionFunctionFactory::CreateConversionFunction ( sdf::ElementPtr  _sdf)

Create a ConversionFunction object according to its sdf Description.

Definition at line 23 of file ThrusterConversionFcn.cc.

ConversionFunctionFactory & gazebo::ConversionFunctionFactory::GetInstance ( )
static

Return the singleton instance of this factory.

Definition at line 45 of file ThrusterConversionFcn.cc.

bool gazebo::ConversionFunctionFactory::RegisterCreator ( const std::string &  _identifier,
ConversionFunctionCreator  _creator 
)

Register a ConversionFunction class with its creator.

Definition at line 52 of file ThrusterConversionFcn.cc.

Member Data Documentation

std::map<std::string, ConversionFunctionCreator> gazebo::ConversionFunctionFactory::creators_
private

Map of each registered identifiers to its corresponding creator.

Definition at line 74 of file ThrusterConversionFcn.hh.


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


uuv_gazebo_plugins
Author(s): Musa Morena Marcusso Manhaes , Sebastian Scherer , Luiz Ricardo Douat
autogenerated on Thu Jun 18 2020 03:28:24