![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MessageSubscription.h>
Inheritance diagram for FMessageSubscription:Public Member Functions | |
| FMessageSubscription (const TSharedRef< IMessageReceiver, ESPMode::ThreadSafe > &InSubscriber, const FTopLevelAssetPath &InMessageType, const FMessageScopeRange &InScopeRange) | |
| virtual void | Disable () override |
| virtual void | Enable () override |
| virtual FTopLevelAssetPath | GetMessageTypePathName () override |
| virtual const FMessageScopeRange & | GetScopeRange () override |
| virtual const TWeakPtr< IMessageReceiver, ESPMode::ThreadSafe > & | GetSubscriber () override |
| virtual bool | IsEnabled () override |
Public Member Functions inherited from IMessageSubscription | |
| FName | GetMessageType () |
| virtual | ~IMessageSubscription () |
Implements a message subscription.
Message subscriptions are used by the message router to determine where to dispatch published messages to. Message subscriptions are created per message type.
|
inline |
Creates and initializes a new instance.
| InSubscriber | The message subscriber. |
| InMessageType | The type of messages to subscribe to. |
| InReceivingThread | The thread on which to receive messages on. |
| InScopeRange | The message scope range to subscribe to. |
|
inlineoverridevirtual |
Gets the type of subscribed messages.
Implements IMessageSubscription.
|
inlineoverridevirtual |
Gets the range of subscribed message scopes.
Implements IMessageSubscription.
|
inlineoverridevirtual |
Gets the subscriber.
Implements IMessageSubscription.
Checks whether the subscription is enabled.
Implements IMessageSubscription.