![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MessageDispatchTask.h>
Public Member Functions | |
| FBusNotificationDispatchTask (ENamedThreads::Type InThread, TWeakPtr< IBusListener, ESPMode::ThreadSafe > InListener, FMessageAddress InAddress, EMessageBusNotification InNotification) | |
| 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 registration notification to a listener.
|
inline |
Creates and initializes a new instance.
| InThread | The name of the thread to dispatch the message on. |
| InListener | The listener to notify. |
| InAddress | The address we are notifying about. |
| InNotification | The notification type being notified. |
| void FBusNotificationDispatchTask::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 FBusNotificationDispatchTask::GetStatId | ( | ) | const |
|
inlinestatic |