Public Member Functions | |
void | get_inconsistent_topic_status (InconsistentTopicStatus status) |
Allows the application to retrieve the StatusKind.INCONSISTENT_TOPIC_STATUS status of a com.rti.dds.topic.Topic. | |
void | set_qos (TopicQos qos) |
Set the topic QoS. | |
void | set_qos_with_profile (String library_name, String profile_name) |
<<eXtension>> Change the QoS of this topic using the input XML QoS profile. | |
void | get_qos (TopicQos qos) |
Get the topic QoS. | |
void | set_listener (TopicListener l, int mask) |
Set the topic listener. | |
TopicListener | get_listener () |
Get the topic listener. |
com.rti.dds.topic.Topic is the only com.rti.dds.topic.TopicDescription that can be used for publications and therefore associated with a com.rti.dds.publication.DataWriter.
The following operations may be called even if the com.rti.dds.topic.Topic is not enabled. Other operations will fail with the value RETCODE_NOT_ENABLED if called on a disabled com.rti.dds.topic.Topic:
void get_inconsistent_topic_status | ( | InconsistentTopicStatus | status | ) |
Allows the application to retrieve the StatusKind.INCONSISTENT_TOPIC_STATUS status of a com.rti.dds.topic.Topic.
Retrieve the current com.rti.dds.topic.InconsistentTopicStatus
status | <<inout>> Status to be retrieved. Cannot be NULL. |
One | of the Standard Return Codes |
void set_qos | ( | TopicQos | qos | ) |
Set the topic QoS.
The com.rti.dds.topic.TopicQos.topic_data and com.rti.dds.topic.TopicQos.deadline, com.rti.dds.topic.TopicQos.latency_budget, com.rti.dds.topic.TopicQos.transport_priority and com.rti.dds.topic.TopicQos.lifespan can be changed. The other policies are immutable.
qos | <<in>> Set of policies to be applied to com.rti.dds.topic.Topic. |
One | of the Standard Return Codes, RETCODE_IMMUTABLE_POLICY if immutable policy is changed, or RETCODE_INCONSISTENT_POLICY if policies are inconsistent |
void set_qos_with_profile | ( | String | library_name, | |
String | profile_name | |||
) |
<<eXtension>> Change the QoS of this topic using the input XML QoS profile.
The com.rti.dds.topic.TopicQos.topic_data and com.rti.dds.topic.TopicQos.deadline, com.rti.dds.topic.TopicQos.latency_budget, com.rti.dds.topic.TopicQos.transport_priority and com.rti.dds.topic.TopicQos.lifespan can be changed. The other policies are immutable.
library_name | <<in>> Library name containing the XML QoS profile. If library_name is null RTI Connext will use the default library (see com.rti.dds.domain.DomainParticipant.set_default_library). | |
profile_name | <<in>> XML QoS Profile name. If profile_name is null RTI Connext will use the default profile (see com.rti.dds.domain.DomainParticipant.set_default_profile). |
One | of the Standard Return Codes, RETCODE_IMMUTABLE_POLICY if immutable policy is changed, or RETCODE_INCONSISTENT_POLICY if policies are inconsistent |
void get_qos | ( | TopicQos | qos | ) |
Get the topic QoS.
This method may potentially allocate memory depending on the sequences contained in some QoS policies.
qos | <<inout>> QoS to be filled up. Cannot be NULL. |
One | of the Standard Return Codes |
void set_listener | ( | TopicListener | l, | |
int | mask | |||
) |
Set the topic listener.
l | <<in>> Listener to be installed on entity. | |
mask | <<in>> Changes of communication status to be invoked on the listener. |
One | of the Standard Return Codes |
TopicListener get_listener | ( | ) |
Get the topic listener.