Public Member Functions

GroupData< D > Class Template Reference

#include <CorePolicy.hpp>

Inheritance diagram for GroupData< D >:

List of all members.

Public Member Functions

 GroupData ()
 GroupData (const dds::core::ByteSeq &seq)
 GroupData (const uint8_t *value_begin, const uint8_t *value_end)
void value (const dds::core::ByteSeq &seq)
template<typename OCTET_ITER >
void value (OCTET_ITER begin, OCTET_ITER end)
const dds::core::ByteSeq value () const
dds::core::ByteSeqvalue (dds::core::ByteSeq &dst) const
const uint8_t * begin () const
const uint8_t * end () const

Detailed Description

template<typename D>
class tdds::core::policy::GroupData< D >

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.

Definition at line 109 of file CorePolicy.hpp.


Constructor & Destructor Documentation

GroupData (  )  [inline]

Create a GroupData instance.

Definition at line 114 of file CorePolicy.hpp.

GroupData ( const dds::core::ByteSeq seq  )  [inline, explicit]

Create a GroupData instance.

Parameters:
seq the group data value

Definition at line 121 of file CorePolicy.hpp.

GroupData ( const uint8_t *  value_begin,
const uint8_t *  value_end 
)

Member Function Documentation

const uint8_t* begin (  )  const
const uint8_t* end (  )  const
void value ( OCTET_ITER  begin,
OCTET_ITER  end 
)

Set the value for this GroupData

dds::core::ByteSeq& value ( dds::core::ByteSeq dst  )  const

Get the value for this GroupData

const dds::core::ByteSeq value (  )  const [inline]

Get the value for this GroupData

Returns:
the group data value

Definition at line 146 of file CorePolicy.hpp.

void value ( const dds::core::ByteSeq seq  )  [inline]

Set the value for this GroupData

Parameters:
seq the group data value

Definition at line 131 of file CorePolicy.hpp.


The documentation for this class was generated from the following file: