#include <sot/core/motion-period.hh>
Classes | |
struct | sotMotionParam |
Public Member Functions | |
virtual const std::string & | getClassName (void) const |
MotionPeriod (const std::string &name) | |
virtual | ~MotionPeriod (void) |
ml::Vector & | computeMotion (ml::Vector &res, const int &time) |
virtual void | display (std::ostream &os) const |
void | commandLine (const std::string &cmdLine, std::istringstream &cmdArgs, std::ostream &os) |
Public Attributes | |
dg::SignalTimeDependent < ml::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 Attributes | |
unsigned int | size |
std::vector< sotMotionParam > | motionParams |
enum dynamicgraph::sot::MotionPeriod::MotionPeriodType [protected] |
dynamicgraph::sot::MotionPeriod::MotionPeriod | ( | const std::string & | name | ) |
virtual dynamicgraph::sot::MotionPeriod::~MotionPeriod | ( | void | ) | [inline, virtual] |
void dynamicgraph::sot::MotionPeriod::commandLine | ( | const std::string & | cmdLine, |
std::istringstream & | cmdArgs, | ||
std::ostream & | os | ||
) | [virtual] |
Reimplemented from dynamicgraph::Entity.
ml::Vector& dynamicgraph::sot::MotionPeriod::computeMotion | ( | ml::Vector & | res, |
const int & | time | ||
) |
virtual void dynamicgraph::sot::MotionPeriod::display | ( | std::ostream & | os | ) | const [virtual] |
Reimplemented from dynamicgraph::Entity.
virtual const std::string& dynamicgraph::sot::MotionPeriod::getClassName | ( | void | ) | const [inline, virtual] |
Implements dynamicgraph::Entity.
void dynamicgraph::sot::MotionPeriod::resize | ( | const unsigned int & | size | ) | [protected] |
const std::string dynamicgraph::sot::MotionPeriod::CLASS_NAME [static] |
std::vector< sotMotionParam > dynamicgraph::sot::MotionPeriod::motionParams [protected] |
unsigned int dynamicgraph::sot::MotionPeriod::size [protected] |