Class TopicData

Inheritance Relationships

Base Type

Class Documentation

class TopicData : public dds::core::Value<detail::TopicData>

Public Functions

TopicData()

Creates a TopicData QoS instance

explicit TopicData(const dds::core::ByteSeq &sequence)

Creates a TopicData QoS instance

Parameters:

sequence – the sequence of octets representing the TopicData

TopicData(const TopicData &other)

Copies a TopicData QoS instance

Parameters:

other – the TopicData QoS instance to copy

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

Creates a TopicData QoS instance

Parameters:
  • value_begin – a pointer to the beginning of a sequence of octets

  • value_end – a pointer to the end of a sequence of octets

TopicData &value(const dds::core::ByteSeq &sequence)

Set the sequence

Parameters:

sequence – a sequence of octets

template<typename OCTET_ITER>
TopicData &value(OCTET_ITER begin, OCTET_ITER end)

Set the sequence

Parameters:
  • begin – an iterator pointing to the beginning of a sequence of octets

  • end – an iterator pointing to the end of a sequence of octets

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

Get the sequence

Returns:

a sequence of octets

const uint8_t *begin() const

Gets a pointer to the first octet in the sequence

Returns:

a pointer to the first octet in the sequence

const uint8_t *end() const

Gets a pointer to the last octet in the sequence

Returns:

a pointer to the last octet in the sequence