23#include <fastrtps/fastrtps_dll.h>
24#include <fastdds/rtps/common/Guid.h>
25#include <fastdds/rtps/common/Time_t.h>
26#include <fastrtps/attributes/PublisherAttributes.h>
27#include <fastrtps/qos/DeadlineMissedStatus.h>
28#include <fastrtps/qos/LivelinessLostStatus.h>
48 friend class PublisherImpl;
58 PublisherImpl* pimpl);
84 rtps::WriteParams& wparams);
107 const rtps::InstanceHandle_t& handle);
119 const rtps::InstanceHandle_t& handle);
127 size_t* removed =
nullptr);
135 const Duration_t& max_wait);
174 LivelinessLostStatus& status);
182 rtps::LocatorList_t& locators)
const;
186 PublisherImpl* mp_impl;
Class PublisherAttributes, used by the user to define the attributes of a Publisher.
Definition PublisherAttributes.h:41
Class Publisher, used to send data to associated subscribers.
Definition Publisher.h:47
void get_offered_deadline_missed_status(OfferedDeadlineMissedStatus &status)
Returns the offered deadline missed status.
fastrtps::rtps::InstanceHandle_t register_instance(void *instance)
Informs that the application will be modifying a particular instance.
const rtps::GUID_t & getGuid()
Get the GUID_t of the associated RTPSWriter.
bool wait_for_all_acked(const Duration_t &max_wait)
Waits until all changes were acknowledged or max_wait.
const PublisherAttributes & getAttributes() const
Get the Attributes of the Publisher.
bool write(void *sample, rtps::WriteParams &wparams)
Writes a sample of the topic with additional options.
bool updateAttributes(const PublisherAttributes &att)
Update the Attributes of the publisher.
bool unregister_instance(void *instance, const rtps::InstanceHandle_t &handle)
This operation reserves the action of register_instance.
bool removeAllChange(size_t *removed=nullptr)
Remove all the Changes in the associated RTPSWriter.
void get_sending_locators(rtps::LocatorList_t &locators) const
Get the list of locators from which this publisher may send data.
Publisher(PublisherImpl *pimpl)
Constructor from a PublisherImpl pointer.
bool write(void *sample)
Writes a sample of the topic.
void get_liveliness_lost_status(LivelinessLostStatus &status)
Returns the liveliness lost status.
bool dispose(void *data, const rtps::InstanceHandle_t &handle)
Requests the middleware to delete the instance.
void assert_liveliness()
Asserts liveliness.
DeadlineMissedStatus OfferedDeadlineMissedStatus
Definition DeadlineMissedStatus.h:29
eProsima namespace.
Definition LibrarySettingsAttributes.h:23