67 auto end() const noexcept {
78 auto data() const noexcept {
85 return static_cast<size_t>(std::distance(
begin(),
end()));
90 template <
typename... Items>
#define DEBUG_ASSERT(predicate)
const_iterator begin() const noexcept
const_iterator end() const noexcept
Compile-time map for mapping sensor objects to serializers.
Wrapper around the raw data generated by a sensor plus some useful meta-information.
uint64_t GetFrame() const
Frame count when the data was generated.
auto begin() const noexcept
Begin iterator to the data generated by the sensor.
auto end() noexcept
Past-the-end iterator to the data generated by the sensor.
auto data() const noexcept
Retrieve a pointer to the memory containing the data generated by the sensor.
const auto & GetHeader() const
auto data() noexcept
Retrieve a pointer to the memory containing the data generated by the sensor.
auto end() const noexcept
Past-the-end iterator to the data generated by the sensor.
double GetTimestamp() const
Timestamp when the data was generated.
const rpc::Transform & GetSensorTransform() const
Sensor's transform when the data was generated.
auto begin() noexcept
Begin iterator to the data generated by the sensor.
uint64_t GetSensorTypeId() const
Type-id of the sensor that generated the data.
size_t size() const
Size in bytes of the data generated by the sensor.
This file contains definitions of common data structures used in traffic manager.