Navigation
API > API/Plugins > API/Plugins/AudioInsights
Helper class that manages the cache container The cache may or may not be limited in size based on the bLimitCacheSize flag
- In Editor, the cache size is always limited, behaving like a circular buffer
- In Standalone, when connected to a live session (either via direct or live trace), the cache size is limited, behaving like a circular buffer
- In Standalone, when loading in a .utrace file, the cache will grow to hold all of the trace file data in memory
| Name | FAudioInsightsCache |
| Type | class |
| Header File | /Engine/Plugins/AudioInsights/Source/AudioInsights/Public/Cache/AudioInsightsCacheManager.h |
| Include Path | #include "Cache/AudioInsightsCacheManager.h" |
Syntax
class FAudioInsightsCache
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAudioInsightsCache() |
Cache/AudioInsightsCacheManager.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FAudioInsightsCache() |
Cache/AudioInsightsCacheManager.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bLimitCacheSize | bool | Cache/AudioInsightsCacheManager.h | ||
| Cache | TArray< TUniquePtr< FAudioCachedMessageChunk > > | Cache/AudioInsightsCacheManager.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
uint32 Capacity() |
Cache/AudioInsightsCacheManager.h | ||
uint32 GetNextIndex
(
uint32 ReadIndex |
Cache/AudioInsightsCacheManager.h | ||
uint32 GetPreviousIndex
(
uint32 ReadIndex |
Cache/AudioInsightsCacheManager.h | ||
void ReserveNewChunks
(
TraceServices::FSlabAllocator& Allocator, |
Cache/AudioInsightsCacheManager.h | ||
void ResetCache
(
TraceServices::FSlabAllocator& Allocator, |
Cache/AudioInsightsCacheManager.h |
Public Virtual
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAudioCachedMessageChunk & operator[]
(
uint32 Index |
Cache/AudioInsightsCacheManager.h | ||
const FAudioCachedMessageChunk & operator[]
(
uint32 Index |
Cache/AudioInsightsCacheManager.h |