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

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

Parameters

Parameter

Input/Output

Description

uniqueId

Input

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

timeOutMs

Input

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

Response Parameters

Data Structure

Description

std::vector<MxstDataOutput*>

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