rmw_fastrtps_cpp
master
Implement the ROS middleware interface using eProsima FastRTPS static code generation in C++.
Main Page
Namespaces
Namespace List
Namespace Members
All
Functions
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
Functions
Files
File List
File Members
All
Variables
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Macros
include
rmw_fastrtps_cpp
get_service.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_SERVICE_HPP_
16
#define RMW_FASTRTPS_CPP__GET_SERVICE_HPP_
17
18
#include "fastdds/dds/publisher/DataWriter.hpp"
19
#include "fastdds/dds/subscriber/DataReader.hpp"
20
21
#include "
rmw/rmw.h
"
22
#include "
rmw_fastrtps_cpp/visibility_control.h
"
23
24
namespace
rmw_fastrtps_cpp
25
{
26
28
34
RMW_FASTRTPS_CPP_PUBLIC
35
eprosima::fastdds::dds::DataReader *
36
get_request_datareader
(
rmw_service_t
* service);
37
39
45
RMW_FASTRTPS_CPP_PUBLIC
46
eprosima::fastdds::dds::DataWriter *
47
get_response_datawriter
(
rmw_service_t
* service);
48
49
}
// namespace rmw_fastrtps_cpp
50
51
#endif // RMW_FASTRTPS_CPP__GET_SERVICE_HPP_
rmw_fastrtps_cpp::get_request_datareader
eprosima::fastdds::dds::DataReader * get_request_datareader(rmw_service_t *service)
Return a native Fast DDS DataReader handle for the request.
rmw_service_t
rmw_fastrtps_cpp
Definition:
get_client.hpp:24
rmw.h
visibility_control.h
RMW_FASTRTPS_CPP_PUBLIC
#define RMW_FASTRTPS_CPP_PUBLIC
Definition:
visibility_control.h:50
rmw_fastrtps_cpp::get_response_datawriter
eprosima::fastdds::dds::DataWriter * get_response_datawriter(rmw_service_t *service)
Return a native Fast DDS DataWriter handle for the response.
Generated by
1.8.17