Template for handlers of one specific message type (via raw function pointers). 更多...
#include <MessageHandlers.h>
类 TRawMessageHandler< MessageType, HandlerType > 继承关系图:Public 类型 | |
| typedef void(HandlerType::* | FuncType) (const MessageType &, const TSharedRef< IMessageContext, ESPMode::ThreadSafe > &) |
| Type definition for function pointers that are compatible with this TRawMessageHandler. | |
Public 成员函数 | |
| virtual void | HandleMessage (const TSharedRef< IMessageContext, ESPMode::ThreadSafe > &Context) override |
| Handles the specified message. 更多... | |
| TRawMessageHandler (HandlerType *InHandler, FuncType InFunc) | |
| Creates and initializes a new message handler. 更多... | |
| ~TRawMessageHandler () | |
| 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 raw function pointers).
| MessageType | The type of message to handle. |
| HandlerType | The type of the handler class. |
|
inline |
Creates and initializes a new message handler.
| InHandler | The object that will handle the messages. |
| InFunc | The object's message handling function. |
|
inlineoverridevirtual |