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

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 >:
[legend]

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 ()
 
- Public Member Functions inherited from dynamicgraph::Entity
 Entity (const std::string &name)
 
virtual ~Entity ()
 
const std::string & getName () const
 
virtual std::string getDocString () const
 
bool hasSignal (const std::string &signame) const
 
SignalBase< int > & getSignal (const std::string &signalName)
 
const SignalBase< int > & getSignal (const std::string &signalName) const
 
std::ostream & displaySignalList (std::ostream &os) const
 
virtual std::ostream & writeGraph (std::ostream &os) const
 
virtual std::ostream & writeCompletionList (std::ostream &os) const
 
virtual void display (std::ostream &os) const
 
virtual SignalBase< int > * test ()
 
virtual void test2 (SignalBase< int > *)
 
const std::string & getCommandList () const
 
CommandMap_t getNewStyleCommandMap ()
 
command::CommandgetNewStyleCommand (const std::string &cmdName)
 
SignalMap getSignalMap () const
 

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
 
- Protected Attributes inherited from dynamicgraph::Entity
std::string name
 
SignalMap signalMap
 
CommandMap_t commandMap
 

Additional Inherited Members

- Public Types inherited from dynamicgraph::Entity
typedef std::map< std::string, SignalBase< int > * > SignalMap
 
typedef std::map< const std::string, command::Command *> CommandMap_t
 
- Protected Member Functions inherited from dynamicgraph::Entity
void addCommand (const std::string &name, command::Command *command)
 
void entityRegistration ()
 
void entityDeregistration ()
 
void signalRegistration (const SignalArray< int > &signals)
 
void signalDeregistration (const std::string &name)
 

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

◆ IntegratorAbstract()

◆ ~IntegratorAbstract()

template<class sigT , class coefT >
virtual dynamicgraph::sot::IntegratorAbstract< sigT, coefT >::~IntegratorAbstract ( )
inlinevirtual

Member Function Documentation

◆ commandLine()

◆ getClassName()

template<class sigT , class coefT >
virtual const std::string& dynamicgraph::sot::IntegratorAbstract< sigT, coefT >::getClassName ( void  ) const
inlinevirtual

◆ getTypeName()

template<class sigT , class coefT >
static std::string dynamicgraph::sot::IntegratorAbstract< sigT, coefT >::getTypeName ( void  )
inlinestatic

◆ integrate()

template<class sigT , class coefT >
virtual sigT& dynamicgraph::sot::IntegratorAbstract< sigT, coefT >::integrate ( sigT &  res,
int  time 
)
pure virtual

◆ popDenomCoef()

◆ popNumCoef()

◆ pushDenomCoef()

template<class sigT , class coefT >
void dynamicgraph::sot::IntegratorAbstract< sigT, coefT >::pushDenomCoef ( const coefT &  denomCoef)
inline

◆ pushNumCoef()

template<class sigT , class coefT >
void dynamicgraph::sot::IntegratorAbstract< sigT, coefT >::pushNumCoef ( const coefT &  numCoef)
inline

Member Data Documentation

◆ CLASS_NAME

template<class sigT , class coefT >
const std::string dynamicgraph::sot::IntegratorAbstract< sigT, coefT >::CLASS_NAME
static

◆ denominator

◆ numerator

◆ SIN

◆ SOUT