RioEngine
0.1
My first attempt to create a 3D WYSIWYG Game Engine
|
#include <undoableaction.h>
Public Member Functions | |
UndoableAction (TargetType target, ValueType &value) | |
void | setTarget (TargetType target) |
TargetType | getTarget () const |
void | setValue (ValueType &value) |
ValueType | getValue () const |
virtual | ~UndoableAction () |
![]() | |
virtual void | performAction () |
virtual IUndoableAction * | getOppositeAction () |
virtual const char * | getHint () const |
![]() | |
CObject () | |
CObject (const CObject &object) | |
CObject & | operator= (const CObject &object) |
CObject * | retain () |
unsigned int | release () const |
CObject * | autorelease () |
unsigned int | retainCount () const |
bool | isValidCObject () const |
virtual | ~CObject () |
Protected Attributes | |
TargetType | m_target |
ValueType | m_value |
Additional Inherited Members | |
![]() | |
static void | safeRetain (void *pointer) |
template<class T > | |
static void | safeRelease (T *pointer) |
template<class T > | |
static void | safeReleaseArray (T *array) |
static void | safeRelease (const char *pointer) |
![]() | |
virtual void | copyValuesFromObject (const CObject &object) |
Base class for any Undoable Action, it is used to specify the Target & Value types, as well as the behaviour of the Undoable Action.
Definition at line 60 of file undoableaction.h.
|
inline |
Definition at line 62 of file undoableaction.h.
|
inlinevirtual |
Definition at line 83 of file undoableaction.h.
|
inline |
Definition at line 71 of file undoableaction.h.
|
inline |
Definition at line 79 of file undoableaction.h.
|
inline |
Definition at line 67 of file undoableaction.h.
|
inline |
Definition at line 75 of file undoableaction.h.
|
protected |
Definition at line 87 of file undoableaction.h.
|
protected |
Definition at line 88 of file undoableaction.h.