RTI Connext Modern C++ API  Version 6.1.0
rti::sub::AckResponseData Class Reference

<<extension>> Data payload associated to an application-level acknowledgment More...

#include <rti/sub/AckResponseData.hpp>

Public Member Functions

 AckResponseData ()
 Creates an empty sequence of bytes. More...
 
 AckResponseData (const dds::core::ByteSeq &sequence)
 Creates an instance by copying a sequence of bytes. More...
 
dds::core::ByteSeq value () const
 Gets the sequence of bytes. More...
 
dds::core::ByteSeqvalue (dds::core::ByteSeq &dst) const
 Sets the sequence of bytes. More...
 
const uint8_t * begin () const
 Provides access to the beginning of the sequence of bytes. More...
 
const uint8_t * end () const
 Gets the end of the sequence. More...
 

Detailed Description

<<extension>> Data payload associated to an application-level acknowledgment

When a dds::sub::DataReader explicitly acknowledges samples with dds::sub::DataReader::acknowledge_sample or dds::sub::DataReader::acknowledge_all, it may specify opaque data to send as payload in the acknowledgment message sent to the dds::pub::DataWriter.

Constructor & Destructor Documentation

◆ AckResponseData() [1/2]

rti::sub::AckResponseData::AckResponseData ( )
inline

Creates an empty sequence of bytes.

◆ AckResponseData() [2/2]

rti::sub::AckResponseData::AckResponseData ( const dds::core::ByteSeq sequence)
inlineexplicit

Creates an instance by copying a sequence of bytes.

Member Function Documentation

◆ value() [1/2]

dds::core::ByteSeq rti::sub::AckResponseData::value ( ) const
inline

Gets the sequence of bytes.

◆ value() [2/2]

dds::core::ByteSeq& rti::sub::AckResponseData::value ( dds::core::ByteSeq dst) const

Sets the sequence of bytes.

◆ begin()

const uint8_t* rti::sub::AckResponseData::begin ( ) const

Provides access to the beginning of the sequence of bytes.

◆ end()

const uint8_t* rti::sub::AckResponseData::end ( ) const

Gets the end of the sequence.