herald
2.0.0
|
Manages all sample lists, sources, sinks, and analysis instances for all data generated within a system. More...
#include <runner.h>
Public Member Functions | |
AnalysisRunner (AnalysisDelegateManagerT &adm, AnalysisProviderManagerT &provds) | |
template<typename ValT > | |
void | newSample (SampledID sampled, sampling::Sample< ValT > sample) |
We are an analysis delegate ourselves - this is used by Source types, and by producers (analysis runners) | |
template<typename ValT > | |
void | operator() (SampledID sampled, sampling::Sample< ValT > sample) |
void | run (Date timeNow) |
Run the relevant analyses given the current time point. | |
Static Public Attributes | |
static constexpr std::size_t | ListSize = 25 |
Manages all sample lists, sources, sinks, and analysis instances for all data generated within a system.
This class can be used 'live' against real sensors, or statically with reference data. This is achieved by ensuring the run(Date) method takes in the Date for the time of evaluation rather than using the current Date.