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