Class StatefulPersistentWriter

Inheritance Relationships

Base Types

Class Documentation

class StatefulPersistentWriter : public eprosima::fastrtps::rtps::StatefulWriter, private eprosima::fastrtps::rtps::PersistentWriter

Class StatefulPersistentWriter, specialization of StatefulWriter that manages history persistence.

Public Functions

virtual ~StatefulPersistentWriter()
virtual void unsent_change_added_to_history(CacheChange_t *p, const std::chrono::time_point<std::chrono::steady_clock> &max_blocking_time) override

Add a specific change to all ReaderLocators.

Parameters
  • p – Pointer to the change.

  • max_blocking_time

virtual bool change_removed_by_history(CacheChange_t *a_change) override

Indicate the writer that a change has been removed by the history due to some HistoryQos requirement.

Parameters

a_change – Pointer to the change that is going to be removed.

Returns

True if removed correctly.