Main Page
Modules
Classes
Examples
Subscription Example
[
Programming How-To's
]
A data subscription example.
More...
A typical subscription example
Prep
Create user data types using rtiddsgen
Set up
Get the factory
Set up participant
Set up subscriber
Register user data type(s)
Set up topic(s)
Set up data reader(s)
Set up data reader
OR
Set up subscriber
to receive data
Adjust the desired quality of service (QoS)
Adjust QoS on entities as necessary
Receive data
Access received data either
via a reader
OR
via a subscriber
(possibly in a
ordered or coherent
manner)
Tear down
Tear down data reader(s)
Tear down topic(s)
Tear down subscriber
Tear down participant
RTI Connext C++ API Version 4.5f
Copyright © 17 Mar 2012
Real-Time Innovations, Inc