Skip to content

Commit

Permalink
Refs #21128: Update all mock's guards
Browse files Browse the repository at this point in the history
Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
  • Loading branch information
JesusPoderoso committed Jun 20, 2024
1 parent a314a17 commit 4135009
Show file tree
Hide file tree
Showing 80 changed files with 316 additions and 316 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
* This file contains static functions to help build a TypeObject.
*/

#ifndef FASTDDS_DDS_XTYPES_TYPE_REPRESENTATION_TYPEOBJECTUTILS_HPP
#define FASTDDS_DDS_XTYPES_TYPE_REPRESENTATION_TYPEOBJECTUTILS_HPP
#ifndef FASTDDS_DDS_XTYPES_TYPE_REPRESENTATION__TYPEOBJECTUTILS_HPP
#define FASTDDS_DDS_XTYPES_TYPE_REPRESENTATION__TYPEOBJECTUTILS_HPP

#include <string>

Expand Down Expand Up @@ -3131,4 +3131,4 @@ class TypeObjectUtils
} // fastdds
} // eprosima

#endif // FASTDDS_DDS_XTYPES_TYPE_REPRESENTATION_TYPEOBJECTUTILS_HPP
#endif // FASTDDS_DDS_XTYPES_TYPE_REPRESENTATION__TYPEOBJECTUTILS_HPP
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
*
*/

#ifndef _FASTDDS_BUILTIN_TYPE_LOOKUP_SERVICE_TYPE_LOOKUP_MANAGER_HPP_
#define _FASTDDS_BUILTIN_TYPE_LOOKUP_SERVICE_TYPE_LOOKUP_MANAGER_HPP_
#ifndef FASTDDS_FASTDDS_BUILTIN_TYPE_LOOKUP_SERVICE__TYPELOOKUPMANAGER_HPP
#define FASTDDS_FASTDDS_BUILTIN_TYPE_LOOKUP_SERVICE__TYPELOOKUPMANAGER_HPP

#include <cstdint>
#include <mutex>
Expand Down Expand Up @@ -440,8 +440,8 @@ class TypeLookupManager
static constexpr uint32_t typelookup_data_max_size = 5000;
};

} /* namespace builtin */
} /* namespace dds */
} /* namespace fastdds */
} /* namespace eprosima */
#endif /* _FASTDDS_BUILTIN_TYPE_LOOKUP_SERVICE_TYPE_LOOKUP_MANAGER_HPP_ */
} // namespace builtin
} // namespace dds
} // namespace fastdds
} // namespace eprosima
#endif // FASTDDS_FASTDDS_BUILTIN_TYPE_LOOKUP_SERVICE__TYPELOOKUPMANAGER_HPP
12 changes: 6 additions & 6 deletions src/cpp/fastdds/domain/DomainParticipantImpl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
*
*/

#ifndef _FASTDDS_PARTICIPANTIMPL_HPP_
#define _FASTDDS_PARTICIPANTIMPL_HPP_
#ifndef FASTDDS_DOMAIN__DOMAINPARTICIPANTIMPL_HPP
#define FASTDDS_DOMAIN__DOMAINPARTICIPANTIMPL_HPP
#ifndef DOXYGEN_SHOULD_SKIP_THIS_PUBLIC

#include <atomic>
Expand Down Expand Up @@ -701,8 +701,8 @@ class DomainParticipantImpl
const DomainParticipantQos& from);
};

} /* namespace dds */
} /* namespace fastdds */
} /* namespace eprosima */
} // namespace dds
} // namespace fastdds
} // namespace eprosima
#endif // ifndef DOXYGEN_SHOULD_SKIP_THIS_PUBLIC
#endif /* _FASTDDS_PARTICIPANTIMPL_HPP_ */
#endif // FASTDDS_DOMAIN__DOMAINPARTICIPANTIMPL_HPP
6 changes: 3 additions & 3 deletions src/cpp/fastdds/publisher/DataWriterHistory.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
* @file DataWriterHistory.hpp
*/

#ifndef _FASTDDS_PUBLISHER_DATAWRITERHISTORY_HPP_
#define _FASTDDS_PUBLISHER_DATAWRITERHISTORY_HPP_
#ifndef FASTDDS_PUBLISHER__DATAWRITERHISTORY_HPP
#define FASTDDS_PUBLISHER__DATAWRITERHISTORY_HPP

#include <chrono>
#include <mutex>
Expand Down Expand Up @@ -293,4 +293,4 @@ class DataWriterHistory : public rtps::WriterHistory
} // namespace fastdds
} // namespace eprosima

#endif // _FASTDDS_PUBLISHER_DATAWRITERHISTORY_HPP_
#endif // FASTDDS_PUBLISHER__DATAWRITERHISTORY_HPP
12 changes: 6 additions & 6 deletions src/cpp/fastdds/publisher/PublisherImpl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@



#ifndef _FASTDDS_PUBLISHERIMPL_HPP_
#define _FASTDDS_PUBLISHERIMPL_HPP_
#ifndef FASTDDS_PUBLISHER_PUBLISHERIMPL_HPP
#define FASTDDS_PUBLISHER_PUBLISHERIMPL_HPP
#ifndef DOXYGEN_SHOULD_SKIP_THIS_PUBLIC


Expand Down Expand Up @@ -278,8 +278,8 @@ class PublisherImpl

};

} /* namespace dds */
} /* namespace fastdds */
} /* namespace eprosima */
} // namespace dds
} // namespace fastdds
} // namespace eprosima
#endif // ifndef DOXYGEN_SHOULD_SKIP_THIS_PUBLIC
#endif /* _FASTDDS_PUBLISHER_HPP_ */
#endif // FASTDDS_PUBLISHER_PUBLISHERIMPL_HPP
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
* This file contains the required classes to keep a TypeObject/TypeIdentifier registry.
*/

#ifndef _FASTDDS_DDS_XTYPES_TYPE_REPRESENTATION_TYPEOBJECTREGISTRY_HPP_
#define _FASTDDS_DDS_XTYPES_TYPE_REPRESENTATION_TYPEOBJECTREGISTRY_HPP_
#ifndef FASTDDS_DDS_XTYPES_TYPE_REPRESENTATION__TYPEOBJECTREGISTRY_HPP
#define FASTDDS_DDS_XTYPES_TYPE_REPRESENTATION__TYPEOBJECTREGISTRY_HPP

#include <mutex>
#include <string>
Expand Down Expand Up @@ -1106,9 +1106,9 @@ class TypeObjectRegistry : public ITypeObjectRegistry

};

} // xtypes
} // dds
} // fastdds
} // eprosima
} // namespace xtypes
} // namespace dds
} // namespace fastdds
} // namespace eprosima

#endif // _FASTDDS_DDS_XTYPES_TYPE_REPRESENTATION_TYPEOBJECTREGISTRY_HPP_
#endif // FASTDDS_DDS_XTYPES_TYPE_REPRESENTATION__TYPEOBJECTREGISTRY_HPP
6 changes: 3 additions & 3 deletions src/cpp/rtps/DataSharing/DataSharingPayloadPool.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
* @file DataSharingPayloadPool.hpp
*/

#ifndef RTPS_DATASHARING_DATASHARINGPAYLOADPOOL_HPP
#define RTPS_DATASHARING_DATASHARINGPAYLOADPOOL_HPP
#ifndef FASTDDS_RTPS_DATASHARING__DATASHARINGPAYLOADPOOL_HPP
#define FASTDDS_RTPS_DATASHARING__DATASHARINGPAYLOADPOOL_HPP

#include <fastdds/rtps/common/CacheChange.hpp>
#include <fastdds/rtps/history/IPayloadPool.hpp>
Expand Down Expand Up @@ -383,4 +383,4 @@ class DataSharingPayloadPool : public IPayloadPool
} // namespace fastdds
} // namespace eprosima

#endif // RTPS_DATASHARING_DATASHARINGPAYLOADPOOL_HPP
#endif // FASTDDS_RTPS_DATASHARING__DATASHARINGPAYLOADPOOL_HPP
6 changes: 3 additions & 3 deletions src/cpp/rtps/DataSharing/ReaderPool.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
* @file ReaderPool.hpp
*/

#ifndef RTPS_DATASHARING_READERPOOL_HPP
#define RTPS_DATASHARING_READERPOOL_HPP
#ifndef FASTDDS_RTPS_DATASHARING__READERPOOL_HPP
#define FASTDDS_RTPS_DATASHARING__READERPOOL_HPP

#include <fastdds/rtps/attributes/ResourceManagement.hpp>
#include <fastdds/rtps/common/CacheChange.hpp>
Expand Down Expand Up @@ -311,4 +311,4 @@ class ReaderPool : public DataSharingPayloadPool
} // namespace fastdds
} // namespace eprosima

#endif // RTPS_DATASHARING_DATASHARINGPAYLOADPOOLIMPL_READERPOOL_HPP
#endif // FASTDDS_RTPS_DATASHARING__READERPOOL_HPP
6 changes: 3 additions & 3 deletions src/cpp/rtps/RTPSDomainImpl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
// limitations under the License.


#ifndef _RTPS_RTPSDOMAINIMPL_HPP_
#define _RTPS_RTPSDOMAINIMPL_HPP_
#ifndef FASTDDS_RTPS__RTPSDOMAINIMPL_HPP
#define FASTDDS_RTPS__RTPSDOMAINIMPL_HPP

#include <chrono>
#include <memory>
Expand Down Expand Up @@ -325,4 +325,4 @@ class RTPSDomainImpl
} // namespace fastdds
} // namespace eprosima

#endif // _RTPS_RTPSDOMAINIMPL_HPP_
#endif // FASTDDS_RTPS__RTPSDOMAINIMPL_HPP
10 changes: 5 additions & 5 deletions src/cpp/rtps/builtin/BuiltinProtocols.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
*
*/

#ifndef _FASTDDS_RTPS_BUILTINPROTOCOLS_H_
#define _FASTDDS_RTPS_BUILTINPROTOCOLS_H_
#ifndef FASTDDS_RTPS_BUILTIN__BUILTINPROTOCOLS_H
#define FASTDDS_RTPS_BUILTIN__BUILTINPROTOCOLS_H
#ifndef DOXYGEN_SHOULD_SKIP_THIS_PUBLIC

#include <list>
Expand Down Expand Up @@ -208,7 +208,7 @@ class BuiltinProtocols
};

} // namespace rtps
} /* namespace rtps */
} /* namespace eprosima */
} // namespace rtps
} // namespace eprosima
#endif // ifndef DOXYGEN_SHOULD_SKIP_THIS_PUBLIC
#endif /* _FASTDDS_RTPS_BUILTINPROTOCOLS_H_ */
#endif // FASTDDS_RTPS_BUILTIN__BUILTINPROTOCOLS_H
12 changes: 6 additions & 6 deletions src/cpp/rtps/builtin/discovery/endpoint/EDP.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
*
*/

#ifndef _FASTDDS_RTPS_EDP_H_
#define _FASTDDS_RTPS_EDP_H_
#ifndef FASTDDS_RTPS_BUILTIN_DISCOVERY_ENDPOINT_EDP_H
#define FASTDDS_RTPS_BUILTIN_DISCOVERY_ENDPOINT_EDP_H
#ifndef DOXYGEN_SHOULD_SKIP_THIS_PUBLIC

#include <foonathan/memory/container.hpp>
Expand Down Expand Up @@ -401,9 +401,9 @@ class EDP
foonathan::memory::map<GUID_t, fastdds::dds::PublicationMatchedStatus, pool_allocator_t> writer_status_;
};

} /* namespace rtps */
} /* namespace fastdds */
} /* namespace eprosima */
} // namespace rtps
} // namespace fastdds
} // namespace eprosima

#endif // ifndef DOXYGEN_SHOULD_SKIP_THIS_PUBLIC
#endif /* _FASTDDS_RTPS_EDP_H_ */
#endif // FASTDDS_RTPS_BUILTIN_DISCOVERY_ENDPOINT_EDP_H
12 changes: 6 additions & 6 deletions src/cpp/rtps/builtin/discovery/participant/PDP.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
*
*/

#ifndef _FASTDDS_RTPS_PDP_H_
#define _FASTDDS_RTPS_PDP_H_
#ifndef FASTDDS_RTPS_BUILTIN_DISCOVERY_PARTICIPANT__PDP_H
#define FASTDDS_RTPS_BUILTIN_DISCOVERY_PARTICIPANT__PDP_H
#ifndef DOXYGEN_SHOULD_SKIP_THIS_PUBLIC

#include <atomic>
Expand Down Expand Up @@ -666,9 +666,9 @@ extern const Duration_t pdp_heartbeat_response_delay;

extern const int32_t pdp_initial_reserved_caches;

} /* namespace rtps */
} /* namespace fastdds */
} /* namespace eprosima */
} // namespace rtps
} // namespace fastdds
} // namespace eprosima

#endif // ifndef DOXYGEN_SHOULD_SKIP_THIS_PUBLIC
#endif /* _FASTDDS_RTPS_PDP_H_ */
#endif // FASTDDS_RTPS_BUILTIN_DISCOVERY_PARTICIPANT__PDP_H
12 changes: 6 additions & 6 deletions src/cpp/rtps/builtin/discovery/participant/PDPSimple.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
*
*/

#ifndef _FASTDDS_RTPS_BUILTIN_DISCOVERY_PARTICIPANT_PDPSIMPLE_H_
#define _FASTDDS_RTPS_BUILTIN_DISCOVERY_PARTICIPANT_PDPSIMPLE_H_
#ifndef FASTDDS_RTPS_BUILTIN_DISCOVERY_PARTICIPANT__PDPSIMPLE_H
#define FASTDDS_RTPS_BUILTIN_DISCOVERY_PARTICIPANT__PDPSIMPLE_H
#ifndef DOXYGEN_SHOULD_SKIP_THIS_PUBLIC

#include <rtps/builtin/discovery/participant/PDP.h>
Expand Down Expand Up @@ -163,9 +163,9 @@ class PDPSimple : public PDP

};

} /* namespace rtps */
} /* namespace fastdds */
} /* namespace eprosima */
} // namespace rtps
} // namespace fastdds
} // namespace eprosima

#endif // ifndef DOXYGEN_SHOULD_SKIP_THIS_PUBLIC
#endif //_FASTDDS_RTPS_BUILTIN_DISCOVERY_PARTICIPANT_PDPSIMPLE_H_
#endif //FASTDDS_RTPS_BUILTIN_DISCOVERY_PARTICIPANT__PDPSIMPLE_H
6 changes: 3 additions & 3 deletions src/cpp/rtps/builtin/liveliness/WLP.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
*
*/

#ifndef _FASTDDS_RTPS_WLP_HPP_
#define _FASTDDS_RTPS_WLP_HPP_
#ifndef FASTDDS_RTPS_BUILTIN_LIVELINESS__WLP_HPP
#define FASTDDS_RTPS_BUILTIN_LIVELINESS__WLP_HPP
#ifndef DOXYGEN_SHOULD_SKIP_THIS_PUBLIC

#include <cstdint>
Expand Down Expand Up @@ -324,4 +324,4 @@ class WLP
} /* namespace eprosima */

#endif // ifndef DOXYGEN_SHOULD_SKIP_THIS_PUBLIC
#endif /* _FASTDDS_RTPS_WLP_HPP_ */
#endif /* FASTDDS_RTPS_BUILTIN_LIVELINESS__WLP_HPP */
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
* @file TopicPayloadPoolProxy.hpp
*/

#ifndef RTPS_HISTORY_TOPICPAYLOADPOOLREGISTRY_IMPL_TOPICPAYLOADPOOLPROXY_HPP
#define RTPS_HISTORY_TOPICPAYLOADPOOLREGISTRY_IMPL_TOPICPAYLOADPOOLPROXY_HPP
#ifndef FASTDDS_RTPS_HISTORY_TOPICPAYLOADPOOLREGISTRY_IMPL__TOPICPAYLOADPOOLPROXY_HPP
#define FASTDDS_RTPS_HISTORY_TOPICPAYLOADPOOLREGISTRY_IMPL__TOPICPAYLOADPOOLPROXY_HPP

#include <memory>
#include <string>
Expand Down Expand Up @@ -112,4 +112,4 @@ class TopicPayloadPoolProxy : public ITopicPayloadPool
} // namespace fastdds
} // namespace eprosima

#endif // RTPS_HISTORY_TOPICPAYLOADPOOLREGISTRY_IMPL_TOPICPAYLOADPOOLPROXY_HPP
#endif // FASTDDS_RTPS_HISTORY_TOPICPAYLOADPOOLREGISTRY_IMPL__TOPICPAYLOADPOOLPROXY_HPP
12 changes: 6 additions & 6 deletions src/cpp/rtps/messages/MessageReceiver.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
* @file MessageReceiver.h
*/

#ifndef _FASTDDS_RTPS_MESSAGERECEIVER_H_
#define _FASTDDS_RTPS_MESSAGERECEIVER_H_
#ifndef FASTDDS_RTPS_MESSAGES__MESSAGERECEIVER_H
#define FASTDDS_RTPS_MESSAGES__MESSAGERECEIVER_H
#ifndef DOXYGEN_SHOULD_SKIP_THIS_PUBLIC

#include <functional>
Expand Down Expand Up @@ -301,9 +301,9 @@ class MessageReceiver

};

} /* namespace rtps */
} /* namespace fastdds */
} /* namespace eprosima */
} // namespace rtps
} // namespace fastdds
} // namespace eprosima

#endif // ifndef DOXYGEN_SHOULD_SKIP_THIS_PUBLIC
#endif /* _FASTDDS_RTPS_MESSAGERECEIVER_H_ */
#endif // FASTDDS_RTPS_MESSAGES__MESSAGERECEIVER_H
12 changes: 6 additions & 6 deletions src/cpp/rtps/messages/RTPSGapBuilder.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
*
*/

#ifndef RTPSGAPBUILDER_HPP
#define RTPSGAPBUILDER_HPP
#ifndef FASTDDS_RTPS_MESSAGES__RTPSGAPBUILDER_HPP
#define FASTDDS_RTPS_MESSAGES__RTPSGAPBUILDER_HPP
#ifndef DOXYGEN_SHOULD_SKIP_THIS_PUBLIC

#include "RTPSMessageGroup.hpp"
Expand Down Expand Up @@ -99,9 +99,9 @@ class RTPSGapBuilder
GUID_t reader_guid_; ///< Specific destination reader guid.
};

} /* namespace rtps */
} /* namespace fastdds */
} /* namespace eprosima */
} // namespace rtps
} // namespace fastdds
} // namespace eprosima

#endif // ifndef DOXYGEN_SHOULD_SKIP_THIS_PUBLIC
#endif /* RTPSGAPBUILDER_HPP */
#endif // FASTDDS_RTPS_MESSAGES__RTPSGAPBUILDER_HPP
12 changes: 6 additions & 6 deletions src/cpp/rtps/messages/RTPSMessageGroup.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
*
*/

#ifndef _FASTDDS_RTPS_RTPSMESSAGEGROUP_H_
#define _FASTDDS_RTPS_RTPSMESSAGEGROUP_H_
#ifndef FASTDDS_RTPS_MESSAGES__RTPSMESSAGEGROUP_H
#define FASTDDS_RTPS_MESSAGES__RTPSMESSAGEGROUP_H
#ifndef DOXYGEN_SHOULD_SKIP_THIS_PUBLIC

#include <vector>
Expand Down Expand Up @@ -373,9 +373,9 @@ class RTPSMessageGroup
const octet padding_[3] = {0, 0, 0};
};

} /* namespace rtps */
} /* namespace fastdds */
} /* namespace eprosima */
} // namespace rtps
} // namespace fastdds
} // namespace eprosima

#endif // ifndef DOXYGEN_SHOULD_SKIP_THIS_PUBLIC
#endif /* _FASTDDS_RTPS_RTPSMESSAGEGROUP_H_ */
#endif // FASTDDS_RTPS_MESSAGES__RTPSMESSAGEGROUP_H
Loading

0 comments on commit 4135009

Please sign in to comment.