Skip to content

Commit baa3f37

Browse files
authored
remove rmw_localhost_only_t. (#156)
Signed-off-by: Tomoya Fujita <[email protected]>
1 parent 3086b81 commit baa3f37

File tree

4 files changed

+6
-9
lines changed

4 files changed

+6
-9
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -297,9 +297,9 @@ from Connext.
297297

298298
If this variable is unspecified, or set to `all`, then `rmw_connextdds` will modify
299299
the default DomainParticipantQos with settings derived from ROS 2 options (e.g.
300-
"localhost only", or "node enclave"), and some additional optimizations meant to
301-
improve the out of the box experiene (e.g. speed up endpoint discovery, and increase
302-
the size of type information shared via discovery).
300+
"node enclave"), and some additional optimizations meant to improve the out of
301+
the box experiene (e.g. speed up endpoint discovery, and increase the size of type
302+
information shared via discovery).
303303

304304
If the variable is set to `basic`, then only those settings associated with ROS 2
305305
options will be modified.

rmw_connextdds_common/include/rmw_connextdds/context.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,13 @@ struct rmw_context_impl_s
8383
{
8484
// Always override the default DomainParticipantQoS obtained at runtime from
8585
// Connext with RMW-specific configuration. This will include settings derived
86-
// from ROS 2 configuration parameters (e.g. "localhost_only", or "enclave"),
87-
// but also some additional configurations that the RMW performs arbitrarly
86+
// from ROS 2 configuration parameters (e.g. "enclave"),
87+
// but also some additional configurations that the RMW performs arbitrary
8888
// to improve the out of the box experience. Note that some of these customizations
8989
// can also be disabled individually (e.g. fast endpoint discovery).
9090
All,
9191
// Only perform basic modifications on the default DomainParticipantQos value
92-
// based on ROS 2 configuration parameters (e.g. "localhost only", and "enclave").
92+
// based on ROS 2 configuration parameters (e.g. "enclave").
9393
// All other RMW-specific customizations will not be applied.
9494
Basic,
9595
// Use the default DomainParticipantQoS returned by Connext without any modification.

rmw_connextdds_common/src/common/rmw_context.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -937,7 +937,6 @@ rmw_api_connextdds_init_options_init(
937937
init_options->implementation_identifier = RMW_CONNEXTDDS_ID;
938938
init_options->allocator = allocator;
939939
init_options->impl = nullptr;
940-
init_options->localhost_only = RMW_LOCALHOST_ONLY_DEFAULT;
941940
init_options->domain_id = RMW_DEFAULT_DOMAIN_ID;
942941
init_options->enclave = nullptr;
943942
init_options->security_options = rmw_get_zero_initialized_security_options();

rmw_connextdds_common/src/common/rmw_serde.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ rmw_api_connextdds_serialize(
4242
try {
4343
// declare a mock context struct to build a temporary type support
4444
rmw_context_t ctx_base;
45-
ctx_base.options.localhost_only = RMW_LOCALHOST_ONLY_DISABLED;
4645
rmw_context_impl_t ctx(&ctx_base);
4746
ctx.request_reply_mapping = RMW_Connext_RequestReplyMapping::Extended;
4847
RMW_Connext_MessageTypeSupport type_support(
@@ -79,7 +78,6 @@ rmw_api_connextdds_deserialize(
7978
try {
8079
// declare a mock context struct to build a temporary type support
8180
rmw_context_t ctx_base;
82-
ctx_base.options.localhost_only = RMW_LOCALHOST_ONLY_DISABLED;
8381
rmw_context_impl_t ctx(&ctx_base);
8482
ctx.request_reply_mapping = RMW_Connext_RequestReplyMapping::Extended;
8583
RMW_Connext_MessageTypeSupport type_support(

0 commit comments

Comments
 (0)