GetMultiResultWithUniqueId

Function Usage

Obtains the results (appsink) of multiple output elements on the stream. The blocking mode is used. Multi-thread concurrency and multi-output are supported.

Prototype

std::vector<MxstDataOutput*> GetMultiResultWithUniqueId(uint64_t uniqueId, uint32_t timeOutInMs = DELAY_TIME);

Parameter Description

Parameter

Input/Output

Description

uniqueId

Input

ID returned after data is sent. The corresponding result is obtained based on the ID.

timeOutInMs

Input

Waiting time for obtaining the result. The default value is 3s.

Return Parameter Description

Data Structure

Description

std::vector<MxstDataOutput*>

Output data of the inference service. See 5.4.1.4 MxstDataOutput. The memory to which the returned pointer points needs to be deleted by using the delete command.