MxstProtobufOut
功能
推理业务输出给外部的protobuf信息。
结构定义
struct MxstProtobufOut { APP_ERROR errorCode = APP_ERR_OK; std::string messageName; std::shared_ptr<google::protobuf::Message> messagePtr; MxstProtobufOut() = default; explicit MxstProtobufOut(APP_ERROR errorCode, const std::string& messageName = "") : errorCode(errorCode), messageName(std::move(messageName)) {} };
参数说明
参数名 |
输入/输出 |
说明 |
---|---|---|
errorCode |
输入 |
输出错误码。 |
messageName |
输入 |
输出结果protobuf数据的key。 |
messagePtr |
输入 |
输出结果protobuf数据智能指针。 |
父主题: 流程编排数据结构