#include <commands.h>
Inheritance diagram for CCommandSequence:
Public Member Functions | |
CCommandSequence (unsigned int size, bool sleep, CMotionContainer *motion, bool addImmediateMotion=false) | |
~CCommandSequence () | |
void | setSleep (bool sleep) |
void | setId (unsigned int index, unsigned int id) |
void | setParam (unsigned int index, unsigned int value) |
int | execute (CCommand *control=NULL) |
bool | hasFinished () |
Public Attributes | |
bool | addImmediateMotion |
Protected Attributes | |
int | params [COMMAND_PARAM_COUNT] |
int * | seqIds |
int | seqCount |
bool | done |
int | access |
bool | doSleep |
unsigned long | startTime |
Executes several motions stored in global motion buffer.
CCommandSequence::CCommandSequence | ( | unsigned int | size, | |
bool | sleep, | |||
CMotionContainer * | motion, | |||
bool | addImmediateMotion = false | |||
) |
CCommandSequence::~CCommandSequence | ( | ) |
void CCommandSequence::setSleep | ( | bool | sleep | ) |
void CCommandSequence::setId | ( | unsigned int | index, | |
unsigned int | id | |||
) |
void CCommandSequence::setParam | ( | unsigned int | index, | |
unsigned int | value | |||
) |
int CCommandSequence::execute | ( | CCommand * | control = NULL |
) | [virtual] |
bool CCommandSequence::hasFinished | ( | ) | [virtual] |
Reimplemented from CCommand.
int CCommandSequence::params[COMMAND_PARAM_COUNT] [protected] |
int* CCommandSequence::seqIds [protected] |
int CCommandSequence::seqCount [protected] |
bool CCommandSequence::done [protected] |
int CCommandSequence::access [protected] |
bool CCommandSequence::doSleep [protected] |
unsigned long CCommandSequence::startTime [protected] |