MxstDataOutput
Description
Defines the output data of the inference service.
Structure Definition
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | struct MxstDataOutput { APP_ERROR errorCode = APP_ERR_OK; int dataSize = 0; uint32_t *dataPtr = nullptr; MxstDataOutput() = default; MxstDataOutput(const MxstDataOutput&) = delete; MxstDataOutput& operator=(const MxstDataOutput&) = delete; ~MxstDataOutput() { if (dataPtr != nullptr) { free(dataPtr); dataPtr = nullptr; } } }; |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
errorCode |
Output |
Output error code. |
dataSize |
Output |
Size of the output result data, in bytes. The size must be the same as the actual size. Otherwise, a core dump may occur. |
dataPtr |
Output |
Pointer to the output result data. |
Parent topic: Process Orchestration Data Structures