Function etsi_its_cpm_ts_msgs::access::getNumberOfPerceivedObjects(const CollectivePerceptionMessage&)

Function Documentation

inline uint8_t etsi_its_cpm_ts_msgs::access::getNumberOfPerceivedObjects(const CollectivePerceptionMessage &cpm)

Retrieves the number of perceived objects from the given CPM.

Parameters:

cpm – The CPM from which to retrieve the number of perceived objects.

Returns:

The number of perceived objects.