Interface for a command.
More...
#include <Command.h>
|
enum class | CommandState { WasDone
, WasUndone
} |
|
|
bool | IsUndoable () const |
|
bool | HasChildActions () const |
|
bool | HasModifiedDocument () const |
|
virtual const ezRTTI * | GetDynamicRTTI () const |
|
bool | IsInstanceOf (const ezRTTI *pType) const |
| Returns whether the type of this instance is of the given type or derived from it.
|
|
template<typename T > |
EZ_ALWAYS_INLINE bool | IsInstanceOf () const |
| Returns whether the type of this instance is of the given type or derived from it.
|
|
|
class | ezCommandHistory |
|
class | ezCommandTransaction |
|
|
static const ezRTTI * | GetStaticRTTI () |
|
Interface for a command.
Commands are the only objects that have non-const access to any data structures (contexts, documents etc.). Thus, any modification must go through a command and the ezCommandHistory is the only class capable of executing commands.
The documentation for this class was generated from the following files:
- /home/runner/work/ezEngine/ezEngine/Code/Tools/Libs/ToolsFoundation/Command/Command.h
- /home/runner/work/ezEngine/ezEngine/Code/Tools/Libs/ToolsFoundation/Command/Implementation/Command.cpp