Public Member Functions | List of all members
lanelet::RegisterRegulatoryElement< T > Class Template Reference

template class for registering new RegulatoryElements. More...

#include <RegulatoryElement.h>

Public Member Functions

 RegisterRegulatoryElement ()
 

Detailed Description

template<class T>
class lanelet::RegisterRegulatoryElement< T >

template class for registering new RegulatoryElements.

The parser will determine which rule to pick based on the "rule" tag of a RegulatoryElement. If no rule matches, a GenericRegulatoryElement will be created.

To register a class, put RegisterRegulatoryElement<MyClass> regMyClass; somewhere in your cpp file.

Your class is required to have a constructor that takes a RegulatoryElementDataPtr as argument. The constructor of this class is allowed to throw when the data passed to it is invalid.

Definition at line 384 of file primitives/RegulatoryElement.h.

Constructor & Destructor Documentation

◆ RegisterRegulatoryElement()

Definition at line 386 of file primitives/RegulatoryElement.h.


The documentation for this class was generated from the following file:


lanelet2_core
Author(s): Fabian Poggenhans
autogenerated on Thu Mar 6 2025 03:25:53