20#ifndef FASTDDS_RTPS_MESSAGES__RTPSMESSAGESENDERINTERFACE_HPP
21#define FASTDDS_RTPS_MESSAGES__RTPSMESSAGESENDERINTERFACE_HPP
23#ifndef DOXYGEN_SHOULD_SKIP_THIS_PUBLIC
28#include <fastdds/rtps/common/Guid.hpp>
29#include <fastdds/rtps/transport/NetworkBuffer.hpp>
84 const std::vector<eprosima::fastdds::rtps::NetworkBuffer>& buffers,
85 const uint32_t& total_bytes,
86 std::chrono::steady_clock::time_point max_blocking_time_point)
const = 0;
Interface to handle destinations management and message sending.
Definition RTPSMessageSenderInterface.hpp:41
virtual void unlock()=0
Lock the object.
virtual bool destinations_have_changed() const =0
Check if the destinations managed by this sender interface have changed.
virtual const std::vector< GuidPrefix_t > & remote_participants() const =0
Get the GUID prefix of all the destination participants.
virtual void lock()=0
Lock the object.
virtual bool send(const std::vector< eprosima::fastdds::rtps::NetworkBuffer > &buffers, const uint32_t &total_bytes, std::chrono::steady_clock::time_point max_blocking_time_point) const =0
Send a message through this interface.
virtual const std::vector< GUID_t > & remote_guids() const =0
Get the GUID of all destinations.
virtual GuidPrefix_t destination_guid_prefix() const =0
Get a GUID prefix representing all destinations.
virtual ~RTPSMessageSenderInterface()=default
Structure GuidPrefix_t, Guid Prefix of GUID_t.
Definition GuidPrefix_t.hpp:37