Interface for message subscriptions. 更多...
#include <IMessageSubscription.h>
Public 成员函数 | |
| virtual void | Disable ()=0 |
| Disables the subscription. 更多... | |
| virtual void | Enable ()=0 |
| Enables the subscription. 更多... | |
| virtual FName | GetMessageType ()=0 |
| Gets the type of subscribed messages. 更多... | |
| virtual const TRange< EMessageScope > & | GetScopeRange ()=0 |
| Gets the range of subscribed message scopes. 更多... | |
| virtual const TWeakPtr< IMessageReceiver, ESPMode::ThreadSafe > & | GetSubscriber ()=0 |
| Gets the subscriber. 更多... | |
| virtual bool | IsEnabled ()=0 |
| Checks whether the subscription is enabled. 更多... | |
| virtual | ~IMessageSubscription () |
| Virtual destructor. | |
Interface for message subscriptions.
This interface provides access to a message subscription that was previously created with the IMessageBus.Subscribe method. It can be used to query the subscription's details using the various getters and modify its enabled state using the IMessageSubscription.Enable and IMessageSubscription.Disable methods.
A subscription that is disabled will cause a message endpoint to stop receiving messages for the subscribed message type. However, the subscription is merely disabled and not removed.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |