推理业务输出给外部的protobuf信息。
1 2 3 4 5 6 7 8 9 | 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数据智能指针。 |