Interface for a command.
More...
#include <Command.h>
|
enum class | CommandState { WasDone
, WasUndone
} |
|
|
bool | IsUndoable () const |
|
bool | HasChildActions () const |
|
bool | HasModifiedDocument () const |
|
virtual const plRTTI * | GetDynamicRTTI () const |
|
bool | IsInstanceOf (const plRTTI *pType) const |
| Returns whether the type of this instance is of the given type or derived from it.
|
|
template<typename T > |
PL_ALWAYS_INLINE bool | IsInstanceOf () const |
| Returns whether the type of this instance is of the given type or derived from it.
|
|
|
class | plCommandHistory |
|
class | plCommandTransaction |
|
|
static const plRTTI * | 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 plCommandHistory is the only class capable of executing commands.
The documentation for this class was generated from the following files:
- Code/Tools/Libs/ToolsFoundation/Command/Command.h
- Code/Tools/Libs/ToolsFoundation/Command/Implementation/Command.cpp