Class StatelessPersistentWriter

Inheritance Relationships

Base Types

Class Documentation

class StatelessPersistentWriter : public eprosima::fastrtps::rtps::StatelessWriter, private eprosima::fastrtps::rtps::PersistentWriter

Class StatelessPersistentWriter, specialization of StatelessWriter that manages history persistence.

Public Functions

virtual ~StatelessPersistentWriter()
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[in] Maximum time this method has to complete the task.

virtual bool change_removed_by_history(CacheChange_t *a_change, const std::chrono::time_point<std::chrono::steady_clock> &max_blocking_time) 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.

  • max_blocking_time[in] Maximum time this method has to complete the task.

Returns:

True if removed correctly.