Public Member Functions | Protected Attributes | List of all members
moveCommand Class Referenceabstract

#include <moveCommand.h>

Inheritance diagram for moveCommand:
Inheritance graph
[legend]

Public Member Functions

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

Protected Attributes

TimeStamp m_now
 
TimeStamp m_timeStarted
 

Detailed Description

Definition at line 24 of file moveCommand.h.

Constructor & Destructor Documentation

moveCommand::moveCommand ( )
inline

Definition at line 27 of file moveCommand.h.

virtual moveCommand::~moveCommand ( )
inlinevirtual

Definition at line 28 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 ( )
inlinevirtual

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

Definition at line 65 of file moveCommand.h.

virtual double moveCommand::pos ( )
inlinevirtual

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

Definition at line 75 of file moveCommand.h.

virtual void moveCommand::start ( )
inlinevirtual

sets the starttime for the movement to the current time

Definition at line 57 of file moveCommand.h.

virtual double moveCommand::timeRemaining ( )
inlinevirtual

returns remaining time

Definition at line 93 of file moveCommand.h.

virtual double moveCommand::vel ( )
inlinevirtual

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

Definition at line 84 of file moveCommand.h.

Member Data Documentation

TimeStamp moveCommand::m_now
protected

Definition at line 101 of file moveCommand.h.

TimeStamp moveCommand::m_timeStarted
protected

Definition at line 100 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 Nov 25 2019 03:48:21