#include <Command.h>
Inherited by Document::AddLayerCommand, Document::RemoveLayerCommand, ImageModel::ChangeImageCommand, Layer::AddMeasurementRectCommand, Layer::DeleteMeasurementRectCommand, MacroCommand, MainWindowBase::AddPaneCommand, MainWindowBase::RemovePaneCommand, PropertyContainer::SetPropertyCommand, SparseModel< PointType >::AddPointCommand, SparseModel< PointType >::DeletePointCommand, SparseModel< PointType >::RelabelCommand, and ViewManager::SetSelectionCommand.
Inheritance diagram for Command:

Definition at line 22 of file Command.h.
Public Member Functions | |
| virtual | ~Command () |
| virtual void | execute ()=0 |
| virtual void | unexecute ()=0 |
| virtual QString | getName () const=0 |
| virtual void Command::execute | ( | ) | [pure virtual] |
Implemented in MacroCommand, PropertyContainer::SetPropertyCommand, ImageModel::ChangeImageCommand, SparseModel< PointType >::AddPointCommand, SparseModel< PointType >::DeletePointCommand, SparseModel< PointType >::RelabelCommand, Document::AddLayerCommand, Document::RemoveLayerCommand, MainWindowBase::AddPaneCommand, MainWindowBase::RemovePaneCommand, Layer::AddMeasurementRectCommand, Layer::DeleteMeasurementRectCommand, and ViewManager::SetSelectionCommand.
Referenced by SparseModel< PointType >::EditCommand::addCommand(), CommandHistory::addCommand(), CommandHistory::addToBundle(), CommandHistory::addToCompound(), and CommandHistory::redo().
| virtual void Command::unexecute | ( | ) | [pure virtual] |
Implemented in MacroCommand, PropertyContainer::SetPropertyCommand, ImageModel::ChangeImageCommand, SparseModel< PointType >::AddPointCommand, SparseModel< PointType >::DeletePointCommand, SparseModel< PointType >::RelabelCommand, Document::AddLayerCommand, Document::RemoveLayerCommand, MainWindowBase::AddPaneCommand, MainWindowBase::RemovePaneCommand, Layer::AddMeasurementRectCommand, Layer::DeleteMeasurementRectCommand, and ViewManager::SetSelectionCommand.
Referenced by CommandHistory::undo().
| virtual QString Command::getName | ( | ) | const [pure virtual] |
Implemented in MacroCommand, PropertyContainer::SetPropertyCommand, ImageModel::ChangeImageCommand, SparseModel< PointType >::AddPointCommand, SparseModel< PointType >::DeletePointCommand, SparseModel< PointType >::RelabelCommand, Document::AddLayerCommand, Document::RemoveLayerCommand, MainWindowBase::AddPaneCommand, MainWindowBase::RemovePaneCommand, Layer::AddMeasurementRectCommand, Layer::DeleteMeasurementRectCommand, and ViewManager::SetSelectionCommand.
Referenced by CommandHistory::addToBundle().
1.5.1