| FJsonSerializable
|
Module |
|
Header |
/Engine/Source/Runtime/InstallBundleManager/Public/InstallBundleUtils.h |
Include |
#include "InstallBundleUtils.h" |
class FPersistentStatsBase : public FJsonSerializable
Both ContentRequests and Individual Bundles use this to track data respective to themselves. Keeps us from having to write serialization / loading data for both cases that would be the same
Name | Description | ||
---|---|---|---|
|
AnalyticsSessionID |
||
|
bHasLoadedFromDisk |
||
|
bIsActive |
We don't serialize these as they are tracking behavior and not stats. |
|
|
bIsDirty |
||
|
CountStatMap |
||
|
TimingStatsMap |
Serialized Stat Data. |
Name | Description | |
---|---|---|
|
FPersistentStatsBase() |
Protected so we can only construct the derived versions of this Base class. |
Name | Description | |
---|---|---|
|
~FPersistentStatsBase() |
Name | Description | ||
---|---|---|---|
|
const FStrin... |
GetBaseExpectedAnalyticsID() |
Static Methods. |
|
const int &#... |
GetCountStatData ( |
|
|
const FStrin... |
GetFullPathForStatFile() |
Pure Virtual Methods. |
|
const FPersi... |
GetTimingStatData ( |
|
|
HandleTimerStatsAfterDataLoad() |
Helper to try and reconcile offline and active timers after we load data from disk. |
|
|
HasCountStat ( |
||
|
HasTimingStat ( |
||
|
IncrementCountStat ( |
||
|
IsActive() |
||
|
IsDirty() |
||
|
IsTimingStatStarted ( |
||
|
LoadStatsFromDisk() |
Function that allows you to load stats from disk. Returns true if stats were either loaded from disk now, or previously were loaded from disk. |
|
|
OnLoadingDataFromDisk() |
The disk, and its possible to skip pulling data from the disk! |
|
|
ResetStats ( |
||
|
SaveStatsToDisk() |
Saves the persistent stat data to disk in the location returned by GetFullPathForStatFile() Returns True if that save succeeds and false otherwise. |
|
|
StartTimingStat ( |
||
|
StatsBegin |
Tries to load persistent stats from disk and determine if we need to resume our previous persistent session or start a new one. |
|
|
StatsEnd ( |
Tries to set this stat pool as "inactive". By default also stop all active timers. |
|
|
StopAllActiveTimers() |
||
|
StopTimingStat ( |
||
|
UpdateAllActiveTimers() |
||
|
UpdateTimingStat ( |
Name | Description | ||
---|---|---|---|
|
Serialize ( |
We should not ever really be serializing this base class. Kept it here for reference. |