Open 3D Engine AzToolsFramework 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.
AzToolsFramework::UndoSystem::UndoCacheInterface Class Referenceabstract

Inherited by AzToolsFramework::PreemptiveUndoCache [private], and AzToolsFramework::Prefab::PrefabUndoCache [private].

Public Member Functions

 AZ_RTTI (UndoCacheInterface, "{CC1E4411-A045-4906-AD39-2E0445B5EADA}")
 
virtual void UpdateCache (const AZ::EntityId &entityId)=0
 Store the new entity state or replace the old state.
 
virtual void PurgeCache (const AZ::EntityId &entityId)=0
 Remove the cache line for the entity, if there is one.
 
virtual void Clear ()=0
 Clear the entire cache.
 
virtual void Validate (const AZ::EntityId &entityId)=0
 Verify if any changes to the entity was not correctly notified.
 

Member Function Documentation

◆ Clear()

virtual void AzToolsFramework::UndoSystem::UndoCacheInterface::Clear ( )
pure virtual

◆ PurgeCache()

virtual void AzToolsFramework::UndoSystem::UndoCacheInterface::PurgeCache ( const AZ::EntityId &  entityId)
pure virtual

Remove the cache line for the entity, if there is one.

Implemented in AzToolsFramework::PreemptiveUndoCache, and AzToolsFramework::Prefab::PrefabUndoCache.

◆ UpdateCache()

virtual void AzToolsFramework::UndoSystem::UndoCacheInterface::UpdateCache ( const AZ::EntityId &  entityId)
pure virtual

Store the new entity state or replace the old state.

Implemented in AzToolsFramework::PreemptiveUndoCache, and AzToolsFramework::Prefab::PrefabUndoCache.

◆ Validate()

virtual void AzToolsFramework::UndoSystem::UndoCacheInterface::Validate ( const AZ::EntityId &  entityId)
pure virtual

Verify if any changes to the entity was not correctly notified.

Implemented in AzToolsFramework::PreemptiveUndoCache, and AzToolsFramework::Prefab::PrefabUndoCache.


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