RioEngine  0.1
My first attempt to create a 3D WYSIWYG Game Engine
UndoableActionsManager Class Reference

#include <undoableactionsmanager.h>

Inheritance diagram for UndoableActionsManager:
CObject

Public Member Functions

 UndoableActionsManager ()
 
unsigned int getUndoActionsCount ()
 
unsigned int getRedoActionsCount ()
 
bool hasUndoActions ()
 
bool hasRedoActions ()
 
bool performUndo ()
 
bool performRedo ()
 
const char * getHintForCurrentUndoAction ()
 
const char * getHintForCurrentRedoAction ()
 
void pushUndoAction (IUndoableAction *undo_action, bool clear_redo_stack)
 
void pushUndoAction (IUndoableAction *action)
 
void pushRedoAction (IUndoableAction *action)
 
void clear ()
 
 ~UndoableActionsManager ()
 

Additional Inherited Members

- Protected Member Functions inherited from CObject
virtual void copyValuesFromObject (const CObject &object)
 
 CObject ()
 
 CObject (const CObject &object)
 
CObjectoperator= (const CObject &object)
 
CObjectretain ()
 
unsigned int release () const
 
CObjectautorelease ()
 
unsigned int retainCount () const
 
bool isValidCObject () const
 
virtual ~CObject ()
 
- Static Protected Member Functions inherited from CObject
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)
 

Detailed Description

Keeps track of every change made by the user in the editor.

Definition at line 44 of file undoableactionsmanager.h.

Constructor & Destructor Documentation

UndoableActionsManager::UndoableActionsManager ( )

Definition at line 36 of file undoableactionsmanager.cpp.

UndoableActionsManager::~UndoableActionsManager ( )

Definition at line 172 of file undoableactionsmanager.cpp.

Member Function Documentation

void UndoableActionsManager::clear ( )

Definition at line 162 of file undoableactionsmanager.cpp.

const char * UndoableActionsManager::getHintForCurrentRedoAction ( )

Definition at line 127 of file undoableactionsmanager.cpp.

const char * UndoableActionsManager::getHintForCurrentUndoAction ( )

Definition at line 116 of file undoableactionsmanager.cpp.

unsigned int UndoableActionsManager::getRedoActionsCount ( )

Definition at line 49 of file undoableactionsmanager.cpp.

unsigned int UndoableActionsManager::getUndoActionsCount ( )

Definition at line 43 of file undoableactionsmanager.cpp.

bool UndoableActionsManager::hasRedoActions ( )

Definition at line 61 of file undoableactionsmanager.cpp.

bool UndoableActionsManager::hasUndoActions ( )

Definition at line 55 of file undoableactionsmanager.cpp.

bool UndoableActionsManager::performRedo ( )

Definition at line 92 of file undoableactionsmanager.cpp.

bool UndoableActionsManager::performUndo ( )

Definition at line 67 of file undoableactionsmanager.cpp.

void UndoableActionsManager::pushRedoAction ( IUndoableAction action)

Definition at line 155 of file undoableactionsmanager.cpp.

void UndoableActionsManager::pushUndoAction ( IUndoableAction undo_action,
bool  clear_redo_stack 
)

Definition at line 138 of file undoableactionsmanager.cpp.

void UndoableActionsManager::pushUndoAction ( IUndoableAction action)

Definition at line 149 of file undoableactionsmanager.cpp.


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