FMessageEndpoint::Subscribe

Template method to subscribe the message endpoint to the specified type of messages with the default message scope.

Windows
MacOS
Linux

References

Module

MessagingCommon

Header

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

Include

#include "MessageEndpoint.h"

Syntax

template<class MessageType>
void Subscribe()

Remarks

Template method to subscribe the message endpoint to the specified type of messages with the default message scope.

The default message scope is all messages excluding loopback messages.

Parameters

Parameter

Description

HandlerType

The type of the class handling the message.

MessageType

The type of messages to subscribe to.

Handler

The class handling the messages.

HandlerFunc

The class function handling the messages.

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