#include <Topic.hpp>
Inheritance diagram for Topic< T, DELEGATE >:Public Types | |
| typedef TopicListener< T > | Listener |
| typedef dds::core::cond::StatusCondition < T > | StatusCondition |
| typedef DELEGATE< T > | DELEGATE_T |
| typedef ::dds::core::smart_ptr_traits < DELEGATE< T > >::ref_type | DELEGATE_REF_T |
| typedef ::dds::core::smart_ptr_traits < DELEGATE< T > >::weak_ref_type | DELEGATE_WEAK_REF_T |
| typedef TopicDescription< T, DELEGATE > | BASE_T |
Public Member Functions | |
| template<typename T__ > | |
| Topic & | operator= (const T__ &rhs) |
| Topic (DELEGATE_T *p) | |
| Topic (const DELEGATE_REF_T &ref) | |
| template<typename H__ > | |
| Topic (const H__ &h) | |
| Topic () | |
| virtual | ~Topic () |
| StatusCondition | status_condition () const |
| void | listener (Listener *the_listener, const dds::core::status::StatusMask &event_mask) |
| Listener * | listener () const |
| const dds::topic::qos::TopicQos | qos () const |
| void | qos (const dds::topic::qos::TopicQos &the_qos) |
| const dds::core::status::InconsistentTopicStatus | inconsistent_topic_status () |
Topic is the most basic description of the data to be published and subscribed.
A Topic is identified by its name, which must be unique in the whole Domain. In addition (by virtue of extending TopicDescription) it fully specifies the type of the data that can be communicated when publishing or subscribing to the Topic. Topic is the only TopicDescription that can be used for publications and therefore associated to a DataWriter.
Definition at line 45 of file Topic.hpp.
| typedef TopicDescription< T , DELEGATE > BASE_T |
Reimplemented from TopicDescription< T, DELEGATE >.
| typedef ::dds::core::smart_ptr_traits< DELEGATE < T > >::ref_type DELEGATE_REF_T |
Reimplemented from TopicDescription< T, DELEGATE >.
| typedef DELEGATE< T > DELEGATE_T |
Reimplemented from TopicDescription< T, DELEGATE >.
| typedef ::dds::core::smart_ptr_traits< DELEGATE < T > >::weak_ref_type DELEGATE_WEAK_REF_T |
Reimplemented from TopicDescription< T, DELEGATE >.
| typedef TopicListener<T> Listener |
| typedef dds::core::cond::StatusCondition<T> StatusCondition |
| Topic | ( | DELEGATE_T * | p | ) | [inline, explicit] |
| Topic | ( | const DELEGATE_REF_T & | ref | ) | [inline, explicit] |
| const dds::core::status::InconsistentTopicStatus inconsistent_topic_status | ( | ) | [inline] |
This method allows the application to retrieve the INCONSISTENT_TOPIC status of the Topic. Each DomainEntity has a set of relevant communication statuses. A change of status causes the corresponding Listener to be invoked and can also be monitored by means of the associated StatusCondition. The complete list of communication status, their values, and the DomainEntities they apply to is provided in Section 7.1.4.1, ÒCommunication Status,Ó on page 120.
| Listener* listener | ( | ) | const |
| void listener | ( | Listener * | the_listener, | |
| const dds::core::status::StatusMask & | event_mask | |||
| ) |
| Topic& operator= | ( | const T__ & | rhs | ) | [inline] |
Reimplemented from TopicDescription< T, DELEGATE >.
| const dds::topic::qos::TopicQos qos | ( | ) | const [inline] |
| void qos | ( | const dds::topic::qos::TopicQos & | the_qos | ) | [inline] |
| StatusCondition status_condition | ( | ) | const [inline] |
This operation allows access to the StatusCondition (Section 7.1.2.1.9, ÒStatusCondition Class) associated with the Entity. The returned condition can then be added to a WaitSet (Section 7.1.2.1.6, WaitSet Class) so that the application can wait for specific status changes that affect the Entity.
1.7.1