RTI Connext Modern C++ API  Version 6.1.0
dds::all Namespace Reference

<<extension>> A single namespace where all standard symbols are included. More...

Detailed Description

<<extension>> A single namespace where all standard symbols are included.

The namespace dds::all brings all symbols to a single namespace as an alternative way of using the different namespaces such as dds::core, dds::core::cond, dds::sub, etc.

For example:

#include <dds/dds.hpp>
void test_namespace()
{
using namespace dds::all;
DomainParticipant participant(MY_DOMAIN_ID); // dds::domain
Topic<StringTopicType> topic(participant, "My Topic"); // dds::topic and dds::core
}