![]() |
CoreDX Data Distribution Service
The High Performance, Small Footprint DDS from Twin Oaks Computing, Inc
|
DDS_Topic is the basic description of data to be published or subscribed. More...
DDS_Topic is the basic description of data to be published or subscribed.
A topic is identified by a name and a type. A Topic is created by calling DDS_DomainParticipant_create_topic(). Prior to creating a Topic, the associated data type must be registered with the DomainParticipant via a call to the TypeSupport::register_type() function. [The register_type() function is auto-generated 'type-specific' code.]
|
related |
Enables the DDS_Topic.
A Topic is created either enabled or not based on the DDS_DomainParticipantQos setting entity_factory. When a Topic is not enabled, only the following sub-set of all Topic operations are legal:
Any other operation may return the DDS_NOT_ENABLED error. DDS_Topic_enable() may be called on an already enabled Topic [it will have no effect].
|
related |
Provides access to the DDS_InconsistentTopicStatus of the Topic.
As a side-effect, this routine will reset the total_count_change status field to zero.
|
related |
This operation returns the currently installed DDS_TopicListener.
|
related |
This operation returns the currently installed DDS_TopicListener_cd.
|
related |
Returns the current DDS_TopicQos settings held in the Topic t.
This routine copies the Topic QoS properites into qos.
|
related |
This returns the list of triggered communication statuses in the Topic.
If the Topic is not enabled, all statuses will be untriggered.
|
related |
This operation allows access to the DDS_StatusCondition associated with the Topic.
The returned condition can be added to a DDS_WaitSet.
|
related |
Installs a DDS_TopicListener on Topic t.
Only one listener may be attached to a Topic at a time. A call to set_listener() will replace any current listener with a_listener.
a_listener can be NULL, which indicates a listener that does nothing.
The infrastructure will make an internal copy of the listener structure so that it need not be persisted by the application.
|
related |
Installs a DDS_TopicListener_cd on Topic t.
Only one listener may be attached to a Topic at a time. A call to set_listener_cd() will replace any current listener with a_listener.
a_listener can be NULL, which indicates a listener that does nothing.
The infrastructure will not make an internal copy of the listener_cd structure which means that it must be persisted by the application.
|
related |
Sets the DDS_TopicQos values.
These QoS values affect the behavior of the DDS_Topic.