|
Safe DDS
|
DDS Publisher interface. More...
#include <Publisher.hpp>
Public Member Functions | |
| virtual ReturnCode | set_qos (const PublisherQos &qos) noexcept=0 |
| Set Publisher QoS. More... | |
| virtual ReturnCode | get_qos (PublisherQos &qos) const noexcept=0 |
| Get Publisher QoS. More... | |
| virtual PublisherQos | get_qos () const noexcept=0 |
| Get Publisher QoS by value. More... | |
| virtual ReturnCode | set_listener (PublisherListener *listener, const StatusMask &mask) noexcept=0 |
| Set Publisher listener. More... | |
| virtual PublisherListener * | get_listener () const noexcept=0 |
| Get PublisherListener listener. More... | |
| virtual DataWriter * | create_datawriter (Topic &topic, const DataWriterQos &qos, DataWriterListener *listener, const StatusMask &mask) noexcept=0 |
| Create a DataWriter. More... | |
| virtual ReturnCode | delete_datawriter (DataWriter *datawriter) noexcept=0 |
| Delete a DataWriter. More... | |
| virtual DataWriter * | lookup_datawriter (const memory::IStringView &topic_name) const noexcept=0 |
| Get DataWriter. More... | |
| virtual ReturnCode | wait_for_acknowledgments (const execution::TimePeriod &max_wait) const noexcept=0 |
| Wait for acknowledgements. More... | |
| virtual DomainParticipant & | get_participant () const noexcept=0 |
| Get Domain Participant. More... | |
| virtual ReturnCode | delete_contained_entities () noexcept=0 |
| Delete all contained entities. More... | |
| virtual ReturnCode | set_default_datawriter_qos (const DataWriterQos &qos) noexcept=0 |
| Set default DataWriter QoS. More... | |
| virtual ReturnCode | get_default_datawriter_qos (DataWriterQos &qos) const noexcept=0 |
| Get default DataWriter QoS. More... | |
| virtual ReturnCode | copy_from_topic_qos (DataWriterQos &qos, const TopicQos &topic_qos) const noexcept=0 |
| Copy DataWriter QoS from Topic QoS. More... | |
| virtual ReturnCode | suspend_publications () noexcept=0 |
| Suspend publications. More... | |
| virtual ReturnCode | resume_publications () noexcept=0 |
| Resume publications. More... | |
| virtual ReturnCode | begin_coherent_changes () noexcept=0 |
| Begin coherent changes. More... | |
| virtual ReturnCode | end_coherent_changes () noexcept=0 |
| End coherent changes. More... | |
Public Member Functions inherited from eprosima::safedds::dds::Entity | |
| virtual ReturnCode | enable () noexcept=0 |
| Enables the entity. More... | |
| virtual bool | is_enabled () const noexcept=0 |
| Check if the entity and its hierarchically ascending entities are enabled. More... | |
| virtual StatusCondition * | get_statuscondition () &noexcept=0 |
| Retrieves entity status condition. Can only be used on lvalue objects. More... | |
| virtual StatusMask | get_status_changes () const noexcept=0 |
| Retrieves the set of triggered statuses in the Entity. More... | |
| virtual InstanceHandle | get_instance_handle () const noexcept=0 |
| Retrieves the instance handler that represents the Entity. More... | |
| execution::ISpinnable * | get_spinnable () &&noexcept=delete |
| Deletes get_spinnable for rvalue objects to avoid usage of a dangling pointer (Helix Rule-6.4.2) More... | |
| virtual execution::ISpinnable * | get_spinnable () &noexcept=0 |
| Retrieves the spinnable interface of the entity in case it has one, otherwise returns nullptr. More... | |
Protected Member Functions | |
| ~Publisher () noexcept=default | |
| Protected destructor ownership defined on creation. More... | |
| Publisher () noexcept=default | |
| Default creation. More... | |
| Publisher (const Publisher &) noexcept=default | |
| Copy allowed. More... | |
| Publisher (Publisher &&) noexcept=default | |
| Movement allowed. More... | |
| Publisher & | operator= (const Publisher &) noexcept=default |
| Copy operator allowed. More... | |
| Publisher & | operator= (Publisher &&) noexcept=default |
| Movement operator allowed. More... | |
Protected Member Functions inherited from eprosima::safedds::dds::Entity | |
| ~Entity () noexcept=default | |
| Protected destructor ownership defined on creation. More... | |
| Entity () noexcept=default | |
| Default creation. More... | |
| Entity (const Entity &) noexcept=default | |
| Copy allowed. More... | |
| Entity (Entity &&) noexcept=default | |
| Movement allowed. More... | |
| Entity & | operator= (const Entity &) noexcept=default |
| Copy operator allowed. More... | |
| Entity & | operator= (Entity &&) noexcept=default |
| Movement operator allowed. More... | |
DDS Publisher interface.
|
protecteddefaultnoexcept |
Protected destructor ownership defined on creation.
|
protecteddefaultnoexcept |
Default creation.
|
protecteddefaultnoexcept |
Copy allowed.
|
protecteddefaultnoexcept |
Movement allowed.
|
pure virtualnoexcept |
Begin coherent changes.
|
pure virtualnoexcept |
Copy DataWriter QoS from Topic QoS.
| [in,out] | qos | DataWriter QoS. |
| [in] | topic_qos | Topic QoS. |
|
pure virtualnoexcept |
Create a DataWriter.
| [in] | topic | Topic to be associated with the DataWriter. |
| [in] | qos | DataWriter QoS. |
| [in] | listener | DataWriter listener. |
| [in] | mask | listener configuration. |
|
pure virtualnoexcept |
Delete all contained entities.
|
pure virtualnoexcept |
|
pure virtualnoexcept |
End coherent changes.
|
pure virtualnoexcept |
|
pure virtualnoexcept |
Get PublisherListener listener.
|
pure virtualnoexcept |
Get Domain Participant.
|
pure virtualnoexcept |
Get Publisher QoS by value.
|
pure virtualnoexcept |
|
pure virtualnoexcept |
Get DataWriter.
| [in] | topic_name | Topic name to be associated with the DataWriter. |
|
protecteddefaultnoexcept |
Copy operator allowed.
Movement operator allowed.
|
pure virtualnoexcept |
Resume publications.
|
pure virtualnoexcept |
|
pure virtualnoexcept |
|
pure virtualnoexcept |
|
pure virtualnoexcept |
Suspend publications.
|
pure virtualnoexcept |
Wait for acknowledgements.
| [in] | max_wait | Maximum time to wait. |