Template Class SpecificParam
Defined in File GenericParam.h
Inheritance Relationships
Base Type
public ompl::base::GenericParam
(Class GenericParam)
Class Documentation
-
template<typename T>
class SpecificParam : public ompl::base::GenericParam This is a helper class that instantiates parameters with different data types.
Public Types
Public Functions
-
inline SpecificParam(const std::string &name, SetterFn setter, GetterFn getter = GetterFn())
An explicit instantiation of a parameter name requires the setter function and optionally the getter function.
-
~SpecificParam() override = default
-
inline virtual bool setValue(const std::string &value) override
Set the value of the parameter. The value is taken in as a string, but converted to the type of that parameter.
-
inline virtual std::string getValue() const override
Retrieve the value of the parameter, as a string.
-
inline virtual std::string getValue() const
Retrieve the value of the parameter, as a string.
-
inline virtual std::string getValue() const
Retrieve the value of the parameter, as a string.
-
inline virtual std::string getValue() const
Retrieve the value of the parameter, as a string.
-
inline virtual std::string getValue() const
Retrieve the value of the parameter, as a string.
Protected Functions
-
inline SpecificParam(const std::string &name, SetterFn setter, GetterFn getter = GetterFn())