| UObjectBase
|
Module |
|
Header |
/Engine/Source/Editor/UnrealEd/Classes/Editor/TransBuffer.h |
Include |
#include "Editor/TransBuffer.h" |
class UTransBuffer : public UTransactor
Transaction tracking system, manages the undo and redo buffer.
Name | Description | ||
---|---|---|---|
|
ActiveCount |
Number of actions in the current transaction |
|
|
ActiveRecordCounts |
The cached count of the number of object records each time a transaction is begun |
|
|
MaxMemory |
Maximum number of bytes the transaction buffer is allowed to occupy |
|
|
ResetReason |
Text describing the reason that the undo buffer is empty |
|
|
UndoBarrierStack |
Undo barrier stack |
|
|
UndoBuffer |
Variables. |
|
|
UndoCount |
Number of transactions that have been undone, and are eligible to be redone |
Name | Description | ||
---|---|---|---|
|
AddReferencedObjects ( |
||
|
BeginInternal |
Implementation of the begin function. Used to create a specific transaction type |
|
|
CheckState() |
Validates the state of the transaction buffer. |
|
|
Initialize ( |
Constructor. |
|
|
UTransBuffer... |
OnBeforeRedoUndo() |
|
|
UTransBuffer... |
OnRedo() |
|
|
UTransBuffer... |
OnTransactionStateChanged() |
|
|
UTransBuffer... |
OnUndo() |
|
|
UTransBuffer... |
OnUndoBufferChanged() |
Name | Description | ||
---|---|---|---|
|
Begin |
Begins a new undo transaction. |
|
|
Cancel ( |
Cancels the current transaction, no longer capture actions to be placed in the undo buffer. |
|
|
CanRedo ( |
Determines whether the redo option should be selectable. |
|
|
CanUndo ( |
Determines whether the undo option should be selectable. |
|
|
ClearUndoBarriers() |
Clears all undo barriers. |
|
|
ContainsPieObjects() |
||
|
DisableObjectSerialization() |
Disables the transaction buffer from serializing the set of objects it references. |
|
|
EnableObjectSerialization() |
Enables the transaction buffer to serialize the set of objects it references. |
|
|
End() |
Attempts to close an undo transaction. Only successful if the transaction's action counter is 1. |
|
|
FindTransactionIndex ( |
Gets the transaction queue index from its TransactionId. |
|
|
GetQueueLength() |
Gets the current length of the transaction queue. |
|
|
FTransaction... |
GetRedoContext() |
Returns the description of the redo action that will be performed next. |
|
const FTrans... |
GetTransaction ( |
Gets the transaction at the specified queue index. |
|
FTransaction... |
GetUndoContext ( |
Returns the description of the undo action that will be performed next. |
|
GetUndoCount() |
Gets the number of transactions that were undone and can be redone. |
|
|
GetUndoSize() |
Determines the amount of data currently stored by the transaction buffer. |
|
|
IsActive() |
Returns whether there are any active actions; i.e. whether actions are currently being captured into the undo buffer. |
|
|
IsObjectInTransationBuffer ( |
Checks if a specific object is referenced by the transaction buffer |
|
|
IsObjectSerializationEnabled() |
Wrapper for checking if the transaction buffer is allowed to serialize object references. |
|
|
IsObjectTransacting ( |
Checks if a specific object is in the transaction currently underway |
|
|
Redo() |
Executes an redo transaction, redoing all actions contained by that transaction. |
|
|
RemoveUndoBarrier() |
Removes the last set undo barrier from the transaction buffer. |
|
|
Reset ( |
Resets the entire undo buffer; deletes all undo transactions. |
|
|
SetPrimaryUndoObject ( |
Set passed object as the primary context object for transactions |
|
|
SetUndoBarrier() |
Sets an undo barrier at the current point in the transaction buffer. |
|
|
Undo ( |
Executes an undo transaction, undoing all actions contained by that transaction. |
Name |
Description |
|
---|---|---|
|
FOnTransactorBeforeRedoUndo |
Gets an event delegate that is executed when a redo operation is being attempted. |
|
FOnTransactorRedo |
Gets an event delegate that is executed when a redo operation is being attempted. |
|
FOnTransactorTransactionStateChanged |
Gets an event delegate that is executed when a transaction state changes. |
|
FOnTransactorUndo |
Gets an event delegate that is executed when a undo operation is being attempted. |
|
FOnTransactorUndoBufferChanged |
Gets an event delegate that is executed when the undo buffer changed. |