![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MessageDispatchTask.h>
Public Member Functions | |
| FMessageDispatchTask (ENamedThreads::Type InThread, TSharedRef< IMessageContext, ESPMode::ThreadSafe > InContext, TWeakPtr< IMessageReceiver, ESPMode::ThreadSafe > InRecipient, TSharedPtr< FMessageTracer, ESPMode::ThreadSafe > InTracer) | |
| void | DoTask (ENamedThreads::Type CurrentThread, const FGraphEventRef &MyCompletionGraphEvent) |
| ENamedThreads::Type | GetDesiredThread () |
| TStatId | GetStatId () const |
Static Public Member Functions | |
| static ESubsequentsMode::Type | GetSubsequentsMode () |
Implements an asynchronous task for dispatching a message to a recipient.
| FMessageDispatchTask::FMessageDispatchTask | ( | ENamedThreads::Type | InThread, |
| TSharedRef< IMessageContext, ESPMode::ThreadSafe > | InContext, | ||
| TWeakPtr< IMessageReceiver, ESPMode::ThreadSafe > | InRecipient, | ||
| TSharedPtr< FMessageTracer, ESPMode::ThreadSafe > | InTracer | ||
| ) |
Creates and initializes a new instance.
| InThread | The name of the thread to dispatch the message on. |
| InContext | The context of the message to dispatch. |
| InRecipient | The message recipient. |
| InTracer | The message tracer to notify. |
| void FMessageDispatchTask::DoTask | ( | ENamedThreads::Type | CurrentThread, |
| const FGraphEventRef & | MyCompletionGraphEvent | ||
| ) |
Performs the actual task.
| CurrentThread | The thread that this task is executing on. |
| MyCompletionGraphEvent | The completion event. |
|
inline |
Returns the name of the thread that this task should run on.
| TStatId FMessageDispatchTask::GetStatId | ( | ) | const |
Gets the task's stats tracking identifier.
|
inlinestatic |
Gets the mode for tracking subsequent tasks.