RTI Connext Java API
Version 6.1.0
|
com.rti.dds.topic.Topic entity and associated elements More...
Public Member Functions | |
String | get_type_name () |
Get the associated type_name . More... | |
String | get_name () |
Get the name used to create this com.rti.dds.topic.TopicDescription . More... | |
DomainParticipant | get_participant () |
Get the com.rti.dds.domain.DomainParticipant to which the com.rti.dds.topic.TopicDescription belongs. More... | |
com.rti.dds.topic.Topic entity and associated elements
<<interface>> Base class for com.rti.dds.topic.Topic, com.rti.dds.topic.ContentFilteredTopic, and com.rti.dds.topic.MultiTopic.
com.rti.dds.topic.TopicDescription represents the fact that both publications and subscriptions are tied to a single data-type. Its attribute type_name
defines a unique resulting type for the publication or the subscription and therefore creates an implicit association with a com.rti.dds.topic.TypeSupport.
com.rti.dds.topic.TopicDescription has also a name
that allows it to be retrieved locally.
String get_type_name | ( | ) |
Get the associated type_name
.
The type name defines a locally unique type for the publication or the subscription.
The type_name
corresponds to a unique string used to register a type via the com.rti.ndds.example.FooTypeSupport.register_type method.
Thus, the type_name
implies an association with a corresponding com.rti.dds.topic.TypeSupport and this com.rti.dds.topic.TopicDescription.
Referenced by DynamicDataWriter.lookup_instance(), and DynamicDataReader.read().
String get_name | ( | ) |
Get the name used to create this com.rti.dds.topic.TopicDescription .
DomainParticipant get_participant | ( | ) |
Get the com.rti.dds.domain.DomainParticipant to which the com.rti.dds.topic.TopicDescription belongs.