Skip to content

Commit

Permalink
Export missing participant utils methods
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Lopez Fernandez <[email protected]>
  • Loading branch information
juanlofer-eprosima committed Dec 19, 2024
1 parent 561d000 commit 5cdac59
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ddspipe_participants/src/cpp/utils/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,20 +126,23 @@ core::types::Endpoint create_endpoint_from_info_<fastdds::rtps::SubscriptionBuil
return endpoint;
}

DDSPIPE_PARTICIPANTS_DllAPI
core::types::SpecificEndpointQoS specific_qos_of_writer_(
const core::DiscoveryDatabase& database,
const core::types::Guid& guid)
{
return database.get_endpoint(guid).specific_qos;
}

DDSPIPE_PARTICIPANTS_DllAPI
bool come_from_same_participant_(
const fastdds::rtps::GUID_t src_guid,
const fastdds::rtps::GUID_t target_guid) noexcept
{
return src_guid.guidPrefix == target_guid.guidPrefix;
}

DDSPIPE_PARTICIPANTS_DllAPI
fastdds::rtps::GUID_t guid_from_instance_handle(
const fastdds::rtps::InstanceHandle_t& ihandle) noexcept
{
Expand Down

0 comments on commit 5cdac59

Please sign in to comment.