Class ConstWeakArea
Defined in File Area.h
Inheritance Relationships
Derived Type
public lanelet::WeakArea
(Class WeakArea)
Class Documentation
-
class ConstWeakArea
used internally by RegulatoryElements to avoid cyclic dependencies.
It works conceptually similar to a std::weak_ptr. This is the immutable version of a WeakArea and returns a ConstArea when lock() is called.
Subclassed by lanelet::WeakArea
Public Types
-
using ConstType = ConstWeakArea
-
using TwoDType = ConstWeakArea
-
using ThreeDType = ConstWeakArea
Public Functions
-
ConstWeakArea() = default
-
inline ConstArea lock() const
Obtains the original ConstArea.
- Throws:
NullptrError – if the managed lanelet expired.
-
using ConstType = ConstWeakArea