rmw_fastrtps_cpp  master
Implement the ROS middleware interface using eProsima FastRTPS static code generation in C++.
All Classes Namespaces Files Functions Variables Macros
get_publisher.hpp
Go to the documentation of this file.
1 // Copyright 2017 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 RMW_FASTRTPS_CPP__GET_PUBLISHER_HPP_
16 #define RMW_FASTRTPS_CPP__GET_PUBLISHER_HPP_
17 
18 #include "fastrtps/publisher/Publisher.h"
19 #include "rmw/rmw.h"
21 
22 namespace rmw_fastrtps_cpp
23 {
24 
26 
33 eprosima::fastrtps::Publisher *
34 get_publisher(rmw_publisher_t * publisher);
35 
36 } // namespace rmw_fastrtps_cpp
37 
38 #endif // RMW_FASTRTPS_CPP__GET_PUBLISHER_HPP_
rmw_fastrtps_cpp::get_publisher
eprosima::fastrtps::Publisher * get_publisher(rmw_publisher_t *publisher)
Return a native FastRTPS publisher handle.
rmw_fastrtps_cpp
Definition: get_client.hpp:23
rmw.h
rmw_publisher_t
visibility_control.h
RMW_FASTRTPS_CPP_PUBLIC
#define RMW_FASTRTPS_CPP_PUBLIC
Definition: visibility_control.h:50