Function etsi_its_cpm_ts_msgs::access::getCpmContainerIds

Function Documentation

inline std::vector<uint8_t> etsi_its_cpm_ts_msgs::access::getCpmContainerIds(const CollectivePerceptionMessage &cpm)

Retrieves the container IDs from a CPM.

This function iterates over the cpm_containers array in the given CPM and extracts the container IDs into a vector of uint8_t.

Parameters:

cpm – The CPM from which to retrieve the container IDs.

Returns:

A vector containing the container IDs.