CCommandContainer Class Reference

Motion Command Aggregation Class. More...

#include <commands.h>

Inheritance diagram for CCommandContainer:

CCommand List of all members.

Public Member Functions

 CCommandContainer (unsigned int size, CMotionContainer *motion)
 ~CCommandContainer ()
int execute (CCommand *control=NULL)
bool hasFinished ()
virtual void add (unsigned int id, CCommand *cmd)

Protected Attributes

CCommand ** list
int listCount
int listCurrent
bool done

Detailed Description

Motion Command Aggregation Class.

Aggregate class, i.e. behaves like a normal command but stores several Motion Commands, executes them and signals to caller if all commands have finished.


Constructor & Destructor Documentation

CCommandContainer::CCommandContainer ( unsigned int  size,
CMotionContainer motion 
)

CCommandContainer::~CCommandContainer (  ) 


Member Function Documentation

int CCommandContainer::execute ( CCommand control = NULL  )  [virtual]

Reimplemented from CCommand.

bool CCommandContainer::hasFinished (  )  [virtual]

Reimplemented from CCommand.

void CCommandContainer::add ( unsigned int  id,
CCommand cmd 
) [virtual]


Member Data Documentation

CCommand** CCommandContainer::list [protected]

int CCommandContainer::listCount [protected]

int CCommandContainer::listCurrent [protected]

bool CCommandContainer::done [protected]


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