|
FastMM C++ API 0.6.0
Public headers, tier 1 and tier 2
|
k-way merge of several sources by event time (stable: lower source index first on ties). More...
#include <fastmm/backtest/data_source.hpp>
Public Member Functions | |
| MergedSource (std::vector< MdSource * > sources) | |
| const EventHeader * | next () override |
| void | reset () override |
| Timestamp | start_ts () const override |
| Earliest start among the inputs (invalid if none reports one). | |
Static Public Member Functions | |
| static Timestamp | time_of (const EventHeader &h) noexcept |
k-way merge of several sources by event time (stable: lower source index first on ties).
The event yielded is the input's own, not a copy: a journal's record can be larger than an EventBuf (a depth snapshot of up to kMaxBookLevelsPerMsg a side), so the input it came from is advanced on the next call, when the pointer may lapse, not before.
|
inlineexplicit |
|
inlineoverride |
|
inlineoverride |
|
inlineoverride |
Earliest start among the inputs (invalid if none reports one).
|
inlinestaticnoexcept |