#include <MassProcessingPhaseManager.h>
|
| | DECLARE_MULTICAST_DELEGATE_OneParam (FOnPhaseEvent, const float) |
| |
| MASSENTITY_API | FMassProcessingPhase () |
| |
| | FMassProcessingPhase (const FMassProcessingPhase &Other)=delete |
| |
| FMassProcessingPhase & | operator= (const FMassProcessingPhase &Other)=delete |
| |
| MASSENTITY_API void | Initialize (FMassProcessingPhaseManager &InPhaseManager, const EMassProcessingPhase InPhase, const ETickingGroup InTickGroup, UMassCompositeProcessor &InPhaseProcessor) |
| |
| void | AddSupportedTickType (const ELevelTick TickType) |
| |
| void | RemoveSupportedTickType (const ELevelTick TickType) |
| |
| | UPROPERTY (EditDefaultsOnly, Category="Tick", meta=(DisplayName="Tick Interval (secs)")) float TickInterval |
| |
| ENGINE_API | FTickFunction () |
| |
| virtual ENGINE_API | ~FTickFunction () |
| |
| ENGINE_API void | RegisterTickFunction (class ULevel *Level) |
| |
| ENGINE_API void | UnRegisterTickFunction () |
| |
| bool | IsTickFunctionRegistered () const |
| |
| ENGINE_API void | SetTickFunctionEnable (bool bInEnabled) |
| |
| bool | IsTickFunctionEnabled () const |
| |
| ENGINE_API void | UpdateTickIntervalAndCoolDown (float NewTickInterval) |
| |
| ENGINE_API bool | IsCompletionHandleValid () const |
| |
| ENGINE_API FGraphEventRef | GetCompletionHandle () const |
| |
| virtual ENGINE_API bool | CanDispatchManually () const |
| |
| virtual ENGINE_API bool | DispatchManually () |
| |
| TEnumAsByte< enum ETickingGroup > | GetActualTickGroup () const |
| |
| TEnumAsByte< enum ETickingGroup > | GetActualEndTickGroup () const |
| |
| ENGINE_API void | AddPrerequisite (UObject *TargetObject, struct FTickFunction &TargetTickFunction) |
| |
| ENGINE_API void | RemovePrerequisite (UObject *TargetObject, struct FTickFunction &TargetTickFunction) |
| |
| ENGINE_API void | SetPriorityIncludingPrerequisites (bool bInHighPriority) |
| |
| TArray< struct FTickPrerequisite > & | GetPrerequisites () |
| |
| const TArray< struct FTickPrerequisite > & | GetPrerequisites () const |
| |
| float | GetLastTickGameTime () const |
| |
| ENGINE_API void | ExecuteNestedTick (float DeltaTime, ELevelTick TickType, ENamedThreads::Type CurrentThread, const FGraphEventRef &MyCompletionGraphEvent) |
| |
| ENGINE_API float | CalculateDeltaTime (float DeltaTime, const class UWorld *TickingWorld) |
| |
| ENGINE_API void | LogTickFunction (ENamedThreads::Type CurrentThread, bool bLogPrerequisites, int32 Indent=0) |
| |
| ENGINE_API void | ShowPrerequistes (int32 Indent=1) |
| |
| ENGINE_API void | ClearTaskInformation () |
| |
| virtual void virtual FString return | TEXT ("DiagnosticMessage() not implemented") |
| |
| virtual void | ForEachNestedTick (TFunctionRef< void(FTickFunction &)> InFunc) const |
| |
| FTickFunction & | operator= (const FTickFunction &)=delete |
| |
◆ FMassProcessingPhase() [1/2]
| FMassProcessingPhase::FMassProcessingPhase |
( |
| ) |
|
◆ FMassProcessingPhase() [2/2]
◆ AddSupportedTickType()
| void FMassProcessingPhase::AddSupportedTickType |
( |
const ELevelTick |
TickType | ) |
|
|
inline |
◆ ConfigureForParallelMode()
| void FMassProcessingPhase::ConfigureForParallelMode |
( |
| ) |
|
|
inlineprotected |
◆ ConfigureForSingleThreadMode()
| void FMassProcessingPhase::ConfigureForSingleThreadMode |
( |
| ) |
|
|
inlineprotected |
◆ DECLARE_MULTICAST_DELEGATE_OneParam()
◆ DiagnosticContext()
| FName FMassProcessingPhase::DiagnosticContext |
( |
bool |
bDetailed | ) |
|
|
overrideprotectedvirtual |
Function to give a 'context' for this tick, used for grouped active tick reporting
Reimplemented from FTickFunction.
◆ DiagnosticMessage()
| FString FMassProcessingPhase::DiagnosticMessage |
( |
| ) |
|
|
overrideprotectedvirtual |
Abstract function to describe this tick. Used to print messages about illegal cycles in the dependency graph
Reimplemented from FTickFunction.
◆ ExecuteTick()
Abstract function actually execute the tick. Batched tick managers should use ExecuteNestedTick
- Parameters
-
| DeltaTime | - frame time to advance, in seconds |
| TickType | - kind of tick for this frame |
| CurrentThread | - thread we are executing on, useful to pass along as new tasks are created |
| MyCompletionGraphEvent | - completion event for this task. Useful for holding the completetion of this task until certain child tasks are complete. |
Reimplemented from FTickFunction.
◆ Initialize()
◆ IsConfiguredForParallelMode()
| bool FMassProcessingPhase::IsConfiguredForParallelMode |
( |
| ) |
const |
|
inlineprotected |
◆ OnParallelExecutionDone()
| void FMassProcessingPhase::OnParallelExecutionDone |
( |
const float |
DeltaTime | ) |
|
|
protected |
◆ operator=()
◆ RemoveSupportedTickType()
| void FMassProcessingPhase::RemoveSupportedTickType |
( |
const ELevelTick |
TickType | ) |
|
|
inline |
◆ ShouldTick()
| bool FMassProcessingPhase::ShouldTick |
( |
const ELevelTick |
TickType | ) |
const |
|
inlineprotected |
◆ FMassProcessingPhaseManager
| friend FMassProcessingPhase::FMassProcessingPhaseManager |
|
protected |
◆ OnPhaseEnd
◆ OnPhaseStart
◆ Phase
◆ PhaseProcessor
The documentation for this struct was generated from the following files: