53 msg_.additional_constraints = additional_constraints;
59 msg_.read_only = read_only;
66 msg_.dynamic_typing = dynamic_typing;
75 msg_.floating_point_range.resize(1);
76 msg_.floating_point_range[0].from_value = from_value;
77 msg_.floating_point_range[0].to_value = to_value;
78 msg_.floating_point_range[0].step = step;
87 msg_.integer_range.resize(1);
88 msg_.integer_range[0].from_value = from_value;
89 msg_.integer_range[0].to_value = to_value;
90 msg_.integer_range[0].step = step;
ParameterDescriptorBuilder & integerRange(int64_t from_value=std::numeric_limits< int64_t >::min(), int64_t to_value=std::numeric_limits< int64_t >::max(), int64_t step=0)
Set the integer range.
ParameterDescriptorBuilder & floatingPointRange(double from_value=std::numeric_limits< double >::min(), double to_value=std::numeric_limits< double >::max(), double step=0)
Set floating point range.
ParameterDescriptorBuilder & readOnly(bool read_only)
Sets the read only flag.
ParameterDescriptorBuilder & additionalConstraints(const std::string &additional_constraints)
Set the additional constraints string (a description of any additional constraints which cannot be ex...
ParameterDescriptorBuilder & description(const std::string &description)
Set the description string.
ParameterDescriptorBuilder & type(uint8_t type)
Set the type.
ParameterDescriptorBuilder & dynamicTyping(bool dynamic_typing)
Set the dynamic typing flag (rolling only)