CCommandSequence Class Reference

Motions Command: Container. More...

#include <commands.h>

Inheritance diagram for CCommandSequence:

CCommand CCommandStop List of all members.

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

Detailed Description

Motions Command: Container.

Executes several motions stored in global motion buffer.

See also:
CMotionContainer.motions


Constructor & Destructor Documentation

CCommandSequence::CCommandSequence ( unsigned int  size,
bool  sleep,
CMotionContainer motion,
bool  addImmediateMotion = false 
)

CCommandSequence::~CCommandSequence (  ) 


Member Function Documentation

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]

Reimplemented from CCommand.

Reimplemented in CCommandStop.

bool CCommandSequence::hasFinished (  )  [virtual]

Reimplemented from CCommand.


Member Data Documentation

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]

bool CCommandSequence::addImmediateMotion


The documentation for this class was generated from the following files:
Generated on Mon Apr 21 23:27:43 2008 for BioloidControl by  doxygen 1.5.2