MxstBufferAndMetadataOutput
Description
Defines the structure of buffer and metadata received by the stream.
Structure Definition
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | struct MxstBufferAndMetadataOutput { APP_ERROR errorCode = APP_ERR_OK; std::string errorMsg; std::shared_ptr<MxstBufferOutput> bufferOutput; std::vector<MxstMetadataOutput> metadataVec; void *reservedPtr = nullptr; MxstBufferAndMetadataOutput() = default; explicit MxstBufferAndMetadataOutput(APP_ERROR errorCode, const std::string& errorMsg = "") : errorCode(errorCode), errorMsg(std::move(errorMsg)) {} void SetErrorInfo(APP_ERROR errorCodeIn, const std::string& errorMsgIn) { errorCode = errorCodeIn; errorMsg = errorMsgIn; } }; |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
errorCode |
Input |
Error code |
errorMsg |
Input |
Error message |
bufferOutput |
Input |
Smart pointer corresponding to the output buffer. The internal data structure is MxstBufferOutput. |
metadataVec |
Input |
Output metadata vector |
reservedPtr |
Input |
Reserved pointer |
Parent topic: Process Orchestration Data Structures