rclcpp
master
C++ ROS Client Library API
include
rclcpp
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
"
26
#include "
rclcpp/parameter_value.hpp
"
27
#include "
rclcpp/visibility_control.hpp
"
28
29
namespace
rclcpp
30
{
31
33
using
ParameterMap
=
std::unordered_map<std::string, std::vector<Parameter>
>;
34
39
RCLCPP_PUBLIC
40
ParameterMap
41
parameter_map_from
(
const
rcl_params_t *
const
c_params);
42
47
RCLCPP_PUBLIC
48
ParameterValue
49
parameter_value_from
(
const
rcl_variant_t *
const
c_value);
50
51
}
// namespace rclcpp
52
53
#endif // RCLCPP__PARAMETER_MAP_HPP_
rclcpp::parameter_value_from
ParameterValue parameter_value_from(const rcl_variant_t *const c_value)
rclcpp::parameter_map_from
ParameterMap parameter_map_from(const rcl_params_t *const c_params)
exceptions.hpp
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::ParameterValue
Store the type and value of a parameter.
Definition:
parameter_value.hpp:71
parameter.hpp
parameter_value.hpp
visibility_control.hpp
std::unordered_map
Generated by
1.8.13