#include <command.h>
Inheritance diagram for MacroCmd:

Public Member Functions | |
| MacroCmd (FrameBuffer *pFB) | |
| MacroCmd (FrameBuffer *pFB, std::string macName) | |
| MacroCmd & | operator<< (Cmd *pCmd) |
| virtual void | exec () |
| virtual void | unExec () |
| virtual std::string | name () |
| Command identification. This will appear in config file. | |
| virtual std::string | args () |
| Command export to text string. Needed for macro saving. | |
| void | name (std::string name) |
| void | save () |
Static Public Attributes | |
| static const char * | szCmdName |
| Command id string. | |
Definition at line 126 of file command.h.
| MacroCmd::MacroCmd | ( | FrameBuffer * | pFB | ) | [inline] |
| MacroCmd::MacroCmd | ( | FrameBuffer * | pFB, | |
| std::string | macName | |||
| ) |
Read macro from configuration file.
| pFB | Pointer to frame buffer to work with. | |
| macName | Macro name. |
| virtual void MacroCmd::exec | ( | ) | [virtual] |
Execute macro command. This means all elementary commands are executed.
Implements Cmd.
| virtual void MacroCmd::unExec | ( | ) | [virtual] |
Undo macro command. This means all elementary commands are unexecuted in reverse order.
Implements Cmd.
| virtual std::string MacroCmd::name | ( | ) | [inline, virtual] |
| virtual std::string MacroCmd::args | ( | ) | [inline, virtual] |
| void MacroCmd::name | ( | std::string | name | ) | [inline] |
| void MacroCmd::save | ( | ) |
Save macro to configuration file.
const char* MacroCmd::szCmdName [static] |
1.5.2