Navigation
API > API/Plugins > API/Plugins/AudioInsights
| Name | FAudioCachedMessageChunk |
| Type | class |
| Header File | /Engine/Plugins/AudioInsights/Source/AudioInsights/Public/Cache/AudioCachedMessageChunk.h |
| Include Path | #include "Cache/AudioCachedMessageChunk.h" |
Syntax
class FAudioCachedMessageChunk
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAudioCachedMessageChunk
(
TraceServices::FSlabAllocator& InAllocator, |
Cache/AudioCachedMessageChunk.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FAudioCachedMessageChunk() |
Cache/AudioCachedMessageChunk.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| TCachePagedArray | TraceServices::TPagedArray< TSharedPtr< class IAudioCachedMessage > > | Cache/AudioCachedMessageChunk.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| INVALID_TIMESTAMP | double | Cache/AudioCachedMessageChunk.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Allocator | TraceServices::FSlabAllocator & | Cache/AudioCachedMessageChunk.h | ||
| CurrentChunkSize | uint32 | Cache/AudioCachedMessageChunk.h | ||
| MaxChunkSize | const uint32 | Cache/AudioCachedMessageChunk.h | ||
| Messages | TMap< FName, TSharedPtr< TCachePagedArray > > | Cache/AudioCachedMessageChunk.h | ||
| RangeEndTimestamp | double | Cache/AudioCachedMessageChunk.h | ||
| RangeStartTimestamp | double | Cache/AudioCachedMessageChunk.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddMessageToChunk
(
const TSharedPtr< class IAudioCachedMessage > Message |
Cache/AudioCachedMessageChunk.h | ||
void ClearChunk() |
Cache/AudioCachedMessageChunk.h | ||
T * FindClosestMessage
(
const FName& MessageID, |
Finds the closest message to a specific timestamp Will iterate backwards from param Timestamp until the first message of type MessageID is found Param ID can be overriden to filter the results further | Cache/AudioCachedMessageChunk.h | |
const TMap< FName, TSharedPtr< TCachePagedArray > > & GetAllChunkMessages() |
Cache/AudioCachedMessageChunk.h | ||
double GetChunkTimeRangeEnd() |
Cache/AudioCachedMessageChunk.h | ||
double GetChunkTimeRangeStart() |
Cache/AudioCachedMessageChunk.h | ||
uint32 GetCurrentChunkSize() |
Cache/AudioCachedMessageChunk.h | ||
bool HasAnyData() |
Cache/AudioCachedMessageChunk.h | ||
bool IsChunkFull() |
Cache/AudioCachedMessageChunk.h | ||
bool TimestampIsInChunkRange
(
const double Timestamp |
Cache/AudioCachedMessageChunk.h |