Template for handlers of one specific message type (via function objects). 更多...
#include <MessageHandlers.h>
类 TFunctionMessageHandler< MessageType > 继承关系图:Public 类型 | |
| typedef TFunction< void(const MessageType &, const TSharedRef< IMessageContext, ESPMode::ThreadSafe > &)> | FuncType |
| Type definition for function objects that are compatible with this TFunctionMessageHandler. | |
Public 成员函数 | |
| virtual void | HandleMessage (const TSharedRef< IMessageContext, ESPMode::ThreadSafe > &Context) override |
| Handles the specified message. 更多... | |
| TFunctionMessageHandler (FuncType InFunc) | |
| Creates and initializes a new message handler. 更多... | |
| ~TFunctionMessageHandler () | |
| Virtual destructor. | |
Public 成员函数 继承自 IMessageHandler | |
| virtual void | HandleMessage (const TSharedRef< IMessageContext, ESPMode::ThreadSafe > &Context)=0 |
| Handles the specified message. 更多... | |
| virtual | ~IMessageHandler () |
| Virtual destructor. | |
Template for handlers of one specific message type (via function objects).
| MessageType | The type of message to handle. |
|
inline |
Creates and initializes a new message handler.
| InHandlerFunc | The object's message handling function. |
|
inlineoverridevirtual |