From 50ad5cda546ea033b190ab524e1f3e2dfd394dfc Mon Sep 17 00:00:00 2001 From: Lucia Echevarria Date: Mon, 16 Sep 2024 10:31:51 +0200 Subject: [PATCH 1/2] Add DLL Export to Protected Methods in CommonParticipant and SimpleParticipant Classes Signed-off-by: Lucia Echevarria --- .../ddspipe_participants/participant/rtps/CommonParticipant.hpp | 2 ++ .../ddspipe_participants/participant/rtps/SimpleParticipant.hpp | 1 + 2 files changed, 3 insertions(+) diff --git a/ddspipe_participants/include/ddspipe_participants/participant/rtps/CommonParticipant.hpp b/ddspipe_participants/include/ddspipe_participants/participant/rtps/CommonParticipant.hpp index 885605d0..3959bb0d 100644 --- a/ddspipe_participants/include/ddspipe_participants/participant/rtps/CommonParticipant.hpp +++ b/ddspipe_participants/include/ddspipe_participants/participant/rtps/CommonParticipant.hpp @@ -210,6 +210,7 @@ class CommonParticipant * @brief Virtual method that sets the common properties of std attributes for a Participant. * */ + DDSPIPE_PARTICIPANTS_DllAPI virtual fastdds::rtps::RTPSParticipantAttributes add_participant_att_properties_( fastdds::rtps::RTPSParticipantAttributes& params) const; @@ -217,6 +218,7 @@ class CommonParticipant * @brief Virtual method that gives the std attributes for a Participant. * */ + DDSPIPE_PARTICIPANTS_DllAPI virtual fastdds::rtps::RTPSParticipantAttributes reckon_participant_attributes_() const; ///// diff --git a/ddspipe_participants/include/ddspipe_participants/participant/rtps/SimpleParticipant.hpp b/ddspipe_participants/include/ddspipe_participants/participant/rtps/SimpleParticipant.hpp index 71459bbc..166ded30 100644 --- a/ddspipe_participants/include/ddspipe_participants/participant/rtps/SimpleParticipant.hpp +++ b/ddspipe_participants/include/ddspipe_participants/participant/rtps/SimpleParticipant.hpp @@ -52,6 +52,7 @@ class SimpleParticipant : public CommonParticipant /** * @brief Static method that gives the attributes for a Simple Participant. */ + DDSPIPE_PARTICIPANTS_DllAPI fastdds::rtps::RTPSParticipantAttributes reckon_participant_attributes_() const override; }; From e8b1b691002054988c6433a0a1031028aff08324 Mon Sep 17 00:00:00 2001 From: Lucia Echevarria Date: Mon, 16 Sep 2024 10:51:30 +0200 Subject: [PATCH 2/2] Add DLL export also in InitialPeersParticipant and DiscoveryServerParticipant Signed-off-by: Lucia Echevarria --- .../participant/rtps/DiscoveryServerParticipant.hpp | 1 + .../participant/rtps/InitialPeersParticipant.hpp | 1 + 2 files changed, 2 insertions(+) diff --git a/ddspipe_participants/include/ddspipe_participants/participant/rtps/DiscoveryServerParticipant.hpp b/ddspipe_participants/include/ddspipe_participants/participant/rtps/DiscoveryServerParticipant.hpp index e3640006..d68c95b0 100644 --- a/ddspipe_participants/include/ddspipe_participants/participant/rtps/DiscoveryServerParticipant.hpp +++ b/ddspipe_participants/include/ddspipe_participants/participant/rtps/DiscoveryServerParticipant.hpp @@ -41,6 +41,7 @@ class DiscoveryServerParticipant protected: + DDSPIPE_PARTICIPANTS_DllAPI fastdds::rtps::RTPSParticipantAttributes reckon_participant_attributes_() const override; }; diff --git a/ddspipe_participants/include/ddspipe_participants/participant/rtps/InitialPeersParticipant.hpp b/ddspipe_participants/include/ddspipe_participants/participant/rtps/InitialPeersParticipant.hpp index 2eca30da..3943ef33 100644 --- a/ddspipe_participants/include/ddspipe_participants/participant/rtps/InitialPeersParticipant.hpp +++ b/ddspipe_participants/include/ddspipe_participants/participant/rtps/InitialPeersParticipant.hpp @@ -41,6 +41,7 @@ class InitialPeersParticipant protected: + DDSPIPE_PARTICIPANTS_DllAPI fastdds::rtps::RTPSParticipantAttributes reckon_participant_attributes_() const override; };