rclcpp  master
C++ ROS Client Library API
Classes | Enumerations | Functions
rclcpp::parameter Namespace Reference

Classes

class  ParameterVariant
 

Enumerations

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

Functions

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

Enumeration Type Documentation

◆ ParameterType

Enumerator
PARAMETER_NOT_SET 
PARAMETER_BOOL 
PARAMETER_INTEGER 
PARAMETER_DOUBLE 
PARAMETER_STRING 
PARAMETER_BYTES 

Function Documentation

◆ _to_json_dict_entry()

std::string rclcpp::parameter::_to_json_dict_entry ( const ParameterVariant param)

Return a json encoded version of the parameter intended for a dict.

◆ operator<<() [1/2]

std::ostream& rclcpp::parameter::operator<< ( std::ostream &  os,
const rclcpp::parameter::ParameterVariant pv 
)

◆ operator<<() [2/2]

std::ostream& rclcpp::parameter::operator<< ( std::ostream &  os,
const std::vector< ParameterVariant > &  parameters 
)