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

Go to the source code of this file.

Classes

class  rclcpp::parameter::ParameterVariant
 

Namespaces

 rclcpp
 
 rclcpp::parameter
 
 std
 

Enumerations

enum  rclcpp::parameter::ParameterType {
  rclcpp::parameter::PARAMETER_NOT_SET = rcl_interfaces::msg::ParameterType::PARAMETER_NOT_SET, rclcpp::parameter::PARAMETER_BOOL = rcl_interfaces::msg::ParameterType::PARAMETER_BOOL, rclcpp::parameter::PARAMETER_INTEGER = rcl_interfaces::msg::ParameterType::PARAMETER_INTEGER, rclcpp::parameter::PARAMETER_DOUBLE = rcl_interfaces::msg::ParameterType::PARAMETER_DOUBLE,
  rclcpp::parameter::PARAMETER_STRING = rcl_interfaces::msg::ParameterType::PARAMETER_STRING, rclcpp::parameter::PARAMETER_BYTES = rcl_interfaces::msg::ParameterType::PARAMETER_BYTES
}
 

Functions

std::string rclcpp::parameter::_to_json_dict_entry (const ParameterVariant &param)
 Return a json encoded version of the parameter intended for a dict. More...
 
std::ostream & rclcpp::parameter::operator<< (std::ostream &os, const rclcpp::parameter::ParameterVariant &pv)
 
std::ostream & rclcpp::parameter::operator<< (std::ostream &os, const std::vector< ParameterVariant > &parameters)
 
std::string std::to_string (const rclcpp::parameter::ParameterVariant &param)
 Return a json encoded version of the parameter intended for a list. More...
 
std::string std::to_string (const std::vector< rclcpp::parameter::ParameterVariant > &parameters)
 Return a json encoded version of a vector of parameters, as a string. More...