DDS-PSM-C++ 1.0 ISO C++ API for OpenSplice DDS |
#include <TPublisher.hpp>
Public Types | |
typedef dds::pub::PublisherListener | Listener |
Additional Inherited Members | |
![]() | |
DELEGATE_REF_T | impl_ |
The Publisher acts on the behalf of one or several DataWriter objects that belong to it. When it is informed of a change to the data associated with one of its DataWriter objects, it decides when it is appropriate to actually send the data-update message. In making this decision, it considers any extra information that goes with the data (timestamp, writer, etc.) as well as the QoS of the Publisher and the DataWriter.
Definition at line 47 of file TPublisher.hpp.
typedef dds::pub::PublisherListener dds::pub::TPublisher< DELEGATE >::Listener |
Definition at line 49 of file TPublisher.hpp.
dds::pub::TPublisher< DELEGATE >::TPublisher | ( | const dds::domain::DomainParticipant & | dp | ) |
Create a new Publisher
.
dp | the domain participant |
dds::pub::TPublisher< DELEGATE >::TPublisher | ( | const dds::domain::DomainParticipant & | dp, |
const dds::pub::qos::PublisherQos & | qos, | ||
dds::pub::PublisherListener * | listener = NULL , | ||
const dds::core::status::StatusMask & | mask = dds::core::status::StatusMask::all() | ||
) |
Create a Publisher
with the desired QoS policies and attaches to it the specified PublisherListener. If the specified QoS policies are not consistent, the operation will fail and an exception will be thrown.
dp | the domain participant. |
qos | the publisher qos policies. |
listener | the publisher listener |
mask | the mask of events notified to the listener. |
dds::pub::TPublisher< DELEGATE >::~TPublisher | ( | ) |
TPublisher& dds::pub::TPublisher< DELEGATE >::operator<< | ( | const dds::pub::qos::PublisherQos & | the_qos | ) |
Set the new qos policies for this publisher.
pqos | the new publisher QoS |
TPublisher& dds::pub::TPublisher< DELEGATE >::operator>> | ( | dds::pub::qos::PublisherQos & | the_qos | ) |
Get the publisher qos policies.
const dds::pub::qos::PublisherQos dds::pub::TPublisher< DELEGATE >::qos | ( | ) | const |
Get the publisher qos policies.
void dds::pub::TPublisher< DELEGATE >::qos | ( | const dds::pub::qos::PublisherQos & | pqos | ) |
Set the new qos policies for this publisher.
pqos | the new publisher QoS |