Skip to content

Commit ccacad0

Browse files
Make all public headers .hpp (#4958)
* Refs #21128: fuzz/C++/fuzz_XMLProfiles/fuzz_utils.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/attributes/EndpointAttributes.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/attributes/EndpointSecurityAttributes.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/attributes/HistoryAttributes.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/attributes/PropertyPolicy.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/attributes/ReaderAttributes.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/attributes/RTPSParticipantAttributes.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/attributes/ServerAttributes.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/attributes/TopicAttributes.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/attributes/WriterAttributes.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/builtin/data/ReaderProxyData.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/builtin/data/WriterProxyData.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/common/BinaryProperty.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/common/CacheChange.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/common/CDRMessage_t.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/common/FragmentNumber.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/common/Guid.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/common/InstanceHandle.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/common/Locator.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/common/MatchingInfo.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/common/PortParameters.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/common/Property.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/common/SampleIdentity.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/common/SequenceNumber.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/common/SerializedPayload.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/common/Time_t.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/common/Token.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/common/Types.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/common/WriteParams.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/history/History.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/history/IChangePool.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/history/IPayloadPool.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/history/ReaderHistory.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/history/WriterHistory.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/messages/RTPS_messages.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/participant/ParticipantDiscoveryInfo.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/participant/RTPSParticipant.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/participant/RTPSParticipantListener.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/reader/ReaderDiscoveryInfo.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/reader/ReaderListener.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/reader/RTPSReader.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/resources/ResourceManagement.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/transport/shared_mem/SharedMemTransportDescriptor.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/transport/ChainingTransport.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/transport/ChainingTransportDescriptor.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/transport/SenderResource.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/transport/SocketTransportDescriptor.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/transport/TCPTransportDescriptor.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/transport/TCPv4TransportDescriptor.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/transport/TCPv6TransportDescriptor.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/transport/test_UDPv4TransportDescriptor.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/transport/TransportDescriptorInterface.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/transport/TransportInterface.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/transport/TransportReceiverInterface.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/transport/UDPTransportDescriptor.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/transport/UDPv4TransportDescriptor.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/transport/UDPv6TransportDescriptor.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/writer/RTPSWriter.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/writer/WriterDiscoveryInfo.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/writer/WriterListener.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/Endpoint.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/RTPSDomain.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/utils/IPFinder.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/utils/IPLocator.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: Update versions.md Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/utils/md5.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: Update guards in include/fastdds/dds Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: Update guards in include/fastdds/rtps Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: Update missing guards in include/fastdds/statistics and some more Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: Set config.h as config.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: Remove uncrustify autogenerated 'ifndef' from closing guard Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: Set missing closing namespace with proper comment Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: Please linter (avoiding generated files) Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: Fix MD5 namespacing issues Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: Apply rev suggestions Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: Fix manually set .h to .hpp gen dependencies Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: Update mock's guards and .h to .hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: Update all mock's guards Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: Please linter Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: Regenerate types Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: fastdds/rtps/transport/shared_mem/test_SharedMemTransportDescriptor.hpp Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: Apply rev suggestions Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: Add includes missed in the rebase Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> * Refs #21128: Regenerate types (2) Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com> --------- Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
1 parent 068092b commit ccacad0

1,122 files changed

Lines changed: 6474 additions & 6225 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

examples/cpp/configuration/Configuration.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
* This file was generated by the tool fastddsgen.
2020
*/
2121

22-
#ifndef _FAST_DDS_GENERATED_CONFIGURATION_HPP_
23-
#define _FAST_DDS_GENERATED_CONFIGURATION_HPP_
22+
#ifndef FAST_DDS_GENERATED__CONFIGURATION_HPP
23+
#define FAST_DDS_GENERATED__CONFIGURATION_HPP
2424

2525
#include <array>
2626
#include <cstdint>

examples/cpp/configuration/ConfigurationCdrAux.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
* This file was generated by the tool fastddsgen.
2020
*/
2121

22-
#ifndef _FAST_DDS_GENERATED_CONFIGURATIONCDRAUX_HPP_
23-
#define _FAST_DDS_GENERATED_CONFIGURATIONCDRAUX_HPP_
22+
#ifndef FAST_DDS_GENERATED__CONFIGURATIONCDRAUX_HPP
23+
#define FAST_DDS_GENERATED__CONFIGURATIONCDRAUX_HPP
2424

2525
#include "Configuration.hpp"
2626

@@ -42,5 +42,5 @@ eProsima_user_DllExport void serialize_key(
4242
} // namespace fastcdr
4343
} // namespace eprosima
4444

45-
#endif // _FAST_DDS_GENERATED_CONFIGURATIONCDRAUX_HPP_
45+
#endif // FAST_DDS_GENERATED__CONFIGURATIONCDRAUX_HPP
4646

examples/cpp/configuration/ConfigurationCdrAux.ipp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
* This file was generated by the tool fastddsgen.
2020
*/
2121

22-
#ifndef _FAST_DDS_GENERATED_CONFIGURATIONCDRAUX_IPP_
23-
#define _FAST_DDS_GENERATED_CONFIGURATIONCDRAUX_IPP_
22+
#ifndef FAST_DDS_GENERATED__CONFIGURATIONCDRAUX_IPP
23+
#define FAST_DDS_GENERATED__CONFIGURATIONCDRAUX_IPP
2424

2525
#include "ConfigurationCdrAux.hpp"
2626

@@ -130,5 +130,5 @@ void serialize_key(
130130
} // namespace fastcdr
131131
} // namespace eprosima
132132

133-
#endif // _FAST_DDS_GENERATED_CONFIGURATIONCDRAUX_IPP_
133+
#endif // FAST_DDS_GENERATED__CONFIGURATIONCDRAUX_IPP
134134

examples/cpp/configuration/ConfigurationPubSubTypes.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* This file was generated by the tool fastddsgen.
2020
*/
2121

22-
#include "ConfigurationPubSubTypes.h"
22+
#include "ConfigurationPubSubTypes.hpp"
2323

2424
#include <fastdds/dds/log/Log.hpp>
2525
#include <fastdds/rtps/common/CdrSerialization.hpp>

examples/cpp/configuration/ConfigurationPubSubTypes.h renamed to examples/cpp/configuration/ConfigurationPubSubTypes.hpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,21 @@
1313
// limitations under the License.
1414

1515
/*!
16-
* @file ConfigurationPubSubTypes.h
16+
* @file ConfigurationPubSubTypes.hpp
1717
* This header file contains the declaration of the serialization functions.
1818
*
1919
* This file was generated by the tool fastddsgen.
2020
*/
2121

2222

23-
#ifndef _FAST_DDS_GENERATED_CONFIGURATION_PUBSUBTYPES_H_
24-
#define _FAST_DDS_GENERATED_CONFIGURATION_PUBSUBTYPES_H_
23+
#ifndef FAST_DDS_GENERATED__CONFIGURATION_PUBSUBTYPES_HPP
24+
#define FAST_DDS_GENERATED__CONFIGURATION_PUBSUBTYPES_HPP
2525

2626
#include <fastdds/dds/core/policy/QosPolicies.hpp>
2727
#include <fastdds/dds/topic/TopicDataType.hpp>
28-
#include <fastdds/rtps/common/InstanceHandle.h>
29-
#include <fastdds/rtps/common/SerializedPayload.h>
30-
#include <fastdds/utils/md5.h>
28+
#include <fastdds/rtps/common/InstanceHandle.hpp>
29+
#include <fastdds/rtps/common/SerializedPayload.hpp>
30+
#include <fastdds/utils/md5.hpp>
3131

3232
#include "Configuration.hpp"
3333

@@ -106,7 +106,7 @@ class ConfigurationPubSubType : public eprosima::fastdds::dds::TopicDataType
106106
}
107107

108108
eProsima_user_DllExport inline bool is_plain(
109-
eprosima::fastdds::dds::DataRepresentationId_t data_representation) const override
109+
eprosima::fastdds::dds::DataRepresentationId_t data_representation) const override
110110
{
111111
static_cast<void>(data_representation);
112112
return false;
@@ -124,10 +124,10 @@ class ConfigurationPubSubType : public eprosima::fastdds::dds::TopicDataType
124124

125125
#endif // TOPIC_DATA_TYPE_API_HAS_CONSTRUCT_SAMPLE
126126

127-
MD5 m_md5;
127+
eprosima::fastdds::MD5 m_md5;
128128
unsigned char* m_keyBuffer;
129129

130130
};
131131

132-
#endif // _FAST_DDS_GENERATED_CONFIGURATION_PUBSUBTYPES_H_
132+
#endif // FAST_DDS_GENERATED__CONFIGURATION_PUBSUBTYPES_HPP
133133

examples/cpp/configuration/ConfigurationTypeObjectSupport.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
* This file was generated by the tool fastddsgen.
2020
*/
2121

22-
#ifndef _FAST_DDS_GENERATED_CONFIGURATION_TYPE_OBJECT_SUPPORT_HPP_
23-
#define _FAST_DDS_GENERATED_CONFIGURATION_TYPE_OBJECT_SUPPORT_HPP_
22+
#ifndef FAST_DDS_GENERATED__CONFIGURATION_TYPE_OBJECT_SUPPORT_HPP
23+
#define FAST_DDS_GENERATED__CONFIGURATION_TYPE_OBJECT_SUPPORT_HPP
2424

2525
#include <fastdds/dds/xtypes/type_representation/TypeObject.hpp>
2626

@@ -53,4 +53,4 @@ eProsima_user_DllExport void register_Configuration_type_identifier(
5353

5454
#endif // DOXYGEN_SHOULD_SKIP_THIS_PUBLIC
5555

56-
#endif // _FAST_DDS_GENERATED_CONFIGURATION_TYPE_OBJECT_SUPPORT_HPP_
56+
#endif // FAST_DDS_GENERATED__CONFIGURATION_TYPE_OBJECT_SUPPORT_HPP

examples/cpp/configuration/PublisherApp.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@
3131
#include <fastdds/dds/publisher/Publisher.hpp>
3232
#include <fastdds/dds/publisher/qos/DataWriterQos.hpp>
3333
#include <fastdds/dds/publisher/qos/PublisherQos.hpp>
34-
#include <fastdds/rtps/transport/shared_mem/SharedMemTransportDescriptor.h>
35-
#include <fastdds/rtps/transport/UDPv4TransportDescriptor.h>
36-
#include <fastdds/rtps/transport/UDPv6TransportDescriptor.h>
34+
#include <fastdds/rtps/transport/shared_mem/SharedMemTransportDescriptor.hpp>
35+
#include <fastdds/rtps/transport/UDPv4TransportDescriptor.hpp>
36+
#include <fastdds/rtps/transport/UDPv6TransportDescriptor.hpp>
3737

3838
using namespace eprosima::fastdds::dds;
3939
using namespace eprosima::fastdds::rtps;

examples/cpp/configuration/PublisherApp.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
#include "Application.hpp"
3131
#include "CLIParser.hpp"
32-
#include "ConfigurationPubSubTypes.h"
32+
#include "ConfigurationPubSubTypes.hpp"
3333

3434
using namespace eprosima::fastdds::dds;
3535

examples/cpp/configuration/SubscriberApp.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@
2929
#include <fastdds/dds/subscriber/qos/SubscriberQos.hpp>
3030
#include <fastdds/dds/subscriber/SampleInfo.hpp>
3131
#include <fastdds/dds/subscriber/Subscriber.hpp>
32-
#include <fastdds/rtps/transport/shared_mem/SharedMemTransportDescriptor.h>
33-
#include <fastdds/rtps/transport/UDPv4TransportDescriptor.h>
34-
#include <fastdds/rtps/transport/UDPv6TransportDescriptor.h>
32+
#include <fastdds/rtps/transport/shared_mem/SharedMemTransportDescriptor.hpp>
33+
#include <fastdds/rtps/transport/UDPv4TransportDescriptor.hpp>
34+
#include <fastdds/rtps/transport/UDPv6TransportDescriptor.hpp>
3535

3636
#include "Application.hpp"
3737
#include "CLIParser.hpp"
38-
#include "ConfigurationPubSubTypes.h"
38+
#include "ConfigurationPubSubTypes.hpp"
3939

4040
using namespace eprosima::fastdds::dds;
4141
using namespace eprosima::fastdds::rtps;

examples/cpp/configuration/SubscriberApp.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
#include "Application.hpp"
3434
#include "CLIParser.hpp"
35-
#include "ConfigurationPubSubTypes.h"
35+
#include "ConfigurationPubSubTypes.hpp"
3636

3737
using namespace eprosima::fastdds::dds;
3838

0 commit comments

Comments
 (0)