RTI Connext Modern C++ API  Version 5.2.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
dds::topic::is_topic_type< T > Struct Template Reference

Trait that indicates if a type is suitable to be the type of a dds::topic::Topic. More...

#include <TopicTraits.hpp>

Inherits false_type.

Detailed Description

template<typename T>
struct dds::topic::is_topic_type< T >

Trait that indicates if a type is suitable to be the type of a dds::topic::Topic.

When a type T meets this requirement the is_topic_type<T> inherits from dds::core::true_type and defines a member constant is_topic_type<T>::value that is true. For all other types it inherits from dds::core::false_type and defines value to false.

Types generated by rtiddsgen (except for those annotated with @top-level false), dds::core::xtypes::DynamicData and the Builtin types all meet this requirement.


RTI Connext Modern C++ API Version 5.2.0 Copyright © Sun Jun 21 2015 Real-Time Innovations, Inc