wbc
wbc::RobotModelFactory Struct Reference

#include <RobotModel.hpp>

Inheritance diagram for wbc::RobotModelFactory:
wbc::RobotModelRegistry< wbc::RobotModelHyrodyn > wbc::RobotModelRegistry< wbc::RobotModelPinocchio > wbc::RobotModelRegistry< wbc::RobotModelRBDL > wbc::RobotModelRegistry< T >

Public Types

typedef std::map< std::string, RobotModel *(*)()> RobotModelMap

Static Public Member Functions

static RobotModelcreateInstance (const std::string &name)
template<typename T>
static T * createInstance (const std::string &name)
static RobotModelMapgetRobotModelMap ()
static void clear ()

Member Typedef Documentation

◆ RobotModelMap

typedef std::map<std::string, RobotModel*(*)()> wbc::RobotModelFactory::RobotModelMap

Member Function Documentation

◆ clear()

void wbc::RobotModelFactory::clear ( )
inlinestatic

◆ createInstance() [1/2]

template<typename T>
T * wbc::RobotModelFactory::createInstance ( const std::string & name)
inlinestatic

◆ createInstance() [2/2]

RobotModel * wbc::RobotModelFactory::createInstance ( const std::string & name)
inlinestatic

◆ getRobotModelMap()

RobotModelMap * wbc::RobotModelFactory::getRobotModelMap ( )
inlinestatic

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