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

#include <TCorePolicy.hpp>

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

Public Member Functions

TTopicData() TTopicData (const dds::core::ByteSeq &seq)
 
 TTopicData (const TTopicData &other)
 
 TTopicData (const uint8_t *value_begin, const uint8_t *value_end)
 
const uint8_t * begin () const
 
const uint8_t * end () const
 
TTopicDatavalue (const dds::core::ByteSeq &seq)
 
template<typename OCTET_ITER >
TTopicDatavalue (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
 

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::TTopicData< D >

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.

Definition at line 161 of file TCorePolicy.hpp.

Constructor & Destructor Documentation

template<typename D >
TTopicData () dds::core::policy::TTopicData< D >::TTopicData ( const dds::core::ByteSeq seq)
explicit
template<typename D >
dds::core::policy::TTopicData< D >::TTopicData ( const TTopicData< D > &  other)
template<typename D >
dds::core::policy::TTopicData< D >::TTopicData ( const uint8_t *  value_begin,
const uint8_t *  value_end 
)

Member Function Documentation

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

Set the value for the topic data.

Parameters
seqa sequence of bytes representing the topic data.
template<typename D >
template<typename OCTET_ITER >
TTopicData& dds::core::policy::TTopicData< D >::value ( OCTET_ITER  begin,
OCTET_ITER  end 
)

Set the value for the topic data.

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

Get the topic data.

Returns
the sequence of bytes representing the topic data
template<typename D >
dds::core::ByteSeq& dds::core::policy::TTopicData< D >::value ( dds::core::ByteSeq dst) const

Get the topic data.


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