engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
IMessageBridge类 参考abstract

Interface for message bridges. 更多...

#include <IMessageBridge.h>

Public 成员函数

virtual void Disable ()=0
 Disables this bridge. 更多...
 
virtual void Enable ()=0
 Enables this bridge. 更多...
 
virtual bool IsEnabled () const =0
 Checks whether the bridge is currently enabled. 更多...
 
virtual ~IMessageBridge ()
 Virtual destructor.
 

详细描述

Interface for message bridges.

A message bridge connects a message bus with another messaging system. It is really just a regular message endpoint connected to a message bus that translates sent and received messages between the bus and some underlying transport technology. The transport technology is usually implemented in the form of a Message Transport Plug-in, such as the UdpMessaging plug-in that ships with Unreal Engine.

The most common use case for message bridges is to connect two Unreal Engine message buses running in separate processes or en different computers. Another common use case is to connect an Unreal Engine message bus to an entirely different messaging system that is not based on Unreal Engine.

Message bridge instances can be created with the IMessagingModule.CreateBridge method.

成员函数说明

◆ Disable()

virtual void IMessageBridge::Disable ( )
pure virtual

Disables this bridge.

A disabled bridge will not receive any subscribed messages until it is enabled again. Bridges should be created in a disabled state by default and explicitly enabled.

参见
Enable, IsEnabled

◆ Enable()

virtual void IMessageBridge::Enable ( )
pure virtual

Enables this bridge.

An activated bridge will receive subscribed messages. Bridges should be created in a disabled state by default and explicitly enabled.

参见
Disable, IsEnabled

◆ IsEnabled()

virtual bool IMessageBridge::IsEnabled ( ) const
pure virtual

Checks whether the bridge is currently enabled.

返回
true if the bridge is enabled, false otherwise.
参见
Disable, Enable

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