dnai::interfaces::ICommand Class Referenceabstract

#include <icommand.h>

Inheritance diagram for dnai::interfaces::ICommand:
Inheritance graph
Collaboration diagram for dnai::interfaces::ICommand:
Collaboration graph

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

virtual dnai::interfaces::ICommand::~ICommand ( )
protectedvirtualdefault

Member Function Documentation

virtual void dnai::interfaces::ICommand::executeSave ( )
protectedpure virtual
virtual QString dnai::interfaces::ICommand::infos ( ) const
protectedpure virtual
virtual bool dnai::interfaces::ICommand::isSave ( ) const
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.

Friends And Related Function Documentation

friend class commands::CommandManager
friend
friend class commands::DebugDecorator
friend

The documentation for this class was generated from the following file: