dnai::interfaces::ICommand Class Referenceabstract
#include <icommand.h>
Inheritance diagram for dnai::interfaces::ICommand:

Collaboration diagram for dnai::interfaces::ICommand:

Protected Member Functions | |
virtual ~ICommand ()=default | |
virtual void execute () const =0 | |
Execute the command. More... | |
virtual void executeSave ()=0 | |
Save current state of the command for the reverse unExcute() More... | |
virtual void unExcute () const =0 | |
Reverse the execute() function. More... | |
virtual QString infos () const =0 | |
Get display info for this command. More... | |
virtual bool isSave () const =0 | |
Is the command is in a save state. More... | |
Friends | |
class commands::CommandManager | |
class commands::DebugDecorator | |
Constructor & Destructor Documentation
|
protectedvirtualdefault |
Member Function Documentation
|
protectedpure virtual |
|
protectedpure virtual |
Save current state of the command for the reverse unExcute()
Implemented in dnai::commands::GenericCommand< Args >, dnai::commands::CoreCommand, dnai::commands::MoveNodeCommand, dnai::commands::ZoomCanvasCommand, dnai::commands::Command, dnai::commands::MoveCanvasCommand, and dnai::commands::DebugDecorator.
|
protectedpure virtual |
Get display info for this command.
- Returns
- QString
Implemented in dnai::commands::GenericCommand< Args >, dnai::commands::ZoomCanvasCommand, dnai::commands::MoveCanvasCommand, dnai::commands::MoveNodeCommand, dnai::commands::Command, and dnai::commands::DebugDecorator.
|
protectedpure virtual |
Is the command is in a save state.
- Returns
- bool
Implemented in dnai::commands::GenericCommand< Args >, dnai::commands::Command, and dnai::commands::DebugDecorator.
|
protectedpure virtual |
Friends And Related Function Documentation
|
friend |
|
friend |
The documentation for this class was generated from the following file:
- Gui/app/include/dnai/interfaces/icommand.h