Built-in topic to find available tpoics

2 posts / 0 new
Last post
Offline
Last seen: 6 years 6 months ago
Joined: 11/13/2014
Posts: 11
Built-in topic to find available tpoics

I'm curious to find out if RTI has a built-in topics that help you identify the topics currently avaialble and there associated TypeCodes.  Any help would be much appreciated.

Thanks, Steve

Organization:
Offline
Last seen: 1 year 3 weeks ago
Joined: 05/23/2013
Posts: 50

Hi Steve,

This example would be helpful to understand how to use built-in topics.
https://community.rti.com/examples/builtin-topics

You can get infomration about topics and type codes via the built-in topics. 
Basically, what you need to do is to create a DataReader for built-in topics (which might be participant, publication, or subscription built-in topics depending on what entities you are interested in) and this DataReader will receive samples when endpoints (DataReader or DataWriter) or participants in your systems are created. 

These are the links for the c++ reference describing attibutes of built-in topics:
http://community.rti.com/docs/html/api_cpp/structDDS__PublicationBuiltinTopicData.html
http://community.rti.com/docs/html/api_cpp/structDDS__SubscriptionBuiltinTopicData.html

Thanks,
Kyoungho