RTI Connext Modern C++ API  Version 6.0.1
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
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
}

RTI Connext Modern C++ API Version 6.0.1 Copyright © Sat Nov 23 2019 Real-Time Innovations, Inc