Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Async/TaskGraphInterfaces.h |
Include |
#include "Async/TaskGraphInterfaces.h" |
class FTaskGraphInterface
Interface tot he task graph system
Name | Description | |
---|---|---|
|
~FTaskGraphInterface() |
Name | Description | ||
---|---|---|---|
|
AddShutdownCallback |
Delegates for shutdown |
|
|
AttachToThread ( |
A one time call that "introduces" an external thread to the system. |
|
|
BroadcastSlow_OnlyUseForSpecialPurposes |
A (slow) function to call a function on every known thread, both named and workers |
|
|
FBaseGraphTa... |
FindWork ( |
|
|
FTaskGraphIn... |
Get() |
Singleton for the system |
|
ENamedThread... |
GetCurrentThreadIfKnown ( |
Return the current thread type, if known. |
|
GetNumWorkerThreads() |
Return the number of worker (non-named) threads PER PRIORITY SET. |
|
|
IsCurrentThreadKnown() |
Return true if the current thread is known. |
|
|
IsMultithread() |
The task graph is always multi-threaded for platforms that support it. |
|
|
IsRunning() |
Check to see if the system is running. |
|
|
IsThreadProcessingTasks ( |
Return true if the given named thread is processing tasks. |
|
|
ProcessThreadUntilIdle ( |
Requests that a named thread, which must be this thread, run until idle, then return. |
|
|
ProcessThreadUntilRequestReturn ( |
Requests that a named thread, which must be this thread, run until an explicit return request is received, then return. |
|
|
RequestReturn ( |
Request that the given thread stop when it is idle |
|
|
Shutdown() |
Explicit start call to shutdown the system. This is unlikely to work unless the system is idle. |
|
|
StallForTuning |
||
|
Startup ( |
Explicit start call for the system. |
|
|
TriggerEventWhenTaskCompletes ( |
When a task completes, fire a scoped event |
|
|
TriggerEventWhenTasksComplete ( |
When a set of tasks complete, fire a scoped event |
|
|
WaitUntilTaskCompletes ( |
Requests that a named thread, which must be this thread, run until a task is complete |
|
|
WaitUntilTaskCompletes ( |
||
|
WaitUntilTasksComplete ( |
Requests that a named thread, which must be this thread, run until a list of tasks is complete. |
|
|
WakeNamedThread ( |