wbc
wbc::SceneFactory Struct Reference

#include <Scene.hpp>

Inheritance diagram for wbc::SceneFactory:
wbc::SceneRegistry< wbc::AccelerationScene > wbc::SceneRegistry< wbc::AccelerationSceneReducedTSID > wbc::SceneRegistry< wbc::AccelerationSceneTSID > wbc::SceneRegistry< wbc::VelocityScene > wbc::SceneRegistry< wbc::VelocitySceneQP > wbc::SceneRegistry< T >

Public Types

typedef std::map< std::string, Scene *(*)(RobotModelPtr, QPSolverPtr, double)> SceneMap
 

Static Public Member Functions

static ScenecreateInstance (const std::string &name, RobotModelPtr robot_model, QPSolverPtr solver, const double dt)
 
template<typename T>
static T * createInstance (const std::string &name, RobotModelPtr robot_model, QPSolverPtr solver, const double dt)
 
static SceneMapgetSceneMap ()
 
static void clear ()
 

Member Typedef Documentation

◆ SceneMap

typedef std::map<std::string, Scene*(*)(RobotModelPtr, QPSolverPtr, double)> wbc::SceneFactory::SceneMap

Member Function Documentation

◆ clear()

static void wbc::SceneFactory::clear ( )
inlinestatic

◆ createInstance() [1/2]

static Scene * wbc::SceneFactory::createInstance ( const std::string & name,
RobotModelPtr robot_model,
QPSolverPtr solver,
const double dt )
inlinestatic

◆ createInstance() [2/2]

template<typename T>
static T * wbc::SceneFactory::createInstance ( const std::string & name,
RobotModelPtr robot_model,
QPSolverPtr solver,
const double dt )
inlinestatic

◆ getSceneMap()

static SceneMap * wbc::SceneFactory::getSceneMap ( )
inlinestatic

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