used internally by RegulatoryElements to avoid cyclic dependencies. More...
#include <Area.h>

Public Types | |
| using | ConstType = ConstWeakArea |
| using | MutableType = WeakArea |
| using | ThreeDType = ConstWeakArea |
| using | TwoDType = ConstWeakArea |
Public Member Functions | |
| 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... | |
Protected Attributes | |
| 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 immutable version of a WeakArea and returns a ConstArea when lock() is called.
Definition at line 271 of file primitives/Area.h.
Definition at line 273 of file primitives/Area.h.
Definition at line 274 of file primitives/Area.h.
Definition at line 276 of file primitives/Area.h.
Definition at line 275 of file primitives/Area.h.
|
default |
|
inline |
Definition at line 278 of file primitives/Area.h.
|
inlinenoexcept |
tests whether the WeakArea is still valid
Definition at line 288 of file primitives/Area.h.
|
inline |
Obtains the original ConstArea.
| NullptrError | if the managed lanelet expired. |
Definition at line 285 of file primitives/Area.h.
|
protected |
Definition at line 291 of file primitives/Area.h.