MxstProtobufOut

Description

Stores Protobuf information output by the inference service to the external system.

Structure Definition

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)) {}
};

Parameters

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