herald  2.0.0
Public Member Functions | Static Public Attributes | List of all members
herald::analysis::AnalysisRunner< AnalysisDelegateManagerT, AnalysisProviderManagerT, SourceTypes > Struct Template Reference

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
 

Detailed Description

template<typename AnalysisDelegateManagerT, typename AnalysisProviderManagerT, typename... SourceTypes>
struct herald::analysis::AnalysisRunner< AnalysisDelegateManagerT, AnalysisProviderManagerT, SourceTypes >

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.


The documentation for this struct was generated from the following file: