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 Data Distribution Service .Net APIs Version 4.5e
Copyright © 23 Oct 2011
Real-Time Innovations, Inc