Module |
|
Header |
/Engine/Source/Runtime/InstallBundleManager/Public/InstallBundleUtils.h |
Include |
#include "InstallBundleUtils.h" |
class FPersistentStatContainerBase
Helper class to handle holding a collection of Bundle and Session stats.
Name | Description | ||
---|---|---|---|
|
bShouldAutoHandleFGBGStats |
Determines if we should automatically Start,Stop,and Update the FG and BG versions of our timer stats. |
|
|
bShouldAutoUpdateTimersInTick |
These settings determine if we auto-update our Timer stats on a tick. |
|
|
bShouldSaveDirtyStatsOnTick |
These settings determine how we handle saving our stats to disk. |
|
|
float |
DirtyStatSaveToDiskRate |
|
|
OnApp_EnteringBackgroundHandle |
||
|
OnApp_EnteringForegroundHandle |
||
|
PerBundlePersistentStatMap |
||
|
SessionPersistentStatMap |
||
|
TickHandle |
||
|
float |
TimerAutoUpdateRate |
|
|
float |
TimerAutoUpdateTimeRemaining |
Internal counter used to track when we need to run our timer update during tick. |
|
float |
TimerDirtyStatUpdateTimeRemaining |
Internal counter used to track when we need to update all of our dirty stats. |
Name | Description | |
---|---|---|
|
FPersistentStatContainerBase() |
Name | Description | |
---|---|---|
|
~FPersistentStatContainerBase() |
Name | Description | ||
---|---|---|---|
|
const FBundl... |
GetBundleStat ( |
|
|
const FSessi... |
GetSessionStat ( |
|
|
IncrementBundlePersistentCounter ( |
||
|
IncrementSessionPersistentCounter ( |
||
|
InitializeBase() |
NOTE! These 2 functions are not virtual as we call them in the construct/deconstructor! |
|
|
LoadRequiredBundleDataFromDiskForSession ( |
Goes through this Session's RequiredBundles and loads data from disk for those bundles. |
|
|
OnApp_EnteringBackground() |
||
|
OnApp_EnteringForeground() |
||
|
OnBackground_HandleBundleStats() |
||
|
OnBackground_HandleSessionStats() |
||
|
OnForeground_HandleBundleStats() |
||
|
OnForeground_HandleSessionStats() |
||
|
OnTimerStartedForStat ( |
Called whenever we start a timer NOTE: doesn't get called by timer's being Start/Stopped for bShouldAutoHandleFGBGStats |
|
|
OnTimerStoppedForStat ( |
Called whenever we stop a timer NOTE: doesn't get called by timer's being Start/Stopped for bShouldAutoHandleFGBGStats |
|
|
ResetDirtyStatUpdate() |
||
|
ResetTimerUpdate() |
||
|
SaveAllDirtyStatsToDisk() |
||
|
ShutdownBase() |
||
|
StartBundlePersistentStatTimer ( |
||
|
StartBundlePersistentStatTracking |
Starts Bundle Persistent Stat Tracking for the given BundleName. |
|
|
StartSessionPersistentStatTimer ( |
||
|
StartSessionPersistentStatTracking |
Starts Session Persistent Stat Tracking under the given SessionName. |
|
|
StopBundlePersistentStatTimer ( |
||
|
StopBundlePersistentStatTracking |
||
|
StopSessionPersistentStatTimer ( |
||
|
StopSessionPersistentStatTracking |
||
|
Tick ( |
||
|
UpdateAllBundlesActiveTimers() |
||
|
UpdateAllSessionActiveTimers() |
||
|
UpdateBundlePersistentStatTimer ( |
||
|
UpdateSessionPersistentStatTimer ( |
||
|
UpdateStatsForBackground ( |
Stops active foreground timers when going to background and starts applicable background version Also increments background counters |
|
|
UpdateStatsForForeground ( |
Stops active background timers and resumes applicable foreground timers Also increments foreground counters |