From f47830efbd79a93b15cdc361ea05fb6f8ed249d7 Mon Sep 17 00:00:00 2001 From: elianalf <62831776+elianalf@users.noreply.github.com> Date: Fri, 24 May 2024 11:56:41 +0200 Subject: [PATCH] Refs #20765: Make .h files .hpp Signed-off-by: elianalf <62831776+elianalf@users.noreply.github.com> --- .../builtin/type_lookup_service/TypeLookupManager.cpp | 2 +- .../type_lookup_service/TypeLookupRequestListener.cpp | 2 +- src/cpp/fastdds/domain/DomainParticipantImpl.hpp | 2 +- src/cpp/rtps/builtin/discovery/endpoint/EDPServer.cpp | 2 +- src/cpp/rtps/builtin/discovery/endpoint/EDPSimple.cpp | 2 +- .../builtin/discovery/endpoint/EDPSimpleListeners.cpp | 2 +- src/cpp/rtps/builtin/discovery/endpoint/EDPUtils.hpp | 2 +- .../participant/DS/DiscoveryServerPDPEndpoints.hpp | 2 +- .../participant/DS/DiscoveryServerPDPEndpointsSecure.hpp | 2 +- src/cpp/rtps/builtin/discovery/participant/PDP.cpp | 4 ++-- src/cpp/rtps/builtin/discovery/participant/PDPClient.cpp | 2 +- src/cpp/rtps/builtin/discovery/participant/PDPServer.cpp | 2 +- src/cpp/rtps/builtin/discovery/participant/PDPSimple.cpp | 4 ++-- .../discovery/participant/simple/SimplePDPEndpoints.hpp | 2 +- .../participant/simple/SimplePDPEndpointsSecure.hpp | 2 +- src/cpp/rtps/builtin/liveliness/WLP.cpp | 2 +- src/cpp/rtps/participant/RTPSParticipantImpl.cpp | 8 ++++---- src/cpp/rtps/reader/StatefulPersistentReader.cpp | 2 +- ...fulPersistentReader.h => StatefulPersistentReader.hpp} | 4 ++-- src/cpp/rtps/reader/StatefulReader.cpp | 2 +- .../rtps/reader/{StatefulReader.h => StatefulReader.hpp} | 2 +- src/cpp/rtps/reader/StatelessPersistentReader.cpp | 2 +- ...ssPersistentReader.h => StatelessPersistentReader.hpp} | 2 +- src/cpp/rtps/reader/StatelessReader.cpp | 2 +- .../reader/{StatelessReader.h => StatelessReader.hpp} | 2 +- src/cpp/rtps/reader/WriterProxy.cpp | 2 +- src/cpp/rtps/security/SecurityManager.cpp | 4 ++-- .../fastdds/rtps/participant/RTPSParticipant.h | 2 +- .../rtps/reader/{StatefulReader.h => StatefulReader.hpp} | 0 .../reader/{StatelessReader.h => StatelessReader.hpp} | 0 test/unittest/dds/subscriber/DataReaderHistoryTests.cpp | 2 +- test/unittest/rtps/history/ReaderHistoryTests.cpp | 2 +- test/unittest/rtps/reader/WriterProxyAcknackTests.cpp | 2 +- test/unittest/rtps/reader/WriterProxyStopTest.cpp | 2 +- test/unittest/rtps/reader/WriterProxyTests.cpp | 2 +- test/unittest/rtps/security/SecurityTests.hpp | 4 ++-- 36 files changed, 42 insertions(+), 42 deletions(-) rename src/cpp/rtps/reader/{StatefulPersistentReader.h => StatefulPersistentReader.hpp} (97%) rename src/cpp/rtps/reader/{StatefulReader.h => StatefulReader.hpp} (99%) rename src/cpp/rtps/reader/{StatelessPersistentReader.h => StatelessPersistentReader.hpp} (98%) rename src/cpp/rtps/reader/{StatelessReader.h => StatelessReader.hpp} (99%) rename test/mock/rtps/StatefulReader/rtps/reader/{StatefulReader.h => StatefulReader.hpp} (100%) rename test/mock/rtps/StatelessReader/rtps/reader/{StatelessReader.h => StatelessReader.hpp} (100%) diff --git a/src/cpp/fastdds/builtin/type_lookup_service/TypeLookupManager.cpp b/src/cpp/fastdds/builtin/type_lookup_service/TypeLookupManager.cpp index 0be385afaf6..83fbe3ab879 100644 --- a/src/cpp/fastdds/builtin/type_lookup_service/TypeLookupManager.cpp +++ b/src/cpp/fastdds/builtin/type_lookup_service/TypeLookupManager.cpp @@ -38,7 +38,7 @@ #include #include -#include +#include #include namespace eprosima { diff --git a/src/cpp/fastdds/builtin/type_lookup_service/TypeLookupRequestListener.cpp b/src/cpp/fastdds/builtin/type_lookup_service/TypeLookupRequestListener.cpp index 3dbee89da41..b185ed4b4bb 100644 --- a/src/cpp/fastdds/builtin/type_lookup_service/TypeLookupRequestListener.cpp +++ b/src/cpp/fastdds/builtin/type_lookup_service/TypeLookupRequestListener.cpp @@ -24,7 +24,7 @@ #include #include #include -#include +#include using eprosima::fastrtps::rtps::RTPSReader; using eprosima::fastrtps::rtps::CacheChange_t; diff --git a/src/cpp/fastdds/domain/DomainParticipantImpl.hpp b/src/cpp/fastdds/domain/DomainParticipantImpl.hpp index 97633c5386d..6b7991bcc4d 100644 --- a/src/cpp/fastdds/domain/DomainParticipantImpl.hpp +++ b/src/cpp/fastdds/domain/DomainParticipantImpl.hpp @@ -41,7 +41,7 @@ #include #include "fastdds/topic/DDSSQLFilter/DDSFilterFactory.hpp" #include -#include +#include namespace eprosima { namespace fastrtps { diff --git a/src/cpp/rtps/builtin/discovery/endpoint/EDPServer.cpp b/src/cpp/rtps/builtin/discovery/endpoint/EDPServer.cpp index 894fec4dfce..d9b4504ba71 100644 --- a/src/cpp/rtps/builtin/discovery/endpoint/EDPServer.cpp +++ b/src/cpp/rtps/builtin/discovery/endpoint/EDPServer.cpp @@ -24,7 +24,7 @@ #include #include #include -#include +#include using namespace ::eprosima::fastrtps::rtps; diff --git a/src/cpp/rtps/builtin/discovery/endpoint/EDPSimple.cpp b/src/cpp/rtps/builtin/discovery/endpoint/EDPSimple.cpp index 33a7ba8c7df..e8acca55800 100644 --- a/src/cpp/rtps/builtin/discovery/endpoint/EDPSimple.cpp +++ b/src/cpp/rtps/builtin/discovery/endpoint/EDPSimple.cpp @@ -41,7 +41,7 @@ #include #include #include -#include +#include #ifdef FASTDDS_STATISTICS #include #endif //FASTDDS_STATISTICS diff --git a/src/cpp/rtps/builtin/discovery/endpoint/EDPSimpleListeners.cpp b/src/cpp/rtps/builtin/discovery/endpoint/EDPSimpleListeners.cpp index 9ec2be521ae..cb45665ab28 100644 --- a/src/cpp/rtps/builtin/discovery/endpoint/EDPSimpleListeners.cpp +++ b/src/cpp/rtps/builtin/discovery/endpoint/EDPSimpleListeners.cpp @@ -35,7 +35,7 @@ #include #include #include -#include +#include using ParameterList = eprosima::fastdds::dds::ParameterList; diff --git a/src/cpp/rtps/builtin/discovery/endpoint/EDPUtils.hpp b/src/cpp/rtps/builtin/discovery/endpoint/EDPUtils.hpp index 0cd4ca2d50c..b1af33ec453 100644 --- a/src/cpp/rtps/builtin/discovery/endpoint/EDPUtils.hpp +++ b/src/cpp/rtps/builtin/discovery/endpoint/EDPUtils.hpp @@ -31,7 +31,7 @@ #include #include #include -#include +#include #include #include diff --git a/src/cpp/rtps/builtin/discovery/participant/DS/DiscoveryServerPDPEndpoints.hpp b/src/cpp/rtps/builtin/discovery/participant/DS/DiscoveryServerPDPEndpoints.hpp index 0f224ee3066..d01eca63cd2 100644 --- a/src/cpp/rtps/builtin/discovery/participant/DS/DiscoveryServerPDPEndpoints.hpp +++ b/src/cpp/rtps/builtin/discovery/participant/DS/DiscoveryServerPDPEndpoints.hpp @@ -28,7 +28,7 @@ #include #include #include -#include +#include namespace eprosima { namespace fastdds { diff --git a/src/cpp/rtps/builtin/discovery/participant/DS/DiscoveryServerPDPEndpointsSecure.hpp b/src/cpp/rtps/builtin/discovery/participant/DS/DiscoveryServerPDPEndpointsSecure.hpp index a8ec878e3bf..5fdc48d0f97 100644 --- a/src/cpp/rtps/builtin/discovery/participant/DS/DiscoveryServerPDPEndpointsSecure.hpp +++ b/src/cpp/rtps/builtin/discovery/participant/DS/DiscoveryServerPDPEndpointsSecure.hpp @@ -25,7 +25,7 @@ #include #include #include -#include +#include namespace eprosima { namespace fastdds { diff --git a/src/cpp/rtps/builtin/discovery/participant/PDP.cpp b/src/cpp/rtps/builtin/discovery/participant/PDP.cpp index 5094f2cfbaa..d6cc00f23e6 100644 --- a/src/cpp/rtps/builtin/discovery/participant/PDP.cpp +++ b/src/cpp/rtps/builtin/discovery/participant/PDP.cpp @@ -48,8 +48,8 @@ #include #include #include -#include -#include +#include +#include #include #include diff --git a/src/cpp/rtps/builtin/discovery/participant/PDPClient.cpp b/src/cpp/rtps/builtin/discovery/participant/PDPClient.cpp index ecc8503a876..bd3bdb100ec 100644 --- a/src/cpp/rtps/builtin/discovery/participant/PDPClient.cpp +++ b/src/cpp/rtps/builtin/discovery/participant/PDPClient.cpp @@ -45,7 +45,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/src/cpp/rtps/builtin/discovery/participant/PDPServer.cpp b/src/cpp/rtps/builtin/discovery/participant/PDPServer.cpp index 8531a56008e..9b7fb24d21b 100644 --- a/src/cpp/rtps/builtin/discovery/participant/PDPServer.cpp +++ b/src/cpp/rtps/builtin/discovery/participant/PDPServer.cpp @@ -46,7 +46,7 @@ #include #include #include -#include +#include #include namespace eprosima { diff --git a/src/cpp/rtps/builtin/discovery/participant/PDPSimple.cpp b/src/cpp/rtps/builtin/discovery/participant/PDPSimple.cpp index 73dda8f7099..612a97f41b9 100644 --- a/src/cpp/rtps/builtin/discovery/participant/PDPSimple.cpp +++ b/src/cpp/rtps/builtin/discovery/participant/PDPSimple.cpp @@ -42,9 +42,9 @@ #include #include #include -#include +#include #include -#include +#include namespace eprosima { namespace fastrtps { diff --git a/src/cpp/rtps/builtin/discovery/participant/simple/SimplePDPEndpoints.hpp b/src/cpp/rtps/builtin/discovery/participant/simple/SimplePDPEndpoints.hpp index a405b501426..d167ed7fa79 100644 --- a/src/cpp/rtps/builtin/discovery/participant/simple/SimplePDPEndpoints.hpp +++ b/src/cpp/rtps/builtin/discovery/participant/simple/SimplePDPEndpoints.hpp @@ -27,7 +27,7 @@ #include #include #include -#include +#include namespace eprosima { namespace fastdds { diff --git a/src/cpp/rtps/builtin/discovery/participant/simple/SimplePDPEndpointsSecure.hpp b/src/cpp/rtps/builtin/discovery/participant/simple/SimplePDPEndpointsSecure.hpp index 589edf6d090..9ffdcb979e0 100644 --- a/src/cpp/rtps/builtin/discovery/participant/simple/SimplePDPEndpointsSecure.hpp +++ b/src/cpp/rtps/builtin/discovery/participant/simple/SimplePDPEndpointsSecure.hpp @@ -28,7 +28,7 @@ #include #include #include -#include +#include namespace eprosima { namespace fastdds { diff --git a/src/cpp/rtps/builtin/liveliness/WLP.cpp b/src/cpp/rtps/builtin/liveliness/WLP.cpp index 12c35aa24f3..144e0336bc0 100644 --- a/src/cpp/rtps/builtin/liveliness/WLP.cpp +++ b/src/cpp/rtps/builtin/liveliness/WLP.cpp @@ -37,7 +37,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/src/cpp/rtps/participant/RTPSParticipantImpl.cpp b/src/cpp/rtps/participant/RTPSParticipantImpl.cpp index 51cff850fa9..2d181d9b02f 100644 --- a/src/cpp/rtps/participant/RTPSParticipantImpl.cpp +++ b/src/cpp/rtps/participant/RTPSParticipantImpl.cpp @@ -60,10 +60,10 @@ #include #include #include -#include -#include -#include -#include +#include +#include +#include +#include #include #include #include diff --git a/src/cpp/rtps/reader/StatefulPersistentReader.cpp b/src/cpp/rtps/reader/StatefulPersistentReader.cpp index 24770e1abcb..eff2ccb2e7d 100644 --- a/src/cpp/rtps/reader/StatefulPersistentReader.cpp +++ b/src/cpp/rtps/reader/StatefulPersistentReader.cpp @@ -17,7 +17,7 @@ * */ -#include +#include #include diff --git a/src/cpp/rtps/reader/StatefulPersistentReader.h b/src/cpp/rtps/reader/StatefulPersistentReader.hpp similarity index 97% rename from src/cpp/rtps/reader/StatefulPersistentReader.h rename to src/cpp/rtps/reader/StatefulPersistentReader.hpp index 0801bf11690..480e54be749 100644 --- a/src/cpp/rtps/reader/StatefulPersistentReader.h +++ b/src/cpp/rtps/reader/StatefulPersistentReader.hpp @@ -13,7 +13,7 @@ // limitations under the License. /** - * @file StatefulPersistentReader.h + * @file StatefulPersistentReader.hpp */ @@ -21,7 +21,7 @@ #define _FASTDDS_RTPS_STATEFULPERSISTENTREADER_H_ #ifndef DOXYGEN_SHOULD_SKIP_THIS_PUBLIC -#include +#include namespace eprosima { namespace fastrtps { diff --git a/src/cpp/rtps/reader/StatefulReader.cpp b/src/cpp/rtps/reader/StatefulReader.cpp index dfb601d5368..a4f7c8301d5 100644 --- a/src/cpp/rtps/reader/StatefulReader.cpp +++ b/src/cpp/rtps/reader/StatefulReader.cpp @@ -17,7 +17,7 @@ * */ -#include +#include #include #include diff --git a/src/cpp/rtps/reader/StatefulReader.h b/src/cpp/rtps/reader/StatefulReader.hpp similarity index 99% rename from src/cpp/rtps/reader/StatefulReader.h rename to src/cpp/rtps/reader/StatefulReader.hpp index 3ec511b5d8a..b35fad8a9f2 100644 --- a/src/cpp/rtps/reader/StatefulReader.h +++ b/src/cpp/rtps/reader/StatefulReader.hpp @@ -13,7 +13,7 @@ // limitations under the License. /** - * @file .h + * @file StatefulReader.hpp */ #ifndef _FASTDDS_RTPS_READER_STATEFULREADER_H_ diff --git a/src/cpp/rtps/reader/StatelessPersistentReader.cpp b/src/cpp/rtps/reader/StatelessPersistentReader.cpp index db326ac5eee..d82a2b4c179 100644 --- a/src/cpp/rtps/reader/StatelessPersistentReader.cpp +++ b/src/cpp/rtps/reader/StatelessPersistentReader.cpp @@ -17,7 +17,7 @@ * */ -#include +#include #include diff --git a/src/cpp/rtps/reader/StatelessPersistentReader.h b/src/cpp/rtps/reader/StatelessPersistentReader.hpp similarity index 98% rename from src/cpp/rtps/reader/StatelessPersistentReader.h rename to src/cpp/rtps/reader/StatelessPersistentReader.hpp index cb775976999..461c92d3b18 100644 --- a/src/cpp/rtps/reader/StatelessPersistentReader.h +++ b/src/cpp/rtps/reader/StatelessPersistentReader.hpp @@ -21,7 +21,7 @@ #define _FASTDDS_RTPS_STATELESSPERSISTENTREADER_H_ #ifndef DOXYGEN_SHOULD_SKIP_THIS_PUBLIC -#include +#include namespace eprosima { namespace fastrtps { diff --git a/src/cpp/rtps/reader/StatelessReader.cpp b/src/cpp/rtps/reader/StatelessReader.cpp index e535e1c58f9..2b1c6b91d17 100644 --- a/src/cpp/rtps/reader/StatelessReader.cpp +++ b/src/cpp/rtps/reader/StatelessReader.cpp @@ -32,7 +32,7 @@ #include #include #include -#include +#include #include #include "rtps/RTPSDomainImpl.hpp" diff --git a/src/cpp/rtps/reader/StatelessReader.h b/src/cpp/rtps/reader/StatelessReader.hpp similarity index 99% rename from src/cpp/rtps/reader/StatelessReader.h rename to src/cpp/rtps/reader/StatelessReader.hpp index 82cf03ab77c..89e4c38b59a 100644 --- a/src/cpp/rtps/reader/StatelessReader.h +++ b/src/cpp/rtps/reader/StatelessReader.hpp @@ -13,7 +13,7 @@ // limitations under the License. /** - * @file StatelessReader.h + * @file StatelessReader.hpp */ diff --git a/src/cpp/rtps/reader/WriterProxy.cpp b/src/cpp/rtps/reader/WriterProxy.cpp index 6bb1189d3f8..e631ad09215 100644 --- a/src/cpp/rtps/reader/WriterProxy.cpp +++ b/src/cpp/rtps/reader/WriterProxy.cpp @@ -30,7 +30,7 @@ #include #include #include -#include +#include #if !defined(NDEBUG) && !defined(ANDROID) && defined(FASTDDS_SOURCE) && defined(__unix__) #define SHOULD_DEBUG_LINUX diff --git a/src/cpp/rtps/security/SecurityManager.cpp b/src/cpp/rtps/security/SecurityManager.cpp index 6daca9e4a49..088d4447ec9 100644 --- a/src/cpp/rtps/security/SecurityManager.cpp +++ b/src/cpp/rtps/security/SecurityManager.cpp @@ -45,8 +45,8 @@ #include #include #include -#include -#include +#include +#include #include #define BUILTIN_ENDPOINT_PARTICIPANT_MESSAGE_SECURE_WRITER (1 << 20) diff --git a/test/mock/rtps/RTPSParticipant/fastdds/rtps/participant/RTPSParticipant.h b/test/mock/rtps/RTPSParticipant/fastdds/rtps/participant/RTPSParticipant.h index 6d6a7c79026..36634c52f4e 100644 --- a/test/mock/rtps/RTPSParticipant/fastdds/rtps/participant/RTPSParticipant.h +++ b/test/mock/rtps/RTPSParticipant/fastdds/rtps/participant/RTPSParticipant.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #include namespace eprosima { diff --git a/test/mock/rtps/StatefulReader/rtps/reader/StatefulReader.h b/test/mock/rtps/StatefulReader/rtps/reader/StatefulReader.hpp similarity index 100% rename from test/mock/rtps/StatefulReader/rtps/reader/StatefulReader.h rename to test/mock/rtps/StatefulReader/rtps/reader/StatefulReader.hpp diff --git a/test/mock/rtps/StatelessReader/rtps/reader/StatelessReader.h b/test/mock/rtps/StatelessReader/rtps/reader/StatelessReader.hpp similarity index 100% rename from test/mock/rtps/StatelessReader/rtps/reader/StatelessReader.h rename to test/mock/rtps/StatelessReader/rtps/reader/StatelessReader.hpp diff --git a/test/unittest/dds/subscriber/DataReaderHistoryTests.cpp b/test/unittest/dds/subscriber/DataReaderHistoryTests.cpp index f62c6f52d51..3cd4f008841 100644 --- a/test/unittest/dds/subscriber/DataReaderHistoryTests.cpp +++ b/test/unittest/dds/subscriber/DataReaderHistoryTests.cpp @@ -3,7 +3,7 @@ #include #include #include -#include +#include #include diff --git a/test/unittest/rtps/history/ReaderHistoryTests.cpp b/test/unittest/rtps/history/ReaderHistoryTests.cpp index 6b30af79f1a..048e7ca750c 100644 --- a/test/unittest/rtps/history/ReaderHistoryTests.cpp +++ b/test/unittest/rtps/history/ReaderHistoryTests.cpp @@ -22,7 +22,7 @@ #include #include #include -#include +#include using namespace eprosima::fastrtps; diff --git a/test/unittest/rtps/reader/WriterProxyAcknackTests.cpp b/test/unittest/rtps/reader/WriterProxyAcknackTests.cpp index ba540487a0d..50b4befe83b 100644 --- a/test/unittest/rtps/reader/WriterProxyAcknackTests.cpp +++ b/test/unittest/rtps/reader/WriterProxyAcknackTests.cpp @@ -24,7 +24,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/test/unittest/rtps/reader/WriterProxyStopTest.cpp b/test/unittest/rtps/reader/WriterProxyStopTest.cpp index ed0935b6e23..9d7ee406110 100644 --- a/test/unittest/rtps/reader/WriterProxyStopTest.cpp +++ b/test/unittest/rtps/reader/WriterProxyStopTest.cpp @@ -21,7 +21,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/test/unittest/rtps/reader/WriterProxyTests.cpp b/test/unittest/rtps/reader/WriterProxyTests.cpp index 7786baa7975..2d6dfa0f8a2 100644 --- a/test/unittest/rtps/reader/WriterProxyTests.cpp +++ b/test/unittest/rtps/reader/WriterProxyTests.cpp @@ -24,7 +24,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/test/unittest/rtps/security/SecurityTests.hpp b/test/unittest/rtps/security/SecurityTests.hpp index eee75639488..7950424fdd9 100644 --- a/test/unittest/rtps/security/SecurityTests.hpp +++ b/test/unittest/rtps/security/SecurityTests.hpp @@ -27,8 +27,8 @@ #include #include -#include -#include +#include +#include #include #include #include