15 #include <type_traits> 111 if (!(pos <
size())) {
118 if (!(pos <
size())) {
126 template <
typename FuncT>
const_reverse_iterator crend() const
const RawData & GetRawData() const
const_reference at(size_type pos) const
const_reference operator[](size_type pos) const
typename std::add_const< value_type >::type & const_reference
const_iterator cbegin() const
const_iterator end() const
void throw_exception(const std::exception &e)
Helper class to store and serialize the data generated by a RawLidar.
const_iterator begin() const
This file contains definitions of common data structures used in traffic manager. ...
const_reverse_iterator rbegin() const
const_reverse_iterator crbegin() const
auto begin() noexcept
Begin iterator to the data generated by the sensor.
typename std::add_const< value_type >::type * const_pointer
size_t size() const
Size in bytes of the data generated by the sensor.
#define DEBUG_ASSERT(predicate)
Base class for all the objects containing data generated by a sensor.
auto end() noexcept
Past-the-end iterator to the data generated by the sensor.
const_reverse_iterator rend() const
const value_type * data() const
std::reverse_iterator< iterator > reverse_iterator
typename std::add_const< value_type >::type * const_iterator
Base class for all the sensor data consisting of an array of items.
Array(size_t offset, RawData &&data)
reference operator[](size_type pos)
const_iterator cend() const
reverse_iterator rbegin()
reference at(size_type pos)
Wrapper around the raw data generated by a sensor plus some useful meta-information.
std::reverse_iterator< const_iterator > const_reverse_iterator
Array(RawData &&data, FuncT get_offset)