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 (Sollposition)
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 (Sollgeschwindigkeit)
virtual ~moveCommand ()

Protected Attributes

TimeStamp m_now
TimeStamp m_timeStarted

Detailed Description

Definition at line 60 of file moveCommand.h.


Constructor & Destructor Documentation

moveCommand::moveCommand (  )  [inline]

Definition at line 61 of file moveCommand.h.

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

Definition at line 62 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 86 of file moveCommand.h.

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

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

Definition at line 89 of file moveCommand.h.

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

sets the starttime for the movement to the current time

Definition at line 83 of file moveCommand.h.

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

returns remaining time

Definition at line 95 of file moveCommand.h.

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

returns the planned velocity at time of function call (Sollgeschwindigkeit)

Definition at line 92 of file moveCommand.h.


Member Data Documentation

TimeStamp moveCommand::m_now [protected]

Definition at line 99 of file moveCommand.h.

TimeStamp moveCommand::m_timeStarted [protected]

Definition at line 98 of file moveCommand.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


cob_powercube_chain
Author(s): Florian Weisshardt
autogenerated on Fri Jan 11 09:14:23 2013