File tracking_status_list.hpp

Core API objects - tracking status list.

template<typename T>
struct TypeTraits<T, typename enable_if_is_base_of<TrackingStatusListInterface, T>::type>
#include <tracking_status_list.hpp>

Public Static Attributes

static constexpr ObjectType EnumType = ObjectType::TrackingStatusList
namespace slamcore

Main namespace for the Slamcore public API

Helper conversion methods

slamcore::ImageFormat \(\leftrightarrow\) BytesPerChannel

Get information about the client library

class TrackingStatusListInterface
#include <tracking_status_list.hpp>

Tracking Status List Interface.

Public Types

using Ptr = std::shared_ptr<std::vector<TrackingStatus>>
using CPtr = std::shared_ptr<const std::vector<TrackingStatus>>
using value_type = TrackingStatus
using iterator = RangeIterator<TrackingStatusListInterface>

Public Functions

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

Returns the number of Tracking Status.

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

Convenient access to Tracking Status 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 Tracking Status.

Protected Functions

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

Implementation to get Tracking Status at index i.

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

Public Static Attributes

static constexpr ObjectType EnumType = ObjectType::TrackingStatusList