MxstProtobufOut
Function Usage
Stores protobuf information output by the inference service to the external system.
Prototype
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)) {}
};
Parameter Description
Parameter |
Input/Output |
Description |
|---|---|---|
errorCode |
Input |
Output error code |
messageName |
Input |
Key of the output protobuf data |
messagePtr |
Input |
Smart pointer to the output protobuf data |
Parent topic: Data Structure