Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Static Protected Attributes | Private Member Functions | List of all members
dynamicgraph::sot::Derivator< T > Class Template Reference

#include <derivator.hh>

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

Public Member Functions

 Derivator (const std::string &name)
 
virtual ~Derivator (void)
 
- Public Member Functions inherited from dynamicgraph::Entity
virtual void display (std::ostream &os) const
 
std::ostream & displaySignalList (std::ostream &os) const
 
 Entity (const std::string &name)
 
virtual const std::string & getClassName () const
 
const std::string & getCommandList () const
 
virtual std::string getDocString () const
 
LoggerVerbosity getLoggerVerbosityLevel ()
 
LoggerVerbosity getLoggerVerbosityLevel ()
 
const std::string & getName () const
 
command::CommandgetNewStyleCommand (const std::string &cmdName)
 
CommandMap_t getNewStyleCommandMap ()
 
SignalBase< int > & getSignal (const std::string &signalName)
 
const SignalBase< int > & getSignal (const std::string &signalName) const
 
SignalMap getSignalMap () const
 
double getStreamPrintPeriod ()
 
double getStreamPrintPeriod ()
 
double getTimeSample ()
 
double getTimeSample ()
 
bool hasSignal (const std::string &signame) const
 
Loggerlogger ()
 
Logger const & logger () const
 
Loggerlogger ()
 
Logger const & logger () const
 
void sendMsg (const std::string &msg, MsgType t=MSG_TYPE_INFO, const std::string &lineId="")
 
void sendMsg (const std::string &msg, MsgType t=MSG_TYPE_INFO, const std::string &lineId="")
 
void setLoggerVerbosityLevel (LoggerVerbosity lv)
 
void setLoggerVerbosityLevel (LoggerVerbosity lv)
 
bool setStreamPrintPeriod (double t)
 
bool setStreamPrintPeriod (double t)
 
bool setTimeSample (double t)
 
bool setTimeSample (double t)
 
virtual SignalBase< int > * test ()
 
virtual void test2 (SignalBase< int > *)
 
virtual std::ostream & writeCompletionList (std::ostream &os) const
 
virtual std::ostream & writeGraph (std::ostream &os) const
 
virtual ~Entity ()
 

Static Public Member Functions

static std::string getTypeName (void)
 

Public Attributes

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

Protected Member Functions

TcomputeDerivation (T &res, int time)
 
template<>
VectorQuaternioncomputeDerivation (VectorQuaternion &res, int time)
 
- Protected Member Functions inherited from dynamicgraph::Entity
void addCommand (const std::string &name, command::Command *command)
 
void entityDeregistration ()
 
void entityRegistration ()
 
void signalDeregistration (const std::string &name)
 
void signalRegistration (const SignalArray< int > &signals)
 

Protected Attributes

bool initialized
 
T memory
 
double timestep
 
- Protected Attributes inherited from dynamicgraph::Entity
CommandMap_t commandMap
 
Logger logger_
 
std::string name
 
SignalMap signalMap
 

Static Protected Attributes

static const double TIMESTEP_DEFAULT
 

Private Member Functions

 DYNAMIC_GRAPH_ENTITY_DECL ()
 

Additional Inherited Members

- Public Types inherited from dynamicgraph::Entity
typedef std::map< const std::string, command::Command *> CommandMap_t
 
typedef std::map< std::string, SignalBase< int > *> SignalMap
 

Detailed Description

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

Definition at line 39 of file derivator.hh.

Constructor & Destructor Documentation

◆ Derivator()

template<class T >
dynamicgraph::sot::Derivator< T >::Derivator ( const std::string &  name)
inline

Definition at line 51 of file derivator.hh.

◆ ~Derivator()

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

Definition at line 68 of file derivator.hh.

Member Function Documentation

◆ computeDerivation() [1/2]

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

Definition at line 76 of file derivator.hh.

◆ computeDerivation() [2/2]

template<>
VectorQuaternion & dynamicgraph::sot::Derivator< VectorQuaternion >::computeDerivation ( VectorQuaternion res,
int  time 
)
protected

Definition at line 94 of file derivator.hh.

◆ DYNAMIC_GRAPH_ENTITY_DECL()

template<class T >
dynamicgraph::sot::Derivator< T >::DYNAMIC_GRAPH_ENTITY_DECL ( )
private

◆ getTypeName()

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

Definition at line 49 of file derivator.hh.

Member Data Documentation

◆ initialized

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

Definition at line 44 of file derivator.hh.

◆ memory

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

Definition at line 43 of file derivator.hh.

◆ SIN

template<class T >
dynamicgraph::SignalPtr<T, int> dynamicgraph::sot::Derivator< T >::SIN

Definition at line 68 of file derivator.hh.

◆ SOUT

Definition at line 72 of file derivator.hh.

◆ timestep

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

Definition at line 45 of file derivator.hh.

◆ TIMESTEP_DEFAULT

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

Definition at line 46 of file derivator.hh.

◆ timestepSIN

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

Definition at line 73 of file derivator.hh.


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


sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Wed Jun 21 2023 02:51:27