|
Safe DDS
|
DDS DataReader interface. More...
#include <DataReader.hpp>
Public Member Functions | |
| virtual protocol::GUID | guid () const noexcept=0 |
| Retrieves the DataWriter GUID. More... | |
| virtual ReturnCode | set_qos (const DataReaderQos &qos) noexcept=0 |
| Set DataReader QoS. More... | |
| virtual ReturnCode | get_qos (DataReaderQos &qos) const noexcept=0 |
| Get DataReader QoS. More... | |
| virtual DataReaderQos | get_qos () const noexcept=0 |
| Get DataReader QoS by value. More... | |
| virtual ReturnCode | set_listener (DataReaderListener *listener, const StatusMask &mask) noexcept=0 |
| Set DataReader listener. More... | |
| virtual DataReaderListener * | get_listener () const noexcept=0 |
| Get DataWriterListener listener. More... | |
| virtual ReturnCode | get_liveliness_changed_status (LivelinessChangedStatus &status) noexcept=0 |
| Get the Liveliness Changed Status. More... | |
| virtual ReturnCode | get_requested_deadline_missed_status (RequestedDeadlineMissedStatus &status) noexcept=0 |
| Get the Requested Deadline Missed Status. More... | |
| virtual ReturnCode | get_requested_incompatible_qos_status (RequestedIncompatibleQosStatus &status) noexcept=0 |
| Get the Requested Incompatible QoS Status. More... | |
| virtual ReturnCode | get_sample_lost_status (SampleLostStatus &status) noexcept=0 |
| Get the SAMPLE_LOST communication status. More... | |
| virtual ReturnCode | get_sample_rejected_status (SampleRejectedStatus &status) noexcept=0 |
| Get the SAMPLE_REJECTED communication status. More... | |
| virtual ReturnCode | get_subscription_matched_status (SubscriptionMatchedStatus &status) noexcept=0 |
| Get the Subscription Matched Status. More... | |
| virtual const TopicDescription & | get_topicdescription () const noexcept=0 |
| Get the topic description. More... | |
| virtual const Subscriber & | get_subscriber () const noexcept=0 |
| Get the subscriber. More... | |
| virtual ReturnCode | delete_contained_entities () noexcept=0 |
| Delete contained entities. More... | |
| virtual ReturnCode | wait_for_historical_data (const execution::TimePeriod &timeout) noexcept=0 |
| Method to block the current thread until an unread message is available. More... | |
| virtual ReturnCode | get_matched_publication_data (discovery::PublicationInfo &publication_data, InstanceHandle publication_handle) const noexcept=0 |
| Retrieves in a publication associated with the DataWriter. More... | |
| virtual ReturnCode | get_matched_publications (memory::IList< InstanceHandle > &publication_handles) const noexcept=0 |
| Fills a vector with the InstanceHandles of the matched publications. More... | |
| virtual ReadCondition * | create_readcondition (const SampleStateMask &sample_states, const ViewStateMask &view_states, const InstanceStateMask &instance_states) noexcept=0 |
| This operation creates a ReadCondition. More... | |
| virtual QueryCondition * | create_querycondition (const SampleStateMask &sample_states, const ViewStateMask &view_states, const InstanceStateMask &instance_states, const memory::IStringView &query_expression, const memory::IStringViewSequence &query_parameters) noexcept=0 |
| This operation creates a QueryCondition. More... | |
| virtual ReturnCode | delete_readcondition (ReadCondition &condition) noexcept=0 |
| This operation deletes a ReadCondition attached to the DataReader. 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... | |
Protected Member Functions | |
| ~DataReader () noexcept=default | |
| Protected destructor ownership defined on creation. More... | |
| DataReader () noexcept=default | |
| Default creation. More... | |
| DataReader (const DataReader &) noexcept=default | |
| Copy allowed. More... | |
| DataReader (DataReader &&) noexcept=default | |
| Movement allowed. More... | |
| DataReader & | operator= (const DataReader &) noexcept=default |
| Copy operator allowed. More... | |
| DataReader & | operator= (DataReader &&) 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 DataReader interface.
|
protecteddefaultnoexcept |
Protected destructor ownership defined on creation.
|
protecteddefaultnoexcept |
Default creation.
|
protecteddefaultnoexcept |
Copy allowed.
|
protecteddefaultnoexcept |
Movement allowed.
|
pure virtualnoexcept |
This operation creates a QueryCondition.
| [in] | sample_states | List of SampleStateKind values to be taken into account. |
| [in] | view_states | List of ViewStateKind values to be taken into account. |
| [in] | instance_states | List of InstanceStateKind values to be taken into account. |
| [in] | query_expression | Query parameters. |
| [in] | query_parameters | Query parameters. |
|
pure virtualnoexcept |
This operation creates a ReadCondition.
| [in] | sample_states | List of SampleStateKind values to be taken into account. |
| [in] | view_states | List of ViewStateKind values to be taken into account. |
| [in] | instance_states | List of InstanceStateKind values to be taken into account. |
|
pure virtualnoexcept |
Delete contained entities.
|
pure virtualnoexcept |
This operation deletes a ReadCondition attached to the DataReader.
| [in] | condition | ReadCondition to be deleted. |
|
pure virtualnoexcept |
Get DataWriterListener listener.
|
pure virtualnoexcept |
Get the Liveliness Changed Status.
| [out] | status | LivelinessChangedStatus object where the status is returned. |
|
pure virtualnoexcept |
Retrieves in a publication associated with the DataWriter.
| [out] | publication_data | publication data struct |
| publication_handle | InstanceHandle_t of the publication |
|
pure virtualnoexcept |
Fills a vector with the InstanceHandles of the matched publications.
| [out] | publication_handles | Vector to be filled with the InstanceHandles of the matched publications. |
|
pure virtualnoexcept |
Get DataReader QoS by value.
|
pure virtualnoexcept |
|
pure virtualnoexcept |
Get the Requested Deadline Missed Status.
| [out] | status | RequestedDeadlineMissedStatus object where the status is returned. |
|
pure virtualnoexcept |
Get the Requested Incompatible QoS Status.
| [out] | status | RequestedIncompatibleQosStatus object where the status is returned. |
|
pure virtualnoexcept |
Get the SAMPLE_LOST communication status.
| [out] | status | SampleLostStatus object where the status is returned. |
|
pure virtualnoexcept |
Get the SAMPLE_REJECTED communication status.
| [out] | status | SampleRejectedStatus object where the status is returned. |
|
pure virtualnoexcept |
Get the subscriber.
|
pure virtualnoexcept |
Get the Subscription Matched Status.
| [out] | status | SubscriptionMatchedStatus object where the status is returned. |
|
pure virtualnoexcept |
Get the topic description.
|
pure virtualnoexcept |
Retrieves the DataWriter GUID.
|
protecteddefaultnoexcept |
Copy operator allowed.
|
protecteddefaultnoexcept |
Movement operator allowed.
|
pure virtualnoexcept |
Set DataReader listener.
| [in,out] | listener | DataReader listener. |
| [in] | mask | listener configuration. |
|
pure virtualnoexcept |
|
pure virtualnoexcept |
Method to block the current thread until an unread message is available.
| timeout | Maximum time to block the thread. |