Struct ParameterArray
Defined in File parameter_array.hpp
Inheritance Relationships
Base Type
public tuw_std_msgs::msg::ParameterArray
Struct Documentation
-
struct ParameterArray : public tuw_std_msgs::msg::ParameterArray
Public Functions
-
inline ParameterArray()
-
template<typename T>
inline ParameterArray(const std::vector<std::string> &names, const std::vector<T> &values)
-
template<typename T>
inline bool add(const std::string &name, const T &data) searches in the array for a parameter name
- Parameters:
name – name of the parameter
data – value to add
- Returns:
false if it exited and it was set, true if was newly added
-
template<typename T>
inline bool add(const std::string &name, const T &data, int precision) searches in the array for a parameter name
- Parameters:
name – name of the parameter
data – value to add
precision – precision used
- Returns:
false if it exited and it was set, true if was newly added
-
inline ParameterArray()