rmw_fastrtps_shared_cpp
master
Code shared on static and dynamic type support of rmw_fastrtps_cpp.
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
c
d
f
j
r
Functions
_
c
d
f
j
r
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
g
h
i
l
m
o
p
r
s
t
u
w
~
Functions
a
c
d
e
g
h
o
p
s
t
u
w
~
Variables
b
c
d
e
i
l
m
p
r
s
t
w
Files
File List
File Members
All
_
a
c
d
g
i
p
r
Functions
Variables
Typedefs
Enumerations
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
include
rmw_fastrtps_shared_cpp
participant.hpp
Go to the documentation of this file.
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 RMW_FASTRTPS_SHARED_CPP__PARTICIPANT_HPP_
16
#define RMW_FASTRTPS_SHARED_CPP__PARTICIPANT_HPP_
17
18
#include "
rmw/types.h
"
19
20
#include "rmw_dds_common/context.hpp"
21
22
#include "
rmw_fastrtps_shared_cpp/custom_participant_info.hpp
"
23
#include "
rmw_fastrtps_shared_cpp/visibility_control.h
"
24
25
namespace
rmw_fastrtps_shared_cpp
26
{
27
28
// This method will create a DDS DomainParticipant along with
29
// a DDS Publisher and a DDS Subscriber
30
// For the creation of DDS DataWriter see method create_publisher
31
// For the creation of DDS DataReader see method create_subscription
32
// Note that ROS 2 Publishers and Subscriptions correspond with DDS DataWriters
33
// and DataReaders respectively and not with DDS Publishers and Subscribers.
34
RMW_FASTRTPS_SHARED_CPP_PUBLIC
35
CustomParticipantInfo
*
36
create_participant
(
37
const
char
* identifier,
38
size_t
domain_id,
39
const
rmw_security_options_t
* security_options,
40
bool
localhost_only,
41
const
char
* enclave,
42
rmw_dds_common::Context * common_context);
43
44
RMW_FASTRTPS_SHARED_CPP_PUBLIC
45
rmw_ret_t
46
destroy_participant
(
CustomParticipantInfo
* info);
47
48
}
// namespace rmw_fastrtps_shared_cpp
49
50
#endif // RMW_FASTRTPS_SHARED_CPP__PARTICIPANT_HPP_
rmw_fastrtps_shared_cpp
Definition:
create_rmw_gid.hpp:24
rmw_security_options_t
RMW_FASTRTPS_SHARED_CPP_PUBLIC
#define RMW_FASTRTPS_SHARED_CPP_PUBLIC
Definition:
visibility_control.h:50
custom_participant_info.hpp
CustomParticipantInfo
Definition:
custom_participant_info.hpp:56
rmw_ret_t
int32_t rmw_ret_t
visibility_control.h
rmw_fastrtps_shared_cpp::destroy_participant
rmw_ret_t destroy_participant(CustomParticipantInfo *info)
types.h
rmw_fastrtps_shared_cpp::create_participant
CustomParticipantInfo * create_participant(const char *identifier, size_t domain_id, const rmw_security_options_t *security_options, bool localhost_only, const char *enclave, rmw_dds_common::Context *common_context)
Generated by
1.8.17