Class IntParameter

Inheritance Relationships

Base Type

Class Documentation

class IntParameter : public hatchbed_common::NumericParameter<int>

Public Functions

inline IntParameter(int *store, const std::string &ns, const std::string &name, int default_val, const std::string &description, std::shared_ptr<rclcpp::Node> node)
IntParameter() = default
IntParameter(const IntParameter &parameter) = 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