Function etsi_its_cpm_ts_msgs::access::getPerceivedObject
Defined in File cpm_ts_getters.h
Function Documentation
-
inline PerceivedObject etsi_its_cpm_ts_msgs::access::getPerceivedObject(const WrappedCpmContainer &container, const uint8_t i)
Retrieves the PerceivedObject at the specified index from the given WrappedCpmContainer.
- Parameters:
container – The WrappedCpmContainer from which to retrieve the PerceivedObject (should be a PerceivedObjectContainer).
i – The index of the PerceivedObject to retrieve.
- Throws:
std::invalid_argument – if the index is out of range.
- Returns:
The PerceivedObject at the specified index.