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

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

#include <LiftDragModel.hh>

Public Member Functions

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

Static Public Member Functions

static LiftDragFactoryGetInstance ()
 Returns the singleton instance of this factory. More...
 

Private Member Functions

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

Private Attributes

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

Detailed Description

Factory singleton class that creates a LiftDrag from sdf.

Definition at line 69 of file LiftDragModel.hh.

Constructor & Destructor Documentation

gazebo::LiftDragFactory::LiftDragFactory ( )
inlineprivate

Constructor is private since this is a singleton.

Definition at line 82 of file LiftDragModel.hh.

Member Function Documentation

LiftDrag * gazebo::LiftDragFactory::CreateLiftDrag ( sdf::ElementPtr  _sdf)

Create LiftDrag object according to its sdf Description.

Definition at line 37 of file LiftDragModel.cc.

LiftDragFactory & gazebo::LiftDragFactory::GetInstance ( )
static

Returns the singleton instance of this factory.

Definition at line 59 of file LiftDragModel.cc.

bool gazebo::LiftDragFactory::RegisterCreator ( const std::string &  _identifier,
LiftDragCreator  _creator 
)

Register a LiftDrag class with its creator.

Definition at line 66 of file LiftDragModel.cc.

Member Data Documentation

std::map<std::string, LiftDragCreator> gazebo::LiftDragFactory::creators_
private

Map of each registered identifier to its corresponding creator.

Definition at line 85 of file LiftDragModel.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