|
svcore
1.9
|
#include <Command.h>


Public Member Functions | |
| MacroCommand (QString name) | |
| virtual | ~MacroCommand () |
| virtual void | addCommand (Command *command) |
| virtual void | deleteCommand (Command *command) |
| virtual bool | haveCommands () const |
| virtual void | execute () |
| virtual void | unexecute () |
| virtual QString | getName () const |
| virtual void | setName (QString name) |
Protected Attributes | |
| QString | m_name |
| std::vector< Command * > | m_commands |
| MacroCommand::MacroCommand | ( | QString | name | ) |
Definition at line 19 of file Command.cpp.
| MacroCommand::~MacroCommand | ( | ) | [virtual] |
Definition at line 24 of file Command.cpp.
References m_commands.
| void MacroCommand::addCommand | ( | Command * | command | ) | [virtual] |
Reimplemented in SparseModel< PointType >::EditCommand.
Definition at line 32 of file Command.cpp.
References m_commands.
Referenced by SparseModel< PointType >::EditCommand::addCommand().
| void MacroCommand::deleteCommand | ( | Command * | command | ) | [virtual] |
Definition at line 38 of file Command.cpp.
References m_commands.
| bool MacroCommand::haveCommands | ( | ) | const [virtual] |
Definition at line 52 of file Command.cpp.
References m_commands.
| void MacroCommand::execute | ( | ) | [virtual] |
| void MacroCommand::unexecute | ( | ) | [virtual] |
| QString MacroCommand::getName | ( | ) | const [virtual] |
Implements Command.
Reimplemented in BundleCommand.
Definition at line 74 of file Command.cpp.
References m_name.
| void MacroCommand::setName | ( | QString | name | ) | [virtual] |
Definition at line 80 of file Command.cpp.
References m_name.
QString MacroCommand::m_name [protected] |
Definition at line 52 of file Command.h.
Referenced by getName(), BundleCommand::getName(), and setName().
std::vector<Command *> MacroCommand::m_commands [protected] |
Definition at line 53 of file Command.h.
Referenced by addCommand(), deleteCommand(), execute(), BundleCommand::getName(), haveCommands(), unexecute(), and ~MacroCommand().