RTI Connext Modern C++ API  Version 5.2.0
 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 5.2.0 Copyright © Sun Jun 21 2015 Real-Time Innovations, Inc