-
Notifications
You must be signed in to change notification settings - Fork 791
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Participant discovery structures refactor (#5042)
* Refs #21295: changing the name of the callback from onParticipantDiscovery to on_participant_discovery Signed-off-by: elianalf <[email protected]> * Refs #21295: Change listener signature and DISCOVERY_STATUS to PARTICIPANT_DISCOVERY_STATUS Signed-off-by: elianalf <[email protected]> * Refs #21295: Move PARTICIPANT_DISCOVERY_STATUS out of ParticipantDiscoveryInfo Signed-off-by: elianalf <[email protected]> * Refs #21295: Substitute ParticipantDiscoveryInfo with ParticipantProxyData Signed-off-by: elianalf <[email protected]> * Refs #21295: Remove ParticiapntDiscoveryInfo Signed-off-by: elianalf <[email protected]> * Refs #21295: Extend ParticipantBuiltinTopicData Signed-off-by: elianalf <[email protected]> * Refs #21295: Create ParticipantBuiltinTopicData in rtps namespace Signed-off-by: elianalf <[email protected]> * Refs #21295: Create from_proxy_to_builtin method for participant Signed-off-by: elianalf <[email protected]> * Refs #21295: Substitute ParticipantProxyData with ParticipantBuiltinTopicData Signed-off-by: elianalf <[email protected]> * Refs #21295: Make ParticipantProxyData private Signed-off-by: elianalf <[email protected]> * Refs #21295: Update version.md Signed-off-by: elianalf <[email protected]> * Refs #21295: Uncrustify Signed-off-by: elianalf <[email protected]> * Refs #21295: Fix compilation error after rebase Signed-off-by: elianalf <[email protected]> * Refs #21295: Change name in camel case ParticipantDiscoveryStatus Signed-off-by: elianalf <[email protected]> * Refs #21295: Change signature of fill_discovery_data_from_cdr_message Signed-off-by: elianalf <[email protected]> * Refs #21295: Apply changes to new example Signed-off-by: elianalf <[email protected]> * Refs #21295: Apply suggestions Signed-off-by: elianalf <[email protected]> * Refs #21295: Apply suggestions Signed-off-by: elianalf <[email protected]> * Refs #21295. Fix communication test build. Signed-off-by: Miguel Company <[email protected]> * Refs #21295. Fix include order. Signed-off-by: Miguel Company <[email protected]> * Refs #21295. Additional change on versions.md. Signed-off-by: Miguel Company <[email protected]> * Refs #21295: Add missing guid conversion in the converter Signed-off-by: elianalf <[email protected]> * Refs #21295: Adjust after rebase Signed-off-by: elianalf <[email protected]> --------- Signed-off-by: elianalf <[email protected]> Signed-off-by: Miguel Company <[email protected]> Co-authored-by: Miguel Company <[email protected]>
- Loading branch information
1 parent
c2dc6d2
commit aa80b72
Showing
103 changed files
with
546 additions
and
441 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 68 additions & 0 deletions
68
include/fastdds/rtps/builtin/data/ParticipantBuiltinTopicData.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
// Copyright 2024 Proyectos y Sistemas de Mantenimiento SL (eProsima). | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
/** | ||
* @file ParticipantBuiltinTopicData.hpp | ||
* | ||
*/ | ||
|
||
#ifndef FASTDDS_RTPS_BUILTIN_DATA__PARTICIPANTBUILTINTOPICDATA_HPP | ||
#define FASTDDS_RTPS_BUILTIN_DATA__PARTICIPANTBUILTINTOPICDATA_HPP | ||
|
||
#include <fastdds/dds/core/policy/QosPolicies.hpp> | ||
#include <fastdds/rtps/builtin/data/BuiltinTopicKey.hpp> | ||
#include <fastdds/rtps/common/RemoteLocators.hpp> | ||
|
||
namespace eprosima { | ||
namespace fastdds { | ||
namespace rtps { | ||
|
||
struct ParticipantBuiltinTopicData | ||
{ | ||
/// Builtin topic Key | ||
BuiltinTopicKey_t key; | ||
|
||
/// UserData QoS | ||
dds::UserDataQosPolicy user_data; | ||
|
||
/// Participant GUID | ||
GUID_t guid; | ||
|
||
/// Properties | ||
dds::ParameterPropertyList_t properties; | ||
|
||
/// Participant name | ||
fastcdr::string_255 participant_name; | ||
|
||
/// Metatraffic locators | ||
RemoteLocatorList metatraffic_locators; | ||
|
||
/// Default locators | ||
RemoteLocatorList default_locators; | ||
|
||
/// Lease Duration | ||
dds::Duration_t lease_duration; | ||
|
||
/// Vendor id | ||
VendorId_t vendor_id; | ||
|
||
/// Participant domain id | ||
dds::DomainId_t domain_id; | ||
}; | ||
|
||
} // rtps | ||
} // fastdds | ||
} // eprosima | ||
|
||
#endif // FASTDDS_RTPS_BUILTIN_DATA__PARTICIPANTBUILTINTOPICDATA_HPP |
Oops, something went wrong.