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

Factory singleton class that creates an UmbilicalModel from sdf. More...

#include <UmbilicalModel.hh>

Public Member Functions

UmbilicalModelCreateUmbilicalModel (sdf::ElementPtr _sdf, physics::ModelPtr _model)
 Create a ConversionFunction object according to its sdf Description. More...
 
bool RegisterCreator (const std::string &_identifier, UmbilicalModelCreator _creator)
 Register an UmbilicalModel class with its creator. More...
 

Static Public Member Functions

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

Private Member Functions

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

Private Attributes

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

Detailed Description

Factory singleton class that creates an UmbilicalModel from sdf.

Definition at line 59 of file UmbilicalModel.hh.

Constructor & Destructor Documentation

gazebo::UmbilicalModelFactory::UmbilicalModelFactory ( )
inlineprivate

Constructor is private since this is a singleton.

Definition at line 73 of file UmbilicalModel.hh.

Member Function Documentation

UmbilicalModel * gazebo::UmbilicalModelFactory::CreateUmbilicalModel ( sdf::ElementPtr  _sdf,
physics::ModelPtr  _model 
)

Create a ConversionFunction object according to its sdf Description.

Definition at line 27 of file UmbilicalModel.cc.

UmbilicalModelFactory & gazebo::UmbilicalModelFactory::GetInstance ( )
static

Return the singleton instance of this factory.

Definition at line 52 of file UmbilicalModel.cc.

bool gazebo::UmbilicalModelFactory::RegisterCreator ( const std::string &  _identifier,
UmbilicalModelCreator  _creator 
)

Register an UmbilicalModel class with its creator.

Definition at line 59 of file UmbilicalModel.cc.

Member Data Documentation

std::map<std::string, UmbilicalModelCreator> gazebo::UmbilicalModelFactory::creators_
private

Map of each registered identifiers to its corresponding creator.

Definition at line 76 of file UmbilicalModel.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 Mon Jul 1 2019 19:39:12