Resource Base
Table of contents

CAbstractIntermediateResultReceiver

The CAbstractIntermediateResultReceiver class is responsible for receiving intermediate results of different types. It provides virtual functions for each type of result, which are called when the corresponding result is received.

Definition

Namespace: dynamsoft::intermediate_results

Assembly: DynamsoftCore

class CAbstractIntermediateResultReceiver 

Methods Summary

Method Description
GetObservationParameters Gets the observation parameters of the intermediate result receiver.
OnTaskResultsReceived Called when a task result has been received.
OnUnitResultReceived Called when a intermediate result unit has been received.

GetObservationParameters

Gets the observation parameters of the intermediate result receiver.

CObservationParameters* GetObservationParameters()

Return value

Returns the object of CObservationParameters. The default parameters are to observe all intermediate result unit types and all tasks.

See Also

CObservationParameters

OnTaskResultsReceived

Called when a task result has been received.

virtual void OnTaskResultsReceived(CIntermediateResult *pResult, const IntermediateResultExtraInfo* info) = 0

Parameters

[in] pResult A pointer to the CIntermediateResult object that contains several result units.

[in] info A pointer to the IntermediateResultExtraInfo object that contains the extra info of intermediate result.

See Also

CIntermediateResult

IntermediateResultExtraInfo

OnUnitResultReceived

Called when a intermediate result unit has been received.

virtual void OnUnitResultReceived(CIntermediateResultUnit *pUnit, const IntermediateResultExtraInfo* info) = 0;

Parameters

[in] pUnit A pointer to the CIntermediateResultUnit object.

[in] info A pointer to the IntermediateResultExtraInfo object that contains the extra info of intermediate result.

See Also

CIntermediateResultUnit

IntermediateResultExtraInfo

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article:

latest version

    Change +