20#ifndef SDFORMAT_EDITOR_COMMAND_INTERFACE_HH_
21#define SDFORMAT_EDITOR_COMMAND_INTERFACE_HH_
60 public:
virtual bool IsThreaded(
bool& prevent_user_input) = 0;
The command class encapsulates the interactions between the various interfaces of the SDFormat Editor...
Definition command_interface.h:29
virtual bool ExecuteRedo()=0
Execution of the redo command. Must be implemented as applicable by the derived class.
virtual bool IsThreaded(bool &prevent_user_input)=0
Indicates if this command should be run in a thread.
virtual bool ChangesProgramStateIrreversibly()=0
Indicates if this command is an irreversible state-changing command.
virtual bool ExecuteUndo()=0
Execution of the undo command. Must be implemented as applicable by the derived class.
virtual bool IsRedoable()=0
Redo functionality of the command.
virtual bool IsUndoable()=0
Undo functionality of the command.
virtual bool Execute()=0
Execution of the command. Must be implemented as applicable by the derived class.