struct mrpt::maps::CLandmarksMap::TLandmarksList

Overview

Inner container with helper accessors.

#include <mrpt/maps/CLandmarksMap.h>

struct TLandmarksList
{
    // fields

    std::deque<CLandmark> m_landmarks;

    // methods

    void push_back(const CLandmark& lm);
    CLandmark* get(size_t idx);
    const CLandmark* get(size_t idx) const;
    const CLandmark* getByBeaconID(int64_t beaconID) const;
    size_t size() const;
    void clear();
    auto begin();
    auto end();
    auto begin() const;
    auto end() const;
};

Methods

const CLandmark* getByBeaconID(int64_t beaconID) const

Find by beacon ID (returns nullptr if not found).