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

Function Documentation

inline uint8_t etsi_its_cpm_ts_msgs::access::getNumberOfPerceivedObjects(const WrappedCpmContainer &container)

Retrieves the number of perceived objects from the given perceived object container.

Parameters:

container – The perceived object container to retrieve the number of perceived objects from.

Throws:

std::invalid_argument – if the container is not a PerceivedObjectContainer.

Returns:

The number of perceived objects.