Class astutedds::dcps::BuiltinReaderBase

ClassList > astutedds > dcps > BuiltinReaderBase

More...

  • #include <builtin_readers.hpp>

Inherited by the following classes: astutedds::dcps::ParticipantBuiltinReader, astutedds::dcps::PublicationBuiltinReader, astutedds::dcps::SubscriptionBuiltinReader, astutedds::dcps::TopicBuiltinReader

Public Functions

Type Name
BuiltinReaderBase (DomainParticipant * participant) noexcept
DomainParticipant * participant () noexcept const
void reset () noexcept

Protected Attributes

Type Name
DomainParticipant * participant_ = {nullptr}
std::set< BuiltinTopicKey_t, BuiltinTopicKeyLess > taken_

Detailed Description

Base class for all four built-in readers: tracks which keys have been surfaced by take() so subsequent take()s don't re-emit them. Not intended for polymorphic ownership by users.

Public Functions Documentation

function BuiltinReaderBase

inline explicit astutedds::dcps::BuiltinReaderBase::BuiltinReaderBase (
    DomainParticipant * participant
) noexcept

function participant

inline DomainParticipant * astutedds::dcps::BuiltinReaderBase::participant () noexcept const

function reset

inline void astutedds::dcps::BuiltinReaderBase::reset () noexcept

Reset the "taken" set — subsequent take() will re-emit all currently discovered entries.


Protected Attributes Documentation

variable participant_

DomainParticipant* astutedds::dcps::BuiltinReaderBase::participant_;

variable taken_

std::set<BuiltinTopicKey_t, BuiltinTopicKeyLess> astutedds::dcps::BuiltinReaderBase::taken_;


The documentation for this class was generated from the following file include/astutedds/dcps/builtin_readers.hpp