The PingPong example consists of two executables that will exchange data using 2 partitions. Running both executables allows you to measure roundtrip duration when sending and receiving back a single message.
The Tutorial consists of three executables that together make up a primitive chatbox.
The HelloWorld example is used to illustrate the necessary steps to set up DCPS entities
The Waitset example is used to illustrate the use of waitset and conditions :
The Listener example is used to illustrate use of listeners
The ContentFilteredTopic example is used to illustrate message filtering based upon Content-Based subscription.
The QueryCondition example is used to illustrate message filtering through use of Queries.
The Lifecycle example is used to illustrate the different lifecycle states of the sample and the instance.
The Durability example illustrates the ability of late joining readers to obtain data that has already been published before these readers were created.
The Ownership example is used to illustrate the concept of Shared Ownership, controlled through QoS, in DDS.
The BuiltInTopics example is used to illustrate the use of built-in topics to obtain and print all nodes running in the domain.
The NetworkPartitions example is used to illustrate the concept of network traffic partitioning based on the configuration of Vortex OpenSplice.
The RoundTrip example consists of two executables that will exchange data using 2 partitions. Running both executables allows you to measure roundtrip duration when sending and receiving back a single message.
The Throughput example allows the measurement of data throughput when receiving samples from a publisher.
Information about how to run the examples with DDS Security.
Each example can be built individually. It is also possible to build a number of examples at the same time.
The examples can be built together using mvn for the java5 examples and cmake for all others. When building using cmake in a posix environment, create a directory named build in the examples directory, cd into the build directory and use the following commands:
When building the java5 examples, from the examples directory run the following command:
Each example can be built individually by using the commands above in the required example directory
Before running any of the above commands it is necessary to set your environment using the release.com file found in the the Vortex OpenSplice installation.
The examples can be built in Visual Studio using cmake and mvn as described above. To build the C-Sharp examples dotnet should be used.
When building the C, C99 and ISO C++ examples you must first obtain the generator to be used by cmake. Use the following command to obtain the generators available: cmake -G
Then use the following commands, e.g.:
cmake -G "Visual Studio [version] [arch]" ..\
cmake --build .
To build the C-Sharp examples use the following command:
dotnet build CSharpExamples.sln