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/types.h>
19 
20 #include <string>
21 #include <unordered_map>
22 #include <vector>
23 
24 #include "rclcpp/exceptions.hpp"
25 #include "rclcpp/parameter.hpp"
28 
29 namespace rclcpp
30 {
31 
34 
41 parameter_map_from(const rcl_params_t * const c_params);
42 
49 parameter_value_from(const rcl_variant_t * const c_value);
50 
51 } // namespace rclcpp
52 
53 #endif // RCLCPP__PARAMETER_MAP_HPP_
ParameterValue parameter_value_from(const rcl_variant_t *const c_value)
ParameterMap parameter_map_from(const rcl_params_t *const c_params)
This header provides the get_node_topics_interface() template function.
Definition: allocator_common.hpp:24
#define RCLCPP_PUBLIC
Definition: visibility_control.hpp:50
Store the type and value of a parameter.
Definition: parameter_value.hpp:71