DDS-PSM-C++ 1.0 ISO C++ API for OpenSplice DDS |
#include <TDomainParticipant.hpp>
Public Types | |
typedef dds::domain::DomainParticipantListener | Listener |
Static Public Member Functions | |
static dds::domain::qos::DomainParticipantQos | default_participant_qos () |
static void | default_participant_qos (const ::dds::domain::qos::DomainParticipantQos &qos) |
Additional Inherited Members | |
Protected Attributes inherited from dds::core::Reference< DELEGATE > | |
DELEGATE_REF_T | impl_ |
The DomainParticipant
object plays several roles:
Definition at line 61 of file TDomainParticipant.hpp.
typedef dds::domain::DomainParticipantListener dds::domain::TDomainParticipant< DELEGATE >::Listener |
Definition at line 63 of file TDomainParticipant.hpp.
dds::domain::TDomainParticipant< DELEGATE >::~TDomainParticipant | ( | ) |
void dds::domain::TDomainParticipant< DELEGATE >::assert_liveliness | ( | ) |
This operation manually asserts the liveliness of the DataWriter. This is used in combination with the LIVELINESS QoS policy (see Section 7.1.3, Supported QoS, on page 96) to indicate to the Service that the entity remains active. This operation need only be used if the LIVELINESS setting is either MANUAL_BY_PARTICIPANT or MANUAL_BY_TOPIC. Otherwise, it has no effect.
Note Writing data via the write operation on a DataWriter asserts liveliness on the DataWriter itself and its DomainParticipant. Consequently the use of assert_liveliness is only needed if the application is not writing data regularly.
bool dds::domain::TDomainParticipant< DELEGATE >::contains_entity | ( | const ::dds::core::InstanceHandle & | handle | ) |
This operation checks whether or not the given a_handle represents an Entity that was created from the DomainParticipant. The containment applies recursively. That is, it applies both to entities (TopicDescription, Publisher, or Subscriber) created directly using the DomainParticipant as well as entities created using a contained Publisher, or Subscriber as the factory, and so forth.
handle | the instance handle for which the containement relationship has to be checked. |
Entity
belonging to this DomainParticipant
dds::core::Time dds::domain::TDomainParticipant< DELEGATE >::current_time | ( | ) |
This operation returns the current value of the time that the service uses to time-stamp data writes and to set the reception timestamp for the data updates it receives.
| static |
| static |
dds::pub::qos::PublisherQos dds::domain::TDomainParticipant< DELEGATE >::default_publisher_qos | ( | ) | const |
TDomainParticipant& dds::domain::TDomainParticipant< DELEGATE >::default_publisher_qos | ( | const ::dds::pub::qos::PublisherQos & | qos | ) |
dds::sub::qos::SubscriberQos dds::domain::TDomainParticipant< DELEGATE >::default_subscriber_qos | ( | ) | const |
TDomainParticipant& dds::domain::TDomainParticipant< DELEGATE >::default_subscriber_qos | ( | const ::dds::sub::qos::SubscriberQos & | qos | ) |
dds::topic::qos::TopicQos dds::domain::TDomainParticipant< DELEGATE >::default_topic_qos | ( | ) | const |
TDomainParticipant& dds::domain::TDomainParticipant< DELEGATE >::default_topic_qos | ( | const dds::topic::qos::TopicQos & | qos | ) |
uint32_t dds::domain::TDomainParticipant< DELEGATE >::domain_id | ( | ) | const |
This operation retrieves the domain_id used to create the DomainParticipant
. The domain_id identifies the DDS domain to which the DomainParticipant
belongs. As described in the introduction to Section 7.1.2.2.1, DomainParticipant Class, on page 22 each DDS domain represents a separate data communication plane isolated from other domains.
void dds::domain::TDomainParticipant< DELEGATE >::listener | ( | Listener * | the_listener, |
const ::dds::core::status::StatusMask & | event_mask | ||
) |
Register a listener with the <core>DomainParticipant. The notifications received by the listener depend on the status mask with which it was registered.
listener | the listener |
event_mask | the mask defining the events for which the listener will be notified. |
Listener* dds::domain::TDomainParticipant< DELEGATE >::listener | ( | ) | const |
Get the listener of this DomainParticipant
const dds::domain::qos::DomainParticipantQos& dds::domain::TDomainParticipant< DELEGATE >::qos | ( | ) | const |
Return the DomainParticipantQos
setting for this instance.
void dds::domain::TDomainParticipant< DELEGATE >::qos | ( | const dds::domain::qos::DomainParticipantQos & | the_qos | ) |