FTSTicker(原名FTicker,已废弃)
1)主要类说明
- FElement:优先队列的元素
主要成员变量:FireTime,DelayTime,Delegate
- FTicker:容器,单利模式
主要成员变量:CurrentTime,Elements,TickedElements,CurrentElement,bInTick
主要功能:AddTicker,RemoveTicker,Tick
AddTicker:主要参数:函数,tick时间
Tick:调用的地方
FEmbeddedCommunication::ForceTick:时间-Now - LastTime,以秒为单位
FStats::TickCommandletStats:时间-1 / 60.0f
FEngineLoop::Tick():时间-FApp::GetDeltaTime()
FAppEntry::PlatformInit():IOS,时间-0.005f
FDiffManifests::Run():时间-DeltaTime,以秒为单位
FChunkDeltaOptimiser::Run():时间-DeltaTime,以秒为单位
FPackageChunks::Run():时间-DeltaTime,以秒为单位
FPreLoadScreenManager::GameLogicFrameTick():时间-以秒为单位
- FTickerObjectBase:ticker对象的基类
主要成员变量:Ticker,TickHandle
2)使用Ticker的地方
- FGenericCrashContext:lamda表达式,1秒
- FGenericPlatformMemory:FGenericStatsUpdater::EnqueueUpdateStats,1秒
- GenericPlatformTime:FCPUTimeDump:GetCPUTimeDelegate,CPUTimeDumpDelegate
- FPlatformFileReadStats:Tick函数
- FHoloLensTime:FPlatformTime::UpdateCPUTime
- FEmbeddedCommunication:FEmbeddedCommunication::TickGameThread
- UnixPlatformCrashContext:UnixCrashReporterTracker::Tick
- FWindowsPlatformTime:FPlatformTime::UpdateCPUTime
- FCrashReportCoreUnattended:Tick
- FCrashUploadToReceiver:PingTimeout
- UEngine:FErrorsAndWarningsCollector::Tick
- FTextRenderComponentMIDCache:FTextRenderComponentMIDCache::PurgeUnreferencedMIDsTicker
- FMallocLeakReporter:Checkpoint,WriteReports
- FHardwareSurveyModule:TickHardwareSurvey
- FMessageTracer:Tick
- FMessageRpcClient:HandleTicker
- FMessageRpcServer:HandleTicker
- FBuildPatchServicesModule:FBuildPatchServicesModule::Tick
- FDownloadService:Tick
- FInstallerAnalytics:Tick
- FFileOperationTracker:Tick
- FFakeHttpManager:Tick
- FLwsWebSocketsManager:FLwsWebSocketsManager::GameThreadTick
- FPortalRpcLocatorImpl:HandleTicker
- FSessionManager:HandleTicker
- UScrollBox:ScrollToStart