UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TRawMessageCatchall< HandlerType > Class Template Reference

#include <MessageHandlers.h>

+ Inheritance diagram for TRawMessageCatchall< HandlerType >:

Public Types

typedef void(HandlerType::* FuncType) (const TSharedRef< IMessageContext, ESPMode::ThreadSafe > &)
 

Public Member Functions

 TRawMessageCatchall (HandlerType *InHandler, FuncType InFunc)
 
 ~TRawMessageCatchall ()
 
virtual void HandleMessage (const TSharedRef< IMessageContext, ESPMode::ThreadSafe > &Context) override
 
- Public Member Functions inherited from IMessageHandler
virtual ~IMessageHandler ()
 

Detailed Description

template<typename HandlerType>
class TRawMessageCatchall< HandlerType >

Template for catch-all handlers (via raw function pointers).

Parameters
HandlerTypeThe type of the handler class.

Member Typedef Documentation

◆ FuncType

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

Constructor & Destructor Documentation

◆ TRawMessageCatchall()

Creates and initializes a new message handler.

Parameters
InHandlerThe object that will handle the messages.
InFuncThe object's message handling function.

◆ ~TRawMessageCatchall()

Virtual destructor.

Member Function Documentation

◆ HandleMessage()

template<typename HandlerType >
virtual void TRawMessageCatchall< HandlerType >::HandleMessage ( const TSharedRef< IMessageContext, ESPMode::ThreadSafe > &  Context)
inlineoverridevirtual

Handles the specified message.

Parameters
ContextThe context of the message to handle.

Implements IMessageHandler.


The documentation for this class was generated from the following file: