File slam_event_list.hpp

Core API objects - SLAM event list.

template<typename T>
struct TypeTraits<T, typename enable_if_is_base_of<SLAMEventListInterface, T>::type>
#include <slam_event_list.hpp>

Public Static Attributes

static constexpr ObjectType EnumType = ObjectType::SLAMEventList
namespace slamcore

Helper conversion methods

slamcore::ImageFormat \(\leftrightarrow\) BytesPerChannel

Get information about the client library

class SLAMEventListInterface
#include <slam_event_list.hpp>

SLAM Event List Interface.

Public Types

using value_type = SLAMEvent
using iterator = RangeIterator<SLAMEventListInterface>

Public Functions

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

Returns the number of SLAM events.

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

Convenient access to SLAM event at index i.

inline const value_type &operator()(std::size_t i) const
inline const value_type &get(std::size_t i) const
inline iterator begin() const

For range for loops.

inline iterator end() const
virtual const value_type *data() const = 0

Read-only access to the underlying array of SLAM events.

Protected Functions

virtual const value_type &getImpl(std::size_t i) const = 0

Implementation to get SLAM event at index i.

template<typename T> type >
#include <slam_event_list.hpp>

Public Static Attributes

static constexpr ObjectType EnumType = ObjectType::SLAMEventList