Open 3D Engine LyShine Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
CUndoTrackEventAdd Class Reference

#include <UiAnimViewUndo.h>

Inherits CAbstractUndoTrackEventTransaction.

Public Member Functions

 CUndoTrackEventAdd (CUiAnimViewSequence *pSequence, const QString &eventName)
 
- Public Member Functions inherited from CAbstractUndoTrackEventTransaction
 CAbstractUndoTrackEventTransaction (CUiAnimViewSequence *pSequence, const QString &eventName)
 
- Public Member Functions inherited from UiAnimUndoObject
virtual void Release ()
 Called to delete undo object.
 
virtual int GetSize ()=0
 Return size of this Undo object.
 
virtual const char * GetDescription ()=0
 Return description of this Undo object.
 
virtual void Undo (bool bUndo=true)=0
 
virtual void Redo ()=0
 Redo undone changes on object.
 
virtual const char * GetObjectName ()
 
virtual bool IsChanged (unsigned int &compareValue) const
 

Protected Member Functions

int GetSize () override
 Return size of this Undo object.
 
const char * GetDescription () override
 Return description of this Undo object.
 
void Undo (bool bUndo) override
 
void Redo () override
 Redo undone changes on object.
 

Additional Inherited Members

- Protected Attributes inherited from CAbstractUndoTrackEventTransaction
CUiAnimViewSequencem_pSequence
 
QString m_eventName
 

Detailed Description

Undo for adding a track event

Member Function Documentation

◆ GetDescription()

const char * CUndoTrackEventAdd::GetDescription ( )
inlineoverrideprotectedvirtual

Return description of this Undo object.

Implements UiAnimUndoObject.

◆ GetSize()

int CUndoTrackEventAdd::GetSize ( )
inlineoverrideprotectedvirtual

Return size of this Undo object.

Implements UiAnimUndoObject.

◆ Redo()

void CUndoTrackEventAdd::Redo ( )
overrideprotectedvirtual

Redo undone changes on object.

Implements UiAnimUndoObject.

◆ Undo()

void CUndoTrackEventAdd::Undo ( bool  bUndo)
overrideprotectedvirtual

Undo this object.

Parameters
bUndoIf true this operation called in response to Undo operation.

Implements UiAnimUndoObject.


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