Class WeakArea

Inheritance Relationships

Base Type

Class Documentation

class WeakArea : public lanelet::ConstWeakArea

used internally by RegulatoryElements to avoid cyclic dependencies.

It works conceptually similar to a std::weak_ptr. This is the mutable version of a WeakArea.

Public Functions

WeakArea() = default
inline WeakArea(Area llet)
inline Area lock() const

Obtains the original ConstArea.

Throws:

NullptrError – if the managed lanelet expired.