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

The purpose of this QoS is to allow the application to attach additional information to the created Publisher or Subscriber. More...

Public Member Functions

 GroupData ()
 Create a GroupData instance.
 
 GroupData (const dds::core::ByteSeq &seq)
 Create a GroupData instance. More...
 
GroupDatavalue (const dds::core::ByteSeq &seq)
 Set the value for this GroupData More...
 
template<typename OCTET_ITER >
GroupDatavalue (OCTET_ITER begin, OCTET_ITER end)
 Set the value for this GroupData
 
const dds::core::ByteSeq value () const
 Get the value for this GroupData More...
 
dds::core::ByteSeq & value (dds::core::ByteSeq &dst) const
 Get the value for this GroupData
 

Detailed Description

The purpose of this QoS is to allow the application to attach additional information to the created Publisher or Subscriber.

The value of the GROUP_DATA is available to the application on the DataReader and DataWriter entities and is propagated by means of the built-in topics. This QoS can be used by an application combination with the DataReaderListener and DataWriterListener to implement matching policies similar to those of the PARTITION QoS except the decision can be made based on an application-defined policy.

Constructor & Destructor Documentation

◆ GroupData()

dds::core::policy::GroupData::GroupData ( const dds::core::ByteSeq &  seq)
explicit

Create a GroupData instance.

Parameters
seqthe group data value

Member Function Documentation

◆ value() [1/2]

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

Set the value for this GroupData

Parameters
seqthe group data value

◆ value() [2/2]

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

Get the value for this GroupData

Returns
the group data value

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