Class GenericRegulatoryElement
Defined in File RegulatoryElement.h
Inheritance Relationships
Base Type
public lanelet::Primitive< RegulatoryElement >
(Template Class Primitive)
Class Documentation
-
class GenericRegulatoryElement : public lanelet::Primitive<RegulatoryElement>
A GenericRegulatoryElement can hold any parameters.
Public Functions
-
inline explicit GenericRegulatoryElement(const RegulatoryElementDataPtr &data)
-
inline explicit GenericRegulatoryElement(Id id = InvalId, const RuleParameterMap ¶meters = RuleParameterMap(), const AttributeMap &attributes = AttributeMap())
Construct generically from id, parameters and attributes.
-
template<typename PrimitiveT>
void addParameter(const std::string &role, const PrimitiveT &primitive) Add a (mutable) primitive to the regulatory element.
-
template<typename PrimitiveT>
void addParameter(RoleName role, const PrimitiveT &primitive) Add a (mutable) primitive (RoleName version)
-
inline RuleParameterMap ¶meters() noexcept
getter for all parameters of a regulatory element.
Public Static Attributes
-
static constexpr char RuleName[] = "regulatory_element"
-
inline explicit GenericRegulatoryElement(const RegulatoryElementDataPtr &data)