onboardapi  9.10.0
by Rheinmetall
M_Sensor::ReportSensorTrack Struct Reference

Public Member Functions

 ReportSensorTrack ()
 
 ReportSensorTrack (M_Common::ObjectIdType const &KeyId, M_Sensor::SensorDetectionType const &Track, bool IsRemoved)
 

Public Attributes

M_Common::ObjectIdType KeyId
 The unique track ID. More...
 
M_Sensor::SensorDetectionType Track
 Tracked object data. More...
 
bool IsRemoved
 

Detailed Description

Report an object tracked by the sensor (i.e. a track). A tracked object has a lifetime and updates to the same tracked object will be reported with the same KeyId. When an object is no longer tracked (i.e. lost), it should be reported with IsRemoved set to true.

Note: If the sensor does NOT have the ability to track objects then a detection should be reported via the EventSensorDetection() operation instead.

Constructor & Destructor Documentation

◆ ReportSensorTrack() [1/2]

M_Sensor::ReportSensorTrack::ReportSensorTrack ( )

◆ ReportSensorTrack() [2/2]

M_Sensor::ReportSensorTrack::ReportSensorTrack ( M_Common::ObjectIdType const &  KeyId,
M_Sensor::SensorDetectionType const &  Track,
bool  IsRemoved 
)

Member Data Documentation

◆ IsRemoved

bool M_Sensor::ReportSensorTrack::IsRemoved

Indicates if the sensor track has been lost (i.e. no longer tracked by sensor). Note: After this has been set to True the track will no longer be available to late joiners.

◆ KeyId

M_Common::ObjectIdType M_Sensor::ReportSensorTrack::KeyId

The unique track ID.

◆ Track

M_Sensor::SensorDetectionType M_Sensor::ReportSensorTrack::Track

Tracked object data.