![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MessageHandlers.h>
Inheritance diagram for TRawMessageHandler< MessageType, HandlerType >:Public Types | |
| typedef void(HandlerType::* | FuncType) (const MessageType &, const TSharedRef< IMessageContext, ESPMode::ThreadSafe > &) |
Public Member Functions | |
| TRawMessageHandler (HandlerType *InHandler, FuncType InFunc) | |
| ~TRawMessageHandler () | |
| virtual void | HandleMessage (const TSharedRef< IMessageContext, ESPMode::ThreadSafe > &Context) override |
Public Member Functions inherited from IMessageHandler | |
| virtual | ~IMessageHandler () |
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. |
| typedef void(HandlerType::* TRawMessageHandler< MessageType, HandlerType >::FuncType) (const MessageType &, const TSharedRef< IMessageContext, ESPMode::ThreadSafe > &) |
Type definition for function pointers that are compatible with this TRawMessageHandler.
|
inline |
Creates and initializes a new message handler.
| InHandler | The object that will handle the messages. |
| InFunc | The object's message handling function. |
|
inline |
Virtual destructor.
|
inlineoverridevirtual |
Handles the specified message.
| Context | The context of the message to handle. |
Implements IMessageHandler.