Skip to content

Commit 6b94d89

Browse files
Remove deprecated GraphCache methods without type hash (#83)
They were deprecated in #70 for Iron and safe to remove in Jazzy. Signed-off-by: Christophe Bedard <[email protected]>
1 parent e2378e2 commit 6b94d89

File tree

2 files changed

+0
-99
lines changed

2 files changed

+0
-99
lines changed

rmw_dds_common/include/rmw_dds_common/graph_cache.hpp

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -99,21 +99,6 @@ class GraphCache
9999
const rmw_gid_t & participant_gid,
100100
const rmw_qos_profile_t & qos);
101101

102-
/// Add a data writer based on discovery.
103-
/**
104-
* See add_reader with rosidl_type_hash_t, whose other parameters match these.
105-
*/
106-
RMW_DDS_COMMON_PUBLIC
107-
RCUTILS_DEPRECATED_WITH_MSG(
108-
"Migrate to using the version of this function taking a type hash.")
109-
bool
110-
add_writer(
111-
const rmw_gid_t & writer_gid,
112-
const std::string & topic_name,
113-
const std::string & type_name,
114-
const rmw_gid_t & participant_gid,
115-
const rmw_qos_profile_t & qos);
116-
117102
/// Add a data reader based on discovery.
118103
/**
119104
* \param reader_gid GUID of the The data reader.
@@ -135,21 +120,6 @@ class GraphCache
135120
const rmw_gid_t & participant_gid,
136121
const rmw_qos_profile_t & qos);
137122

138-
/// Add a data reader based on discovery.
139-
/**
140-
* See add_reader with rosidl_type_hash_t, whose other parameters match these.
141-
*/
142-
RMW_DDS_COMMON_PUBLIC
143-
RCUTILS_DEPRECATED_WITH_MSG(
144-
"Migrate to using the version of this function taking a type hash.")
145-
bool
146-
add_reader(
147-
const rmw_gid_t & reader_gid,
148-
const std::string & topic_name,
149-
const std::string & type_name,
150-
const rmw_gid_t & participant_gid,
151-
const rmw_qos_profile_t & qos);
152-
153123
/// Add a data reader or writer.
154124
/**
155125
* \param gid GUID of the entity.
@@ -173,22 +143,6 @@ class GraphCache
173143
const rmw_qos_profile_t & qos,
174144
bool is_reader);
175145

176-
/// Add a data reader or writer.
177-
/**
178-
* See add_entity with rosidl_type_hash_t, whose other parameters match these.
179-
*/
180-
RMW_DDS_COMMON_PUBLIC
181-
RCUTILS_DEPRECATED_WITH_MSG(
182-
"Migrate to using the version of this function taking a type hash.")
183-
bool
184-
add_entity(
185-
const rmw_gid_t & gid,
186-
const std::string & topic_name,
187-
const std::string & type_name,
188-
const rmw_gid_t & participant_gid,
189-
const rmw_qos_profile_t & qos,
190-
bool is_reader);
191-
192146
/// Remove a data writer.
193147
/**
194148
* \param gid GUID of the data writer.

rmw_dds_common/src/graph_cache.cpp

Lines changed: 0 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -80,23 +80,6 @@ GraphCache::add_writer(
8080
return pair.second;
8181
}
8282

83-
bool
84-
GraphCache::add_writer(
85-
const rmw_gid_t & gid,
86-
const std::string & topic_name,
87-
const std::string & type_name,
88-
const rmw_gid_t & participant_gid,
89-
const rmw_qos_profile_t & qos)
90-
{
91-
return this->add_writer(
92-
gid,
93-
topic_name,
94-
type_name,
95-
rosidl_get_zero_initialized_type_hash(),
96-
participant_gid,
97-
qos);
98-
}
99-
10083
bool
10184
GraphCache::add_reader(
10285
const rmw_gid_t & gid,
@@ -115,23 +98,6 @@ GraphCache::add_reader(
11598
return pair.second;
11699
}
117100

118-
bool
119-
GraphCache::add_reader(
120-
const rmw_gid_t & gid,
121-
const std::string & topic_name,
122-
const std::string & type_name,
123-
const rmw_gid_t & participant_gid,
124-
const rmw_qos_profile_t & qos)
125-
{
126-
return this->add_reader(
127-
gid,
128-
topic_name,
129-
type_name,
130-
rosidl_get_zero_initialized_type_hash(),
131-
participant_gid,
132-
qos);
133-
}
134-
135101
bool
136102
GraphCache::add_entity(
137103
const rmw_gid_t & gid,
@@ -160,25 +126,6 @@ GraphCache::add_entity(
160126
qos);
161127
}
162128

163-
bool
164-
GraphCache::add_entity(
165-
const rmw_gid_t & gid,
166-
const std::string & topic_name,
167-
const std::string & type_name,
168-
const rmw_gid_t & participant_gid,
169-
const rmw_qos_profile_t & qos,
170-
bool is_reader)
171-
{
172-
return this->add_entity(
173-
gid,
174-
topic_name,
175-
type_name,
176-
rosidl_get_zero_initialized_type_hash(),
177-
participant_gid,
178-
qos,
179-
is_reader);
180-
}
181-
182129
bool
183130
GraphCache::remove_writer(const rmw_gid_t & gid)
184131
{

0 commit comments

Comments
 (0)