跳至内容

IProducerBackendInterface

template<typename T>
class IProducerBackendInterface : public IComBackendInterface

一个通用的接口,用于异步发送类型 T 消息的任何服务。

模板参数: typename T

依赖项: IComBackendInterface

继承自: public IComBackendInterface

公共接口

公共函数

SendProtobufMessage

pure-virtual void SendProtobufMessage(T *Msg)=0

向客户端发送消息。

参数

  • Msg (T *) – [in] 要发送到客户端的消息

属性: pure-virtual

来源: Schola/Source/Schola/Public/Communicator/ComBackendInterface.h (第 96 行,第 14 列)

SendSerializeableMessage

inline void SendSerializeableMessage(UnrealType *UnrealObject)

将可序列化的 Unreal 类型发送到客户端,并在过程中将其转换为 T。

参数

名称类型默认
UnrealObjectUnrealType *

属性: inline

来源: Schola/Source/Schola/Public/Communicator/ComBackendInterface.h (第 103 行,第 6 列)

使用于: ProducerRPCBackend, UCommunicationManager, UPythonGymConnector

来源: Schola/Source/Schola/Public/Communicator/ComBackendInterface.h (第 88 行,第 1 列)

© . This site is unofficial and not affiliated with AMD.