Class StatefulPersistentReader

Inheritance Relationships

Base Type

Class Documentation

class StatefulPersistentReader : public eprosima::fastrtps::rtps::StatefulReader

Class StatefulPersistentReader, specialization of StatefulReader that manages sequence number persistence.

Public Functions

virtual ~StatefulPersistentReader()

Protected Functions

virtual void set_last_notified(const GUID_t &persistence_guid, const SequenceNumber_t &seq) override

Set the last notified sequence for a persistence guid.

Remark

Persistent readers will write to DB

Parameters
  • persistence_guid – The persistence guid to update

  • seq – Sequence number to set for input guid

virtual bool may_remove_history_record(bool removed_by_lease) override