Class WeakLanelet

Inheritance Relationships

Base Type

Class Documentation

class WeakLanelet : public lanelet::ConstWeakLanelet

Used internally by RegulatoryElements to avoid cyclic dependencies. Conceptually similar to a std::weak_ptr.

Public Functions

WeakLanelet() = default
inline WeakLanelet(const Lanelet &llet)
inline Lanelet lock() const

Obtains the original Lanelet.

Throws:

NullptrError – if the managed lanelet expired.