C++

This example shows how to define listeners for different entity classes (i.e., DomainParticipant, Topic, Publisher, DataWriter, Subscriber, and DataReader), adding methods for handling entity-specific statuses.
15747 reads — 0 comments
The Property QosPolicy is used to specify name/value pairs of data and attach them to an entity. This example shows how to use the Property QosPolicy to modify the send and receive socket buffer transport properties.
36162 reads — 0 comments
This example shows how to access structs nested in a dynamic data object to get/set their values.
7415 reads — 0 comments
This second example on Keyed Data shows how the Ownership QoS interacts with the registration, unregistration, and disposal of instance of multiple DataWriters. It also illustrates how the on_data_available callback on the DataReader can delegate to ther handlers based on instance state changes, and explains filtering mechanisms to read only certain keys.
7061 reads — 0 comments
Built-in Topics allow us to access some relevant information about Connext DDS entities, such as the access to application specific data in discovery. This example shows how USER_DATA QoS for security during discovery phase.
13681 reads — 1 comment
This example shows the combined use of Content Filters with the Deadline QoS, which specifies the updates you expect for a particular instance within a given period of time.
7218 reads — 0 comments
In this example we illustrate how to use the Partition QoS, which provides a way to control which DataWriters will match—and thus communicate with—which Data Writers.
15839 reads — 0 comments
This example illustrate how to use keyed data. In particular, in this example a single DataWriter creates three instances differentiated by the field "code", which is the field used as key.
8788 reads — 0 comments
get_publishers() allows the application to access all the publishers the participant has.
5743 reads — 0 comments
Connext uses the discriminator field of the struct to decide what field in the struct is actually sent on the wire. In this example we illustrate how to access the discriminator of a Union using the Dynamic Data API.
10298 reads — 1 comment

Pages

Subscribe to RSS - C++