Inherits AzToolsFramework::UndoSystem::UndoCacheInterface.
|
typedef AZStd::vector< AZ::u8 > | CacheLineType |
|
|
| AZ_CLASS_ALLOCATOR (PreemptiveUndoCache, AZ::SystemAllocator) |
|
void | RegisterToUndoCacheInterface () |
|
void | UpdateCache (const AZ::EntityId &entityId) override |
| Store the new entity state or replace the old state.
|
|
void | PurgeCache (const AZ::EntityId &entityId) override |
| Remove the cache line for the entity, if there is one.
|
|
void | Clear () override |
| Clear the entire cache.
|
|
void | Validate (const AZ::EntityId &entityId) override |
| Verify if any changes to the entity was not correctly notified.
|
|
const CacheLineType & | Retrieve (const AZ::EntityId &entityId) |
|
|
typedef AZStd::unordered_map< AZ::EntityId, CacheLineType > | EntityStateMap |
|
|
EntityStateMap | m_EntityStateMap |
|
CacheLineType | m_Empty |
|
◆ Clear()
void AzToolsFramework::PreemptiveUndoCache::Clear |
( |
| ) |
|
|
overridevirtual |
◆ PurgeCache()
void AzToolsFramework::PreemptiveUndoCache::PurgeCache |
( |
const AZ::EntityId & |
entityId | ) |
|
|
overridevirtual |
◆ UpdateCache()
void AzToolsFramework::PreemptiveUndoCache::UpdateCache |
( |
const AZ::EntityId & |
entityId | ) |
|
|
overridevirtual |
◆ Validate()
void AzToolsFramework::PreemptiveUndoCache::Validate |
( |
const AZ::EntityId & |
entityId | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following file:
- Code/Framework/AzToolsFramework/AzToolsFramework/Commands/PreemptiveUndoCache.h