used internally by RegulatoryElements to avoid cyclic dependencies. More...
#include <Area.h>
Public Member Functions | |
Area | lock () const |
Obtains the original ConstArea. More... | |
WeakArea ()=default | |
WeakArea (Area llet) | |
![]() | |
ConstWeakArea ()=default | |
ConstWeakArea (ConstArea area) | |
bool | expired () const noexcept |
tests whether the WeakArea is still valid More... | |
ConstArea | lock () const |
Obtains the original ConstArea. More... | |
Additional Inherited Members | |
![]() | |
using | ConstType = ConstWeakArea |
using | MutableType = WeakArea |
using | ThreeDType = ConstWeakArea |
using | TwoDType = ConstWeakArea |
![]() | |
std::weak_ptr< const AreaData > | areaData_ |
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.
Definition at line 300 of file primitives/Area.h.
|
default |
|
inline |
Definition at line 303 of file primitives/Area.h.
|
inline |
Obtains the original ConstArea.
NullptrError | if the managed lanelet expired. |
Definition at line 309 of file primitives/Area.h.