CoreDX DDS Modern C++ API
Public Member Functions | List of all members
dds::core::policy::TopicData Class Reference

The purpose of this QoS is to allow the application to attach additional information to the created Topic such that when a remote application discovers their existence it can examine the information and use it in an application-defined way. More...

Public Member Functions

TopicDatavalue (const dds::core::ByteSeq &seq)
 Set the value for the topic data. More...
 
template<typename OCTET_ITER >
TopicDatavalue (OCTET_ITER begin, OCTET_ITER end)
 Set the value for the topic data.
 
const dds::core::ByteSeq value () const
 Get the topic data. More...
 
dds::core::ByteSeq & value (dds::core::ByteSeq &dst) const
 Get the topic data.
 

Detailed Description

The purpose of this QoS is to allow the application to attach additional information to the created Topic such that when a remote application discovers their existence it can examine the information and use it in an application-defined way.

In combination with the listeners on the DataReader and DataWriter as well as by means of operations such as ignore_topic, these QoS can assist an application to extend the provided QoS.

Member Function Documentation

◆ value() [1/2]

TopicData& dds::core::policy::TopicData::value ( const dds::core::ByteSeq &  seq)

Set the value for the topic data.

Parameters
seqa sequence of bytes representing the topic data.

◆ value() [2/2]

const dds::core::ByteSeq dds::core::policy::TopicData::value ( ) const

Get the topic data.

Returns
the sequence of bytes representing the topic data

© 2009-2020 Twin Oaks Computing, Inc
Castle Rock, CO 80104
All rights reserved.