39 #include <rcl_interfaces/msg/floating_point_range.hpp>
40 #include <rcl_interfaces/msg/integer_range.hpp>
41 #include <rcl_interfaces/msg/parameter_descriptor.hpp>
42 #include <rcl_interfaces/msg/parameter_type.hpp>
50 rcl_interfaces::msg::ParameterDescriptor msg_;
56 operator rcl_interfaces::msg::ParameterDescriptor()
const
117 double to_value = std::numeric_limits<double>::max(),
double step = 0);
129 int64_t to_value = std::numeric_limits<int64_t>::max(), int64_t step = 0);
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)