Public Member Functions

TopicData< D > Class Template Reference

#include <CorePolicy.hpp>

Inheritance diagram for TopicData< D >:

List of all members.

Public Member Functions

 TopicData ()
 TopicData (const dds::core::ByteSeq &seq)
 TopicData (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::TopicData< 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 170 of file CorePolicy.hpp.


Constructor & Destructor Documentation

TopicData (  )  [inline]

Definition at line 172 of file CorePolicy.hpp.

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

Definition at line 174 of file CorePolicy.hpp.

TopicData ( 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 the topic data.

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

Get the topic data.

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

Get the topic data.

Returns:
the sequence of bytes representing the topic data

Definition at line 199 of file CorePolicy.hpp.

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

Set the value for the topic data.

Parameters:
seq a sequence of bytes representing the topic data.

Definition at line 184 of file CorePolicy.hpp.


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