convert_decl.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 ROS_IGN_BRIDGE__CONVERT_DECL_HPP_
16 #define ROS_IGN_BRIDGE__CONVERT_DECL_HPP_
17 
18 namespace ros_ign_bridge
19 {
20 
21 template<typename ROS_T, typename IGN_T>
22 void
24  const ROS_T & ros_msg,
25  IGN_T & ign_msg);
26 
27 template<typename ROS_T, typename IGN_T>
28 void
30  const IGN_T & ign_msg,
31  ROS_T & ros_msg);
32 
33 } // namespace ros_ign_bridge
34 
35 #endif // ROS_IGN_BRIDGE__CONVERT_DECL_HPP_
ros_ign_bridge::convert_ros_to_ign
void convert_ros_to_ign(const std_msgs::Bool &ros_msg, ignition::msgs::Boolean &ign_msg)
Definition: convert.cpp:63
ros_ign_bridge::convert_ign_to_ros
void convert_ign_to_ros(const ignition::msgs::Boolean &ign_msg, std_msgs::Bool &ros_msg)
Definition: convert.cpp:72
ros_ign_bridge
Definition: convert.hpp:59


ros_ign_bridge
Author(s):
autogenerated on Sat Mar 11 2023 04:02:16