#include <Command.h>
Inheritance diagram for ot::Command:


Public Member Functions | |
| Command (TtsString &name_, TtsString &cmdclass_, SpeechControlSource &parentSrc_, bool undoable_=false, bool extendable_=false) | |
| virtual bool | redo () |
| virtual bool | undo () |
| virtual bool | combine (Command &cmd) |
| virtual bool | extend () |
| bool | isCombinable (Command &cmd) |
| bool | isExtendable () |
| bool | isUndoable () |
| TtsString & | getName () |
| TtsString & | getCmdClass () |
| TtsString & | getFailureMsg () |
| TtsString & | getSuccessMsg () |
Static Public Member Functions | |
| static Command * | createCommand (std::string cmdName, SpeechControlSource &parentSrc) |
Protected Member Functions | |
| void | setEvent (Event &newEvent) |
| Event & | getEvent () |
| Command * | getLastCmd () |
| Command * | getUndoCmd () |
| Command * | getRedoCmd () |
Protected Attributes | |
| SpeechControlSource & | parentSrc |
| TtsString | name |
| TtsString | cmdclass |
| TtsString | failureMsg |
| TtsString | successMsg |
| bool | extendable |
| bool | undoable |
Static Protected Attributes | |
| static double | scale |
|
||||||||||||||||||||||||
|
|
|
|
Reimplemented in ot::CmdUpMovement, ot::CmdDownMovement, ot::CmdRightMovement, ot::CmdLeftMovement, ot::CmdForwardMovement, ot::CmdBackwardMovement, and ot::CmdRotation. |
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.6