engine
 
载入中...
搜索中...
未找到
Public 类型 | Public 成员函数 | 所有成员列表
TRawMessageCatchall< HandlerType > 模板类 参考

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

#include <MessageHandlers.h>

+ 类 TRawMessageCatchall< HandlerType > 继承关系图:

Public 类型

typedef void(HandlerType::* FuncType) (const TSharedRef< IMessageContext, ESPMode::ThreadSafe > &)
 Type definition for function pointers that are compatible with this TRawMessageCatchall.
 

Public 成员函数

virtual void HandleMessage (const TSharedRef< IMessageContext, ESPMode::ThreadSafe > &Context) override
 Handles the specified message. 更多...
 
 TRawMessageCatchall (HandlerType *InHandler, FuncType InFunc)
 Creates and initializes a new message handler. 更多...
 
 ~TRawMessageCatchall ()
 Virtual destructor.
 
- Public 成员函数 继承自 IMessageHandler
virtual void HandleMessage (const TSharedRef< IMessageContext, ESPMode::ThreadSafe > &Context)=0
 Handles the specified message. 更多...
 
virtual ~IMessageHandler ()
 Virtual destructor.
 

详细描述

template<typename HandlerType>
class TRawMessageCatchall< HandlerType >

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

参数
HandlerTypeThe type of the handler class.

构造及析构函数说明

◆ TRawMessageCatchall()

template<typename HandlerType >
TRawMessageCatchall< HandlerType >::TRawMessageCatchall ( HandlerType *  InHandler,
FuncType  InFunc 
)
inline

Creates and initializes a new message handler.

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

成员函数说明

◆ HandleMessage()

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

Handles the specified message.

参数
ContextThe context of the message to handle.

实现了 IMessageHandler.


该类的文档由以下文件生成: