#include <commands.h>
Inheritance diagram for CCommand:
Public Member Functions | |
CCommand () | |
CCommand (CMotionContainer *m) | |
virtual | ~CCommand () |
virtual int | execute (CCommand *control=NULL) |
virtual bool | hasFinished () |
Protected Attributes | |
CMotionContainer * | motion |
High-level robot control command: f.e. Walk, TurnRight and Stop.
CCommand::CCommand | ( | ) | [inline] |
CCommand::CCommand | ( | CMotionContainer * | m | ) | [inline] |
virtual CCommand::~CCommand | ( | ) | [inline, virtual] |
virtual int CCommand::execute | ( | CCommand * | control = NULL |
) | [inline, virtual] |
Reimplemented in CCommandContainer, CCommandSequence, and CCommandStop.
virtual bool CCommand::hasFinished | ( | ) | [inline, virtual] |
Reimplemented in CCommandContainer, and CCommandSequence.
CMotionContainer* CCommand::motion [protected] |