ROS 2 rclcpp + rcl - kilted  kilted
ROS 2 C++ Client Library with ROS Client Library
utilities.hpp
1 // Copyright 2019 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__DETAIL__UTILITIES_HPP_
16 #define RCLCPP__DETAIL__UTILITIES_HPP_
17 
18 #include "rclcpp/detail/utilities.hpp"
19 
20 #include <string>
21 #include <vector>
22 
23 #include "rcl/allocator.h"
24 #include "rcl/arguments.h"
25 
26 namespace rclcpp
27 {
28 namespace detail
29 {
30 
31 std::vector<std::string>
32 get_unparsed_ros_arguments(
33  int argc, char const * const * argv,
34  rcl_arguments_t * arguments,
35  rcl_allocator_t allocator);
36 
37 } // namespace detail
38 } // namespace rclcpp
39 
40 #endif // RCLCPP__DETAIL__UTILITIES_HPP_
rcutils_allocator_t rcl_allocator_t
Encapsulation of an allocator.
Definition: allocator.h:31
Versions of rosidl_typesupport_cpp::get_message_type_support_handle that handle adapted types.
Hold output of parsing command line arguments.
Definition: arguments.h:36