Public Member Functions | Protected Attributes
moveCommand Class Reference

#include <moveCommand.h>

Inheritance diagram for moveCommand:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual double getPos (double TimeElapsed)=0
 returns the planned position for TimeElapsed (seconds)
virtual double getTotalTime ()=0
 returns the planned total time for the movement (in seconds)
virtual double getVel (double TimeElapsed)=0
 returns the planned velocity for TimeElapsed (seconds)
virtual bool isActive ()
 returns true if the the end of the movement is not reached yet
 moveCommand ()
virtual double pos ()
 returns the planned position at time of function call (desired position)
virtual void start ()
 sets the starttime for the movement to the current time
virtual double timeRemaining ()
 returns remaining time
virtual double vel ()
 returns the planned velocity at time of function call (desired velocitys)
virtual ~moveCommand ()

Protected Attributes

TimeStamp m_now
TimeStamp m_timeStarted

Detailed Description

Definition at line 66 of file moveCommand.h.


Constructor & Destructor Documentation

Definition at line 69 of file moveCommand.h.

virtual moveCommand::~moveCommand ( ) [inline, virtual]

Definition at line 70 of file moveCommand.h.


Member Function Documentation

virtual double moveCommand::getPos ( double  TimeElapsed) [pure virtual]

returns the planned position for TimeElapsed (seconds)

Implemented in RampCommand.

virtual double moveCommand::getTotalTime ( ) [pure virtual]

returns the planned total time for the movement (in seconds)

Implemented in RampCommand.

virtual double moveCommand::getVel ( double  TimeElapsed) [pure virtual]

returns the planned velocity for TimeElapsed (seconds)

Implemented in RampCommand.

virtual bool moveCommand::isActive ( ) [inline, virtual]

returns true if the the end of the movement is not reached yet

Definition at line 104 of file moveCommand.h.

virtual double moveCommand::pos ( ) [inline, virtual]

returns the planned position at time of function call (desired position)

Definition at line 110 of file moveCommand.h.

virtual void moveCommand::start ( ) [inline, virtual]

sets the starttime for the movement to the current time

Definition at line 99 of file moveCommand.h.

virtual double moveCommand::timeRemaining ( ) [inline, virtual]

returns remaining time

Definition at line 120 of file moveCommand.h.

virtual double moveCommand::vel ( ) [inline, virtual]

returns the planned velocity at time of function call (desired velocitys)

Definition at line 115 of file moveCommand.h.


Member Data Documentation

TimeStamp moveCommand::m_now [protected]

Definition at line 124 of file moveCommand.h.

TimeStamp moveCommand::m_timeStarted [protected]

Definition at line 123 of file moveCommand.h.


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


schunk_powercube_chain
Author(s): Florian Weisshardt
autogenerated on Mon Oct 6 2014 07:31:10