RTI Connext Modern C++ API  Version 6.1.1
Waitset Use Cases

Using WaitSets and Conditions. More...

Using WaitSets and Conditions.

The following #includes are needed for the examples on this page

#include <iostream>
#include <dds/core/ddscore.hpp>
#include <dds/sub/ddssub.hpp>

Setting up a WaitSet


Waiting for Condition(s) to trigger

You have two ways to wait for Conditions to trigger: wait or dispatch.