···3737};
38383939/*!
4040- * @brief Creates an opaque relation_history object.
4040+ * Creates an opaque relation_history object.
4141 *
4242 * @public @memberof m_relation_history
4343 */
···5959 uint64_t timestamp);
60606161/*!
6262- * @brief Interpolates or extrapolates to the desired timestamp.
6262+ * Interpolates or extrapolates to the desired timestamp.
6363 *
6464 * Read-only operation - doesn't remove anything from the buffer or anything like that - you can call this as often as
6565 * you want.
···7272 struct xrt_space_relation *out_relation);
73737474/*!
7575- * @brief Get the latest report in the buffer, if any.
7575+ * Get the latest report in the buffer, if any.
7676 *
7777 * @param rh self
7878 * @param[out] out_time_ns Populated with the latest report time, if any
···8888 struct xrt_space_relation *out_relation);
89899090/*!
9191- * @brief Returns the number of items in the history.
9191+ * Returns the number of items in the history.
9292 *
9393 * @public @memberof m_relation_history
9494 */
9595uint32_t
9696m_relation_history_get_size(const struct m_relation_history *rh);
9797+9898+/*!
9999+ * Clears the history from all of the items.
100100+ *
101101+ * @public @memberof m_relation_history
102102+ */
103103+void
104104+m_relation_history_clear(struct m_relation_history *rh);
9710598106/*!
99107 * Destroys an opaque relation_history object.
···178186 size() const noexcept
179187 {
180188 return m_relation_history_get_size(mPtr);
189189+ }
190190+191191+ /*!
192192+ * @copydoc m_relation_history_clear
193193+ */
194194+ void
195195+ clear() noexcept
196196+ {
197197+ return m_relation_history_clear(mPtr);
181198 }
182199};
183200