Skip to main content

SetDetectedObjectCompleted

CAPL Functions » ADAS » SetDetectedObjectCompleted Valid for: CANoe DE
Note
This CAPL function is also available as C# function.

Function Syntax

C#
void SetDetectedObjectCompleted.Call(int trackingId, bool isCompleted);
CAPL
void SetDetectedObjectCompleted.Call(int trackingId, int isCompleted);

Description

This method is used to mark that the data of a detected object of a sensor is completely available. This only has an effect if the sending of the sensor data was reset via a call to BeginUpdate. The next call of the Update method then sends all data of the sensor and the detected objects that were marked as complete.

Parameters

  • trackingId: Id of the object
  • isCompleted:
    • C#
      • true: Mark the object as completed
      • false: Mark the object as not completed, wait for further updates.
    • CAPL
      • 1: Mark the object as completed
      • 0: Mark the object as not completed, wait for further updates.

Return Values

Example

In the examples it is assumed in each case that a DO object of the type IScenarioManager was created.

CAPL

C#