Control Libraries 7.4.0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
dynamical_systems::DynamicalSystemFactory< S > Class Template Reference

Factory to create a shared pointer to a dynamical system. More...

#include <DynamicalSystemFactory.hpp>

Public Member Functions

std::shared_ptr< IDynamicalSystem< CartesianState > > create_dynamical_system (DYNAMICAL_SYSTEM_TYPE type, const std::list< std::shared_ptr< state_representation::ParameterInterface > > &parameters)
 
std::shared_ptr< IDynamicalSystem< JointState > > create_dynamical_system (DYNAMICAL_SYSTEM_TYPE type, const std::list< std::shared_ptr< state_representation::ParameterInterface > > &parameters)
 

Static Public Member Functions

static std::shared_ptr< IDynamicalSystem< S > > create_dynamical_system (DYNAMICAL_SYSTEM_TYPE type)
 Create a dynamical system of the desired type.
 
static std::shared_ptr< IDynamicalSystem< S > > create_dynamical_system (DYNAMICAL_SYSTEM_TYPE type, const std::list< std::shared_ptr< state_representation::ParameterInterface > > &parameters)
 Create a dynamical system of the desired type with initial parameters.
 

Detailed Description

template<class S>
class dynamical_systems::DynamicalSystemFactory< S >

Factory to create a shared pointer to a dynamical system.

Template Parameters
SUnderlying state type of the dynamical system

Definition at line 17 of file DynamicalSystemFactory.hpp.

Member Function Documentation

◆ create_dynamical_system() [1/4]

template<class S >
std::shared_ptr< IDynamicalSystem< S > > dynamical_systems::DynamicalSystemFactory< S >::create_dynamical_system ( DYNAMICAL_SYSTEM_TYPE  type)
static

Create a dynamical system of the desired type.

Parameters
typeThe type of dynamical system
Returns
The shared pointer to the dynamical system

Definition at line 38 of file DynamicalSystemFactory.hpp.

◆ create_dynamical_system() [2/4]

template<class S >
static std::shared_ptr< IDynamicalSystem< S > > dynamical_systems::DynamicalSystemFactory< S >::create_dynamical_system ( DYNAMICAL_SYSTEM_TYPE  type,
const std::list< std::shared_ptr< state_representation::ParameterInterface > > &  parameters 
)
static

Create a dynamical system of the desired type with initial parameters.

Parameters
typeThe type of dynamical system
parametersA list of parameters to set on the dynamical system
Returns
The shared pointer to the dynamical system

◆ create_dynamical_system() [3/4]

std::shared_ptr< IDynamicalSystem< CartesianState > > dynamical_systems::DynamicalSystemFactory< CartesianState >::create_dynamical_system ( DYNAMICAL_SYSTEM_TYPE  type,
const std::list< std::shared_ptr< state_representation::ParameterInterface > > &  parameters 
)

Definition at line 15 of file DynamicalSystemFactory.cpp.

◆ create_dynamical_system() [4/4]

std::shared_ptr< IDynamicalSystem< JointState > > dynamical_systems::DynamicalSystemFactory< JointState >::create_dynamical_system ( DYNAMICAL_SYSTEM_TYPE  type,
const std::list< std::shared_ptr< state_representation::ParameterInterface > > &  parameters 
)

Definition at line 32 of file DynamicalSystemFactory.cpp.


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