rclcpp  master
C++ ROS Client Library API
Classes | Namespaces | Enumerations | Functions
parameter_value.hpp File Reference
#include <exception>
#include <iostream>
#include <ostream>
#include <sstream>
#include <string>
#include <vector>
#include "rcl_interfaces/msg/parameter_type.hpp"
#include "rcl_interfaces/msg/parameter_value.hpp"
#include "rclcpp/visibility_control.hpp"

Go to the source code of this file.

Classes

class  rclcpp::ParameterTypeException
 Indicate the parameter type does not match the expected type. More...
 
class  rclcpp::ParameterValue
 Store the type and value of a parameter. More...
 

Namespaces

 rclcpp
 

Enumerations

enum  rclcpp::ParameterType {
  rclcpp::PARAMETER_NOT_SET = rcl_interfaces::msg::ParameterType::PARAMETER_NOT_SET, rclcpp::PARAMETER_BOOL = rcl_interfaces::msg::ParameterType::PARAMETER_BOOL, rclcpp::PARAMETER_INTEGER = rcl_interfaces::msg::ParameterType::PARAMETER_INTEGER, rclcpp::PARAMETER_DOUBLE = rcl_interfaces::msg::ParameterType::PARAMETER_DOUBLE,
  rclcpp::PARAMETER_STRING = rcl_interfaces::msg::ParameterType::PARAMETER_STRING, rclcpp::PARAMETER_BYTE_ARRAY = rcl_interfaces::msg::ParameterType::PARAMETER_BYTE_ARRAY, rclcpp::PARAMETER_BOOL_ARRAY = rcl_interfaces::msg::ParameterType::PARAMETER_BOOL_ARRAY, rclcpp::PARAMETER_INTEGER_ARRAY = rcl_interfaces::msg::ParameterType::PARAMETER_INTEGER_ARRAY,
  rclcpp::PARAMETER_DOUBLE_ARRAY = rcl_interfaces::msg::ParameterType::PARAMETER_DOUBLE_ARRAY, rclcpp::PARAMETER_STRING_ARRAY = rcl_interfaces::msg::ParameterType::PARAMETER_STRING_ARRAY
}
 

Functions

std::string rclcpp::to_string (const ParameterType type)
 Return the name of a parameter type. More...
 
std::ostreamrclcpp::operator<< (std::ostream &os, const ParameterType type)
 
std::string rclcpp::to_string (const ParameterValue &type)
 Return the value of a parameter as a string. More...