TRawMessageHandler

Template for handlers of one specific message type (via raw function pointers).

Windows
MacOS
Linux

Inheritance Hierarchy

IMessageHandler

TRawMessageHandler

References

Module

MessagingCommon

Header

/Engine/Source/Runtime/MessagingCommon/Public/MessageHandlers.h

Include

#include "MessageHandlers.h"

Syntax

template<typename MessageType, typename HandlerType>
class TRawMessageHandler : public IMessageHandler

Remarks

Template for handlers of one specific message type (via raw function pointers).

Constructors

Name Description

Public function

TRawMessageHandler

(
    HandlerType* InHandler,
    FuncType InFunc
)

Creates and initializes a new message handler.

Destructors

Name Description

Public function

~TRawMessageHandler()

Virtual destructor.

Overridden from IMessageHandler

Name Description

Public function Virtual

void

 

HandleMessage

(
    const TSharedRef< IMessageContext, ...
)

Handles the specified message.

Typedefs

Name

Description

FuncType

Type definition for function pointers that are compatible with this TRawMessageHandler.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss