From b5fb052e5ce6dfc2be6875b86bfc3a2147aea9b2 Mon Sep 17 00:00:00 2001 From: EduPonz Date: Mon, 11 Mar 2024 15:10:09 +0100 Subject: [PATCH] Refs #20568: Remove all possible from include/fastrtps Signed-off-by: EduPonz --- include/fastrtps/TopicDataType.h | 33 ----------------- include/fastrtps/fastrtps_fwd.h | 35 ------------------- .../throughput/ThroughputPublisher.hpp | 2 +- test/xtypes/TestPublisher.h | 1 - test/xtypes/TestSubscriber.h | 1 - 5 files changed, 1 insertion(+), 71 deletions(-) delete mode 100644 include/fastrtps/TopicDataType.h delete mode 100644 include/fastrtps/fastrtps_fwd.h diff --git a/include/fastrtps/TopicDataType.h b/include/fastrtps/TopicDataType.h deleted file mode 100644 index 3129d74c0f5..00000000000 --- a/include/fastrtps/TopicDataType.h +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima). -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -/** - * @file TopicDataType.h - */ - -#ifndef TOPICDATATYPE_H_ -#define TOPICDATATYPE_H_ - -#include - -namespace eprosima { -namespace fastrtps { - -// Adding an alias to fastrtps namespace for legacy usage. -using TopicDataType = fastdds::dds::TopicDataType; - -} /* namespace fastrtps */ -} /* namespace eprosima */ - -#endif /* TOPICDATATYPE_H_ */ diff --git a/include/fastrtps/fastrtps_fwd.h b/include/fastrtps/fastrtps_fwd.h deleted file mode 100644 index 52f71e77b20..00000000000 --- a/include/fastrtps/fastrtps_fwd.h +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima). -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -/** - * @file fastrtps_fwd.h - * - */ - -#ifndef FASTRTPS_FWD_H_ -#define FASTRTPS_FWD_H_ - -namespace eprosima -{ -namespace fastrtps -{ - class Participant; - class Publisher; - class Subscriber; -} -} - - - -#endif /* FASTRTPS_FWD_H_ */ diff --git a/test/performance/throughput/ThroughputPublisher.hpp b/test/performance/throughput/ThroughputPublisher.hpp index 9ce65eeaeb6..e730274a33c 100644 --- a/test/performance/throughput/ThroughputPublisher.hpp +++ b/test/performance/throughput/ThroughputPublisher.hpp @@ -27,6 +27,7 @@ #include #include + #include #include #include @@ -35,7 +36,6 @@ #include #include #include -#include #include #include #include diff --git a/test/xtypes/TestPublisher.h b/test/xtypes/TestPublisher.h index 1e1d1f000d6..78c2c4a25d2 100644 --- a/test/xtypes/TestPublisher.h +++ b/test/xtypes/TestPublisher.h @@ -31,7 +31,6 @@ #include #include #include -#include #include class TestPublisher diff --git a/test/xtypes/TestSubscriber.h b/test/xtypes/TestSubscriber.h index ae6603b3c33..5fdb2c9a15e 100644 --- a/test/xtypes/TestSubscriber.h +++ b/test/xtypes/TestSubscriber.h @@ -31,7 +31,6 @@ #include #include #include -#include #include class TestSubscriber