Class IntParameter
Defined in File parameter.h
Inheritance Relationships
Base Type
public hatchbed_common::NumericParameter< int >
(Template Class NumericParameter)
Class Documentation
-
class IntParameter : public hatchbed_common::NumericParameter<int>
Public Functions
-
IntParameter() = default
-
IntParameter(const IntParameter ¶meter) = default
-
virtual ~IntParameter() = default
-
inline virtual IntParameter &callback(std::function<void(int)> callback) override
-
inline virtual IntParameter &dynamic() override
-
inline virtual IntParameter &min(int min) override
-
inline virtual IntParameter &max(int max) override
-
inline virtual IntParameter &step(int step)
-
inline virtual IntParameter &enumerate(const std::vector<EnumOption> &enums)
-
inline const std::vector<EnumOption> &enums() const
Protected Functions
-
inline virtual bool update(const int &value, bool from_callback = false)
-
inline virtual std::string toString(const int &value) const override
-
inline virtual void registerParam() override
Protected Attributes
-
std::vector<EnumOption> enums_
Friends
- friend class ParamHandler
-
IntParameter() = default