dynamicgraph::sot::IntegratorAbstract< sigT, coefT > Class Template Reference

integrates an ODE. If Y is the output and X the input, the following equation is integrated: a_p * d(p)Y / dt^p + .... + a_0 Y = b_m * d(m)X / dt^m + ... . b_0 X a_i are the coefficients of the denominator of the associated transfer function between X and Y, while the b_i are those of the numerator. More...

#include <sot/core/integrator-abstract.hh>

Inheritance diagram for dynamicgraph::sot::IntegratorAbstract< sigT, coefT >:
dynamicgraph::Entity noncopyable dynamicgraph::sot::IntegratorEuler< sigT, coefT >

List of all members.

Public Member Functions

virtual const std::string & getClassName () const
 IntegratorAbstract (const std::string &name)
virtual ~IntegratorAbstract ()
virtual sigT & integrate (sigT &res, int time)=0
virtual void commandLine (const std::string &cmdLine, std::istringstream &cmdArgs, std::ostream &os)
void pushNumCoef (const coefT &numCoef)
void pushDenomCoef (const coefT &denomCoef)
void popNumCoef ()
void popDenomCoef ()

Static Public Member Functions

static std::string getTypeName (void)

Public Attributes

dg::SignalPtr< sigT, int > SIN
dg::SignalTimeDependent< sigT,
int > 
SOUT

Static Public Attributes

static const std::string CLASS_NAME

Protected Attributes

std::vector< coefT > numerator
std::vector< coefT > denominator

Detailed Description

template<class sigT, class coefT>
class dynamicgraph::sot::IntegratorAbstract< sigT, coefT >

integrates an ODE. If Y is the output and X the input, the following equation is integrated: a_p * d(p)Y / dt^p + .... + a_0 Y = b_m * d(m)X / dt^m + ... . b_0 X a_i are the coefficients of the denominator of the associated transfer function between X and Y, while the b_i are those of the numerator.


Constructor & Destructor Documentation

template<class sigT , class coefT >
virtual dynamicgraph::sot::IntegratorAbstract< sigT, coefT >::~IntegratorAbstract ( ) [inline, virtual]

Member Function Documentation

template<class sigT , class coefT >
virtual const std::string& dynamicgraph::sot::IntegratorAbstract< sigT, coefT >::getClassName ( void  ) const [inline, virtual]
template<class sigT , class coefT >
static std::string dynamicgraph::sot::IntegratorAbstract< sigT, coefT >::getTypeName ( void  ) [inline, static]
template<class sigT , class coefT >
virtual sigT& dynamicgraph::sot::IntegratorAbstract< sigT, coefT >::integrate ( sigT &  res,
int  time 
) [pure virtual]
template<class sigT , class coefT >
void dynamicgraph::sot::IntegratorAbstract< sigT, coefT >::pushDenomCoef ( const coefT &  denomCoef) [inline]
template<class sigT , class coefT >
void dynamicgraph::sot::IntegratorAbstract< sigT, coefT >::pushNumCoef ( const coefT &  numCoef) [inline]

Member Data Documentation

template<class sigT , class coefT >
const std::string dynamicgraph::sot::IntegratorAbstract< sigT, coefT >::CLASS_NAME [static]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines