UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FBusNotificationDispatchTask Class Reference

#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 ()
 

Detailed Description

Implements an asynchronous task for dispatching a registration notification to a listener.

Constructor & Destructor Documentation

◆ FBusNotificationDispatchTask()

FBusNotificationDispatchTask::FBusNotificationDispatchTask ( ENamedThreads::Type  InThread,
TWeakPtr< IBusListener, ESPMode::ThreadSafe InListener,
FMessageAddress  InAddress,
EMessageBusNotification  InNotification 
)
inline

Creates and initializes a new instance.

Parameters
InThreadThe name of the thread to dispatch the message on.
InListenerThe listener to notify.
InAddressThe address we are notifying about.
InNotificationThe notification type being notified.

Member Function Documentation

◆ DoTask()

void FBusNotificationDispatchTask::DoTask ( ENamedThreads::Type  CurrentThread,
const FGraphEventRef MyCompletionGraphEvent 
)

Performs the actual task.

Parameters
CurrentThreadThe thread that this task is executing on.
MyCompletionGraphEventThe completion event.

◆ GetDesiredThread()

ENamedThreads::Type FBusNotificationDispatchTask::GetDesiredThread ( )
inline

Returns the name of the thread that this task should run on.

Returns
Thread name.

◆ GetStatId()

TStatId FBusNotificationDispatchTask::GetStatId ( ) const

◆ GetSubsequentsMode()

static ESubsequentsMode::Type FBusNotificationDispatchTask::GetSubsequentsMode ( )
inlinestatic

The documentation for this class was generated from the following files: