DDS-PSM-C++  1.0
ISO C++ API for OpenSplice DDS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | Public Attributes | List of all members
dds::core::policy::TGroupData< D > Class Template Reference

#include <TCorePolicy.hpp>

Inheritance diagram for dds::core::policy::TGroupData< D >:
Inheritance graph
[legend]

Public Member Functions

 TGroupData (const uint8_t *value_begin, const uint8_t *value_end)
 
const uint8_t * begin () const
 
const uint8_t * end () const
 
TGroupDatavalue (const dds::core::ByteSeq &seq)
 
template<typename OCTET_ITER >
TGroupDatavalue (OCTET_ITER begin, OCTET_ITER end)
 
const dds::core::ByteSeq value () const
 
dds::core::ByteSeqvalue (dds::core::ByteSeq &dst) const
 
- Public Member Functions inherited from dds::core::Value< D >
template<typename ARG >
 Value (const ARG &arg)
 
template<typename ARG1 , typename ARG2 >
 Value (const ARG1 &arg1, const ARG2 &arg2)
 
template<typename ARG1 , typename ARG2 , typename ARG3 >
 Value (const ARG1 &arg1, const ARG2 &arg2, const ARG3 &arg3)
 
template<typename ARG1 , typename ARG2 , typename ARG3 , typename ARG4 >
 Value (const ARG1 &arg1, const ARG2 &arg2, const ARG3 &arg3, const ARG4 &arg4)
 
template<typename ARG1 , typename ARG2 , typename ARG3 , typename ARG4 , typename ARG5 >
 Value (const ARG1 &arg1, const ARG2 &arg2, const ARG3 &arg3, const ARG4 &arg4, const ARG5 &arg5)
 
template<typename ARG1 , typename ARG2 , typename ARG3 , typename ARG4 , typename ARG5 , typename ARG6 >
 Value (const ARG1 &arg1, const ARG2 &arg2, const ARG3 &arg3, const ARG4 &arg4, const ARG5 &arg5, const ARG6 &arg6)
 
 ~Value ()
 
const D & delegate () const
 
D & delegate ()
 
 operator const D & () const
 
 operator D & ()
 
bool operator!= (const Value &other) const
 
const D * operator-> () const
 
D * operator-> ()
 
Valueoperator= (const Value &other)
 
bool operator== (const Value &other) const
 

Public Attributes

TGroupData() TGroupData(const
dds::core::ByteSeq &seq) 
TGroupData (const TGroupData &other)
 

Additional Inherited Members

- Protected Member Functions inherited from dds::core::Value< D >
 Value ()
 
 Value (const Value &p)
 
- Protected Attributes inherited from dds::core::Value< D >
d_
 

Detailed Description

template<typename D>
class dds::core::policy::TGroupData< 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 102 of file TCorePolicy.hpp.

Constructor & Destructor Documentation

template<typename D >
dds::core::policy::TGroupData< D >::TGroupData ( const uint8_t *  value_begin,
const uint8_t *  value_end 
)

Member Function Documentation

template<typename D >
const uint8_t* dds::core::policy::TGroupData< D >::begin ( ) const
template<typename D >
const uint8_t* dds::core::policy::TGroupData< D >::end ( ) const
template<typename D >
TGroupData& dds::core::policy::TGroupData< D >::value ( const dds::core::ByteSeq seq)

Set the value for this GroupData

Parameters
seqthe group data value
template<typename D >
template<typename OCTET_ITER >
TGroupData& dds::core::policy::TGroupData< D >::value ( OCTET_ITER  begin,
OCTET_ITER  end 
)

Set the value for this GroupData

template<typename D >
const dds::core::ByteSeq dds::core::policy::TGroupData< D >::value ( ) const

Get the value for this GroupData

Returns
the group data value
template<typename D >
dds::core::ByteSeq& dds::core::policy::TGroupData< D >::value ( dds::core::ByteSeq dst) const

Get the value for this GroupData

Member Data Documentation

template<typename D >
TGroupData () TGroupData (const dds::core::ByteSeq& seq) dds::core::policy::TGroupData< D >::TGroupData(const TGroupData &other)
explicit

Create a GroupData instance. Create a GroupData instance.

Parameters
seqthe group data value

Definition at line 116 of file TCorePolicy.hpp.


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