dynamicgraph::sot::Derivator< T > Class Template Reference

#include <sot/core/derivator.hh>

Inheritance diagram for dynamicgraph::sot::Derivator< T >:
[legend]

Public Member Functions

 Derivator (const std::string &name)
 
virtual ~Derivator (void)
 

Static Public Member Functions

static std::string getTypeName (void)
 

Public Attributes

dg::SignalPtr< T, int > SIN
 
dg::SignalTimeDependent< T, int > SOUT
 
dg::Signal< double, int > timestepSIN
 

Protected Member Functions

T & computeDerivation (T &res, int time)
 
template<>
VectorQuaternioncomputeDerivation (VectorQuaternion &res, int time)
 

Protected Attributes

memory
 
bool initialized
 
double timestep
 

Static Protected Attributes

static const double TIMESTEP_DEFAULT
 

Constructor & Destructor Documentation

◆ Derivator()

◆ ~Derivator()

template<class T >
virtual dynamicgraph::sot::Derivator< T >::~Derivator ( void  )
inlinevirtual

Member Function Documentation

◆ computeDerivation() [1/2]

template<class T >
T& dynamicgraph::sot::Derivator< T >::computeDerivation ( T &  res,
int  time 
)
inlineprotected

◆ computeDerivation() [2/2]

◆ getTypeName()

template<class T >
static std::string dynamicgraph::sot::Derivator< T >::getTypeName ( void  )
inlinestatic

Member Data Documentation

◆ initialized

template<class T >
bool dynamicgraph::sot::Derivator< T >::initialized
protected

◆ memory

template<class T >
T dynamicgraph::sot::Derivator< T >::memory
protected

◆ SIN

◆ SOUT

template<class T >
dg::SignalTimeDependent<T, int> dynamicgraph::sot::Derivator< T >::SOUT

◆ timestep

template<class T >
double dynamicgraph::sot::Derivator< T >::timestep
protected

◆ TIMESTEP_DEFAULT

template<class T >
const double dynamicgraph::sot::Derivator< T >::TIMESTEP_DEFAULT
staticprotected

◆ timestepSIN

template<class T >
dg::Signal<double, int> dynamicgraph::sot::Derivator< T >::timestepSIN