Skip to main content

OnDetectedObjectUpdate

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

Function Syntax

C#
CAPL

Description

A call of this method for a sensor sends all the data of the sensor and the detected objects that have been marked as completed. This method is called when a detected object has been updated. In this callback method there is a possibility to change the data before the actual update.

Parameters

  • tcc C#: Call Context of the Callback. Contains the detected object (cct.detObj) CAPL: —

Return Values

Example

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

CAPL

C#