Ref T259, Ref T243 prefill provider situations, so interpolator can immediately start

This commit is contained in:
Klaus Basan
2018-03-26 00:55:10 +02:00
parent 1c89f4c8e3
commit 60c70c34f6
3 changed files with 25 additions and 1 deletions

View File

@@ -147,6 +147,9 @@ namespace BlackMisc
//! \remark adjust offset to average offset of two adjacent elements so adjusted values are sorted
void push_frontKeepLatestFirstAdjustOffset(const OBJ &value, int maxElements = -1);
//! Prefill with elements
void prefillLatestAdjustedFirst(const OBJ &value, int elements, qint64 deltaTimeMs = -1);
//! Is completely sorted: latest last
//! \remark all object must have a valid timestamp
bool isSortedAdjustedLatestLast() const;