Public Types | Public Member Functions | Protected Attributes | List of all members
tuw::ParamFuncs2State< InputStateType, ParamFuncsType, OutputStateType, ParamType > Class Template Referenceabstract

Interface for a filter that outputs a desired state given an observed state and a parametric functions structure. More...

#include <param_funcs_to_state.hpp>

Inheritance diagram for tuw::ParamFuncs2State< InputStateType, ParamFuncsType, OutputStateType, ParamType >:
Inheritance graph
[legend]

Public Types

using ParamFuncType = ParamFuncsType
 Parametric functions class type. More...
 

Public Member Functions

virtual std::shared_ptr< OutputStateType > & compute (std::shared_ptr< InputStateType > &_x, std::shared_ptr< ParamFuncsType > &_funcs, const double &_t)=0
 Computes the desired state at the specified time instant given the observed state and a parametric functions structure. More...
 
ParamFuncs2Stateoperator= (const ParamFuncs2State &)=default
 
ParamFuncs2Stateoperator= (ParamFuncs2State &&)=default
 
std::shared_ptr< OutputStateType > & output ()
 Access to the last computed output state. More...
 
 ParamFuncs2State (std::shared_ptr< ParamType > _params)
 
 ParamFuncs2State (const ParamFuncs2State &)=default
 
 ParamFuncs2State (ParamFuncs2State &&)=default
 
virtual ~ParamFuncs2State ()=default
 
- Public Member Functions inherited from tuw::ParamFuncs2StateBase
virtual bool finished () const =0
 Returns wether the parametric functions evaluation has reached the end of the parametric functions domain definition. More...
 
virtual void reloadParam ()=0
 Reloads class parameters. To be called when parameters that influence the class variables are changed. More...
 
virtual void reset ()=0
 Resets class structures/variables. More...
 

Protected Attributes

std::shared_ptr< OutputStateType > output_
 Last computet output state. More...
 
std::shared_ptr< ParamType > params_
 Pointer to the class parameters object. More...
 

Detailed Description

template<typename InputStateType, typename ParamFuncsType, typename OutputStateType, typename ParamType>
class tuw::ParamFuncs2State< InputStateType, ParamFuncsType, OutputStateType, ParamType >

Interface for a filter that outputs a desired state given an observed state and a parametric functions structure.

Template Parameters
InputStateTypeClass defining the current (observed) state of the afferent system
ParamFuncsTypeClass defining the parametric functions structure to be evaluated (e.g. multivariate splines)
OutputStateTypeClass defining the computed state of the filter
ParamTypeClass defining the filter parameters

Definition at line 73 of file param_funcs_to_state.hpp.

Member Typedef Documentation

template<typename InputStateType , typename ParamFuncsType , typename OutputStateType , typename ParamType >
using tuw::ParamFuncs2State< InputStateType, ParamFuncsType, OutputStateType, ParamType >::ParamFuncType = ParamFuncsType

Parametric functions class type.

Definition at line 97 of file param_funcs_to_state.hpp.

Constructor & Destructor Documentation

template<typename InputStateType , typename ParamFuncsType , typename OutputStateType , typename ParamType >
tuw::ParamFuncs2State< InputStateType, ParamFuncsType, OutputStateType, ParamType >::ParamFuncs2State ( std::shared_ptr< ParamType >  _params)
inline

Definition at line 77 of file param_funcs_to_state.hpp.

template<typename InputStateType , typename ParamFuncsType , typename OutputStateType , typename ParamType >
virtual tuw::ParamFuncs2State< InputStateType, ParamFuncsType, OutputStateType, ParamType >::~ParamFuncs2State ( )
virtualdefault
template<typename InputStateType , typename ParamFuncsType , typename OutputStateType , typename ParamType >
tuw::ParamFuncs2State< InputStateType, ParamFuncsType, OutputStateType, ParamType >::ParamFuncs2State ( const ParamFuncs2State< InputStateType, ParamFuncsType, OutputStateType, ParamType > &  )
default
template<typename InputStateType , typename ParamFuncsType , typename OutputStateType , typename ParamType >
tuw::ParamFuncs2State< InputStateType, ParamFuncsType, OutputStateType, ParamType >::ParamFuncs2State ( ParamFuncs2State< InputStateType, ParamFuncsType, OutputStateType, ParamType > &&  )
default

Member Function Documentation

template<typename InputStateType , typename ParamFuncsType , typename OutputStateType , typename ParamType >
virtual std::shared_ptr<OutputStateType>& tuw::ParamFuncs2State< InputStateType, ParamFuncsType, OutputStateType, ParamType >::compute ( std::shared_ptr< InputStateType > &  _x,
std::shared_ptr< ParamFuncsType > &  _funcs,
const double &  _t 
)
pure virtual

Computes the desired state at the specified time instant given the observed state and a parametric functions structure.

Parameters
_xObserved state
_funcsParametric functions structure
_tTemporal evaluation point
Returns
computed output state
template<typename InputStateType , typename ParamFuncsType , typename OutputStateType , typename ParamType >
ParamFuncs2State& tuw::ParamFuncs2State< InputStateType, ParamFuncsType, OutputStateType, ParamType >::operator= ( const ParamFuncs2State< InputStateType, ParamFuncsType, OutputStateType, ParamType > &  )
default
template<typename InputStateType , typename ParamFuncsType , typename OutputStateType , typename ParamType >
ParamFuncs2State& tuw::ParamFuncs2State< InputStateType, ParamFuncsType, OutputStateType, ParamType >::operator= ( ParamFuncs2State< InputStateType, ParamFuncsType, OutputStateType, ParamType > &&  )
default
template<typename InputStateType , typename ParamFuncsType , typename OutputStateType , typename ParamType >
std::shared_ptr<OutputStateType>& tuw::ParamFuncs2State< InputStateType, ParamFuncsType, OutputStateType, ParamType >::output ( )
inline

Access to the last computed output state.

Definition at line 114 of file param_funcs_to_state.hpp.

Member Data Documentation

template<typename InputStateType , typename ParamFuncsType , typename OutputStateType , typename ParamType >
std::shared_ptr<OutputStateType> tuw::ParamFuncs2State< InputStateType, ParamFuncsType, OutputStateType, ParamType >::output_
protected

Last computet output state.

Definition at line 122 of file param_funcs_to_state.hpp.

template<typename InputStateType , typename ParamFuncsType , typename OutputStateType , typename ParamType >
std::shared_ptr<ParamType> tuw::ParamFuncs2State< InputStateType, ParamFuncsType, OutputStateType, ParamType >::params_
protected

Pointer to the class parameters object.

Definition at line 120 of file param_funcs_to_state.hpp.


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


tuw_control
Author(s): George Todoran
autogenerated on Mon Jun 10 2019 15:27:23