Navigation
API > API/Runtime > API/Runtime/MessagingCommon
Template for handlers of one specific message type (via raw function pointers).
| |
|
| Name |
TRawMessageHandler |
| Type |
class |
| Header File |
/Engine/Source/Runtime/MessagingCommon/Public/MessageHandlers.h |
| Include Path |
#include "MessageHandlers.h" |
Syntax
template<typename MessageType, typename HandlerType>
class TRawMessageHandler : public IMessageHandler
Implements Interfaces
Constructors
| Name |
Remarks |
Include Path |
Unreal Specifiers |
TRawMessageHandler
(
HandlerType* InHandler,
FuncType InFunc
)
|
Creates and initializes a new message handler. |
MessageHandlers.h |
|
Destructors
Typedefs
| Name |
Type |
Remarks |
Include Path |
| FuncType |
void(HandlerType::*) |
Type definition for function pointers that are compatible with this TRawMessageHandler. |
MessageHandlers.h |
Variables
Protected
| Name |
Type |
Remarks |
Include Path |
Unreal Specifiers |
| Func |
FuncType |
Holds a pointer to the actual handler function. |
MessageHandlers.h |
|
| Handler |
HandlerType * |
Holds a pointer to the object handling the messages. |
MessageHandlers.h |
|
Functions
Public