Open Reality Reference Guide
|
|
Go to the documentation of this file. 1 #ifndef __FBUNDOMANAGER_H__
2 #define __FBUNDOMANAGER_H__
43 #include <kaydaradef.h>
48 #define FBSDK_DLL K_DLLIMPORT
55 #ifdef FBSDKUseNamespace
56 namespace FBSDKNamespace {
112 void Undo(
bool pNoRedo =
false );
200 #ifdef FBSDKUseNamespace
FBPropertyEvent OnRedoCompleted
Event: A redo operation has been executed.
void Undo(bool pNoRedo=false)
Undo last action.
virtual void Undo()
Callback function for undo custom action.
virtual ~FBUndo()
Destructor.
bool Clear()
Clear the undo and redo stacks.
virtual const char * GetName()
Get Custom action name.
Access to global undo and redo functionality.
bool TransactionAddProperty(FBProperty *pProperty)
Add Transaction if transaction stack is open.
void Redo()
Redo last undone action.
bool TransactionAdd(FBUndo *pUndo, FBArrayPlug *pDepdendPlugArray=NULL)
Add Transaction if transaction stack is open.
bool TransactionAddModelTRS(FBModel *pModel)
Add Transaction if transaction stack is open.
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
FBPropertyEvent OnRedo
Event: A redo operation will be executed.
FBPropertyEvent OnUndoCompleted
Event: An undo operation has been executed.
FBPropertyEvent OnUndo
Event: An undo operation will be executed.
bool TransactionBegin(const char *pTransactionName)
Open transaction stack for adding transactions.
#define FB_DEFINE_ARRAY(DllTag, Type)
Define an array (template) for a component (discard the FB..).
#define __FBClassDeclare(Name, Parent)
For internal use only.
Property: Base property class.
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
Base Class for Custom Undoable Actions.
A template class for arrays.
FBUndoManager(HIObject pObject=NULL)
Constructor.
bool TransactionIsOpen()
Query if transaction stack is already open.
PropertyEvent: Base event class.
bool TransactionAddObjectDestroy(FBObject *pObject)
Add Transaction if transaction stack is open.
bool TransactionEnd()
Close transaction stack.
bool ActiveOperation()
Determine if an undo operation is in action.
Definition of the class FBPlug and related enums and utility functions.
#define FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
MotionBuilder SDK base class.
virtual void Redo()
Callback function for redo custom action.