Classes | Public Member Functions | Public Attributes | Static Public Attributes | Protected Types | Protected Member Functions | Protected Attributes | List of all members
dynamicgraph::sot::MotionPeriod Class Reference

#include <motion-period.hh>

Inheritance diagram for dynamicgraph::sot::MotionPeriod:
Inheritance graph
[legend]

Classes

struct  sotMotionParam
 

Public Member Functions

dynamicgraph::VectorcomputeMotion (dynamicgraph::Vector &res, const int &time)
 
virtual void display (std::ostream &os) const
 
virtual const std::string & getClassName (void) const
 
 MotionPeriod (const std::string &name)
 
virtual ~MotionPeriod (void)
 
- Public Member Functions inherited from dynamicgraph::Entity
std::ostream & displaySignalList (std::ostream &os) const
 
 Entity (const std::string &name)
 
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 ()
 

Public Attributes

dynamicgraph::SignalTimeDependent< dynamicgraph::Vector, int > motionSOUT
 

Static Public Attributes

static const std::string CLASS_NAME
 

Protected Types

enum  MotionPeriodType { MOTION_CONSTANT, MOTION_SIN, MOTION_COS }
 

Protected Member Functions

void resize (const unsigned int &size)
 
- 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

std::vector< sotMotionParammotionParams
 
unsigned int size
 
- Protected Attributes inherited from dynamicgraph::Entity
CommandMap_t commandMap
 
Logger logger_
 
std::string name
 
SignalMap signalMap
 

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

Definition at line 50 of file motion-period.hh.

Member Enumeration Documentation

◆ MotionPeriodType

Enumerator
MOTION_CONSTANT 
MOTION_SIN 
MOTION_COS 

Definition at line 56 of file motion-period.hh.

Constructor & Destructor Documentation

◆ MotionPeriod()

MotionPeriod::MotionPeriod ( const std::string &  name)

Definition at line 31 of file motion-period.cpp.

◆ ~MotionPeriod()

virtual dynamicgraph::sot::MotionPeriod::~MotionPeriod ( void  )
inlinevirtual

Definition at line 77 of file motion-period.hh.

Member Function Documentation

◆ computeMotion()

dynamicgraph::Vector & MotionPeriod::computeMotion ( dynamicgraph::Vector res,
const int &  time 
)

Definition at line 46 of file motion-period.cpp.

◆ display()

void MotionPeriod::display ( std::ostream &  os) const
virtual

Reimplemented from dynamicgraph::Entity.

Definition at line 88 of file motion-period.cpp.

◆ getClassName()

virtual const std::string& dynamicgraph::sot::MotionPeriod::getClassName ( void  ) const
inlinevirtual

Reimplemented from dynamicgraph::Entity.

Definition at line 53 of file motion-period.hh.

◆ resize()

void MotionPeriod::resize ( const unsigned int &  size)
protected

Definition at line 76 of file motion-period.cpp.

Member Data Documentation

◆ CLASS_NAME

const std::string dynamicgraph::sot::MotionPeriod::CLASS_NAME
static

Definition at line 52 of file motion-period.hh.

◆ motionParams

std::vector<sotMotionParam> dynamicgraph::sot::MotionPeriod::motionParams
protected

Definition at line 67 of file motion-period.hh.

◆ motionSOUT

dynamicgraph::SignalTimeDependent<dynamicgraph::Vector, int> dynamicgraph::sot::MotionPeriod::motionSOUT

Definition at line 73 of file motion-period.hh.

◆ size

unsigned int dynamicgraph::sot::MotionPeriod::size
protected

Definition at line 66 of file motion-period.hh.


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


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