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.
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 the various makefiles found in the examples directory of the installed version of Vortex OpenSplice when building in a posix environment, using the following commands:
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. When building the CORBA examples using the above makefiles the ACE_ROOT and ODBCHOME environment variables must be set when building the CORBA C++ examples and the ACE_ROOT/lib directory must be added to the LD_LIBRARY_PATH. When building the CORBA Java examples the JACORB_HOME environment variable must be set.
The examples can be built in Visual Studio using solutions files provided.
After installing Vortex OpenSplice on Windows, from the Vortex Launcher, go to the Examples pane and select an example solution file to open. There are 6 options:
When building the CORBA examples using the CORBA C++ Examples option the ACE_ROOT and ODBCHOME environment variables must be set.
Batch files are provided to build the Java examples in a windows environment For Java5 maven is used to build the examples. These files can be found in the examples directory of the installed Vortex OpenSplice. Start a Vortex OpenSplice command prompt and simply run
If building the CORBA Java examples the JACORB_HOME environment variable must be set.