rclcpp  master
C++ ROS Client Library API
parameter_map.hpp
Go to the documentation of this file.
1 // Copyright 2018 Open Source Robotics Foundation, Inc.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 
15 #ifndef RCLCPP__PARAMETER_MAP_HPP_
16 #define RCLCPP__PARAMETER_MAP_HPP_
17 
18 #include <rcl_yaml_param_parser/parser.h>
19 #include <rcl_yaml_param_parser/types.h>
20 
21 #include <string>
22 #include <unordered_map>
23 #include <vector>
24 
25 #include "rclcpp/exceptions.hpp"
26 #include "rclcpp/parameter.hpp"
29 
30 namespace rclcpp
31 {
32 
35 
42 parameter_map_from(const rcl_params_t * const c_params);
43 
50 parameter_value_from(const rcl_variant_t * const c_value);
51 
58 parameter_map_from_yaml_file(const std::string & yaml_filename);
59 
60 } // namespace rclcpp
61 
62 #endif // RCLCPP__PARAMETER_MAP_HPP_
exceptions.hpp
rclcpp::ParameterValue
Store the type and value of a parameter.
Definition: parameter_value.hpp:71
std::string
rclcpp::parameter_map_from
ParameterMap parameter_map_from(const rcl_params_t *const c_params)
rclcpp::parameter_value_from
ParameterValue parameter_value_from(const rcl_variant_t *const c_value)
rclcpp
This header provides the get_node_base_interface() template function.
Definition: allocator_common.hpp:24
RCLCPP_PUBLIC
#define RCLCPP_PUBLIC
Definition: visibility_control.hpp:50
rclcpp::parameter_map_from_yaml_file
ParameterMap parameter_map_from_yaml_file(const std::string &yaml_filename)
parameter_value.hpp
parameter.hpp
visibility_control.hpp
std::unordered_map