Skip to content

Commit

Permalink
Refs #20709: Make private CDRMessage.h and move CDRMessage.hpp to CDR…
Browse files Browse the repository at this point in the history
…Message.cpp

Signed-off-by: elianalf <62831776+elianalf@users.noreply.github.com>
  • Loading branch information
elianalf committed Apr 4, 2024
1 parent 287aa76 commit 635968e
Show file tree
Hide file tree
Showing 30 changed files with 95 additions and 141 deletions.
2 changes: 1 addition & 1 deletion include/fastdds/dds/core/policy/ParameterTypes.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

#include <fastdds/rtps/common/all_common.h>
#include <fastdds/rtps/common/Token.h>
#include <fastdds/rtps/messages/CDRMessage.h>
#include <fastdds/rtps/common/CDRMessage_t.h>

#if HAVE_SECURITY
#include <fastdds/rtps/security/accesscontrol/ParticipantSecurityAttributes.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include <vector>

#include <fastdds/rtps/common/Guid.h>
#include <fastdds/rtps/messages/CDRMessage.h>
#include <fastdds/rtps/common/CDRMessage_t.h>

namespace eprosima {
namespace fastrtps {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@
#define _FASTDDS_TEST_UDPV4_TRANSPORT_DESCRIPTOR_

#include <functional>
#include <atomic>

#include <fastdds/rtps/transport/SocketTransportDescriptor.h>
#include <fastdds/rtps/common/SequenceNumber.h>
#include <fastdds/rtps/messages/CDRMessage.h>
#include <fastdds/rtps/common/CDRMessage_t.h>

namespace eprosima {
namespace fastdds {
Expand Down
24 changes: 0 additions & 24 deletions include/fastrtps/rtps/common/CDRMessage_t.h

This file was deleted.

24 changes: 0 additions & 24 deletions include/fastrtps/rtps/messages/CDRMessage.h

This file was deleted.

2 changes: 1 addition & 1 deletion src/cpp/fastdds/core/policy/ParameterList.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
#include <fastdds/dds/core/policy/ParameterTypes.hpp>
#include <fastdds/rtps/messages/RTPS_messages.h>
#include <fastdds/rtps/common/CDRMessage_t.h>
#include <fastdds/rtps/messages/CDRMessage.h>
#include <fastdds/rtps/common/CacheChange.h>
#include <rtps/messages/CDRMessage.h>

#include <functional>

Expand Down
2 changes: 1 addition & 1 deletion src/cpp/fastdds/topic/ContentFilterInfo.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include <fastdds/dds/core/policy/ParameterTypes.hpp>
#include <fastdds/rtps/common/SerializedPayload.h>
#include <fastdds/rtps/common/CDRMessage_t.h>
#include <fastdds/rtps/messages/CDRMessage.h>
#include <rtps/messages/CDRMessage.h>

namespace eprosima {
namespace fastdds {
Expand Down
3 changes: 1 addition & 2 deletions src/cpp/fastdds/topic/ContentFilteredTopicImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,12 @@
#include <fastdds/dds/core/policy/ParameterTypes.hpp>
#include <fastdds/dds/domain/DomainParticipant.hpp>
#include <fastdds/dds/domain/qos/DomainParticipantQos.hpp>
#include <fastdds/rtps/messages/CDRMessage.h>
#include <fastdds/subscriber/DataReaderImpl.hpp>
#include <fastdds/topic/ContentFilterUtils.hpp>
#include <fastdds/topic/TopicProxy.hpp>
#include <fastdds/utils/md5.h>
#include <fastrtps/types/TypesBase.h>

#include <rtps/messages/CDRMessage.h>

namespace eprosima {
namespace fastdds {
Expand Down
2 changes: 1 addition & 1 deletion src/cpp/rtps/builtin/liveliness/WLPListener.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@
#include <fastdds/rtps/common/SerializedPayload.h>
#include <fastdds/rtps/common/Types.h>
#include <fastdds/rtps/history/ReaderHistory.h>
#include <fastdds/rtps/messages/CDRMessage.h>
#include <fastdds/rtps/reader/RTPSReader.h>

#include <rtps/builtin/BuiltinProtocols.h>
#include <rtps/builtin/discovery/participant/PDPSimple.h>
#include <rtps/builtin/liveliness/WLP.h>
#include <rtps/messages/CDRMessage.h>
#include <rtps/writer/LivelinessManager.hpp>

namespace eprosima {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@
#ifndef DOXYGEN_SHOULD_SKIP_THIS

/**
* @file CDRMessage.hpp
* @file CDRMessage.cpp
*
*/

#include "CDRMessage.h"

#include <cassert>
#include <cstring>
#include <algorithm>
Expand Down
Loading

0 comments on commit 635968e

Please sign in to comment.