You’re reading an older version of the Slamcore SDK documenation. The latest one is 23.04.

Class slamcore::EncoderListInterface

class EncoderListInterface

Representing a list of Encoder measurements.

Convenient access to measurement @a i.

inline const EncoderInterface &operator[](const std::size_t i) const
inline const EncoderInterface &operator()(const std::size_t i) const
inline const EncoderInterface &get(const std::size_t i) const

range-for loops helpers.

inline iterator begin() const
inline iterator end() const

Public Types

using Ptr = std::shared_ptr<EncoderListInterface>
using CPtr = std::shared_ptr<const EncoderListInterface>
using value_type = EncoderInterface
using iterator = RangeIterator<EncoderListInterface>

Public Functions

virtual ~EncoderListInterface() = default
virtual std::size_t size() const = 0

Number of samples in the list.