27 #ifndef NIDAS_DYNLD_STATISTICSPROCESSOR_H
28 #define NIDAS_DYNLD_STATISTICSPROCESSOR_H
34 namespace nidas {
namespace dynld {
36 using namespace nidas::core;
56 void addRequestedSampleTag(
SampleTag* tag)
59 void selectRequestedSampleTags(
const std::vector<unsigned int>& sampleIds);
150 std::string getUniqueCountsName(
const std::string& val);
nidas::util::UTime _startTime
Definition: StatisticsProcessor.h:183
nidas::util::UTime getEndTime() const
Definition: StatisticsProcessor.h:116
A class for parsing, formatting and doing operations on time, based on Unix time conventions, where leap seconds are ignored, so that there are always 60 seconds in a minute, 3600 seconds in an hour and 86400 seconds in a day.
Definition: UTime.h:76
void setFillGaps(bool val)
Definition: StatisticsProcessor.h:138
nidas::util::UTime _endTime
Definition: StatisticsProcessor.h:185
nidas::util::Mutex _cruncherListMutex
Implementation of SampleIOProcessor::addSampleTag(SampleTag*).
Definition: StatisticsProcessor.h:164
std::map< dsm_sample_id_t, struct OutputInfo > _infoBySampleId
Definition: StatisticsProcessor.h:181
Interface of an output stream of samples.
Definition: SampleOutput.h:47
std::list< StatisticsCruncher * > _crunchers
Definition: StatisticsProcessor.h:171
Pure virtual interface for a source of Samples.
Definition: SampleSource.h:48
bool higherMoments
Definition: StatisticsProcessor.h:178
Definition: StatisticsProcessor.h:173
std::string countsName
Definition: StatisticsProcessor.h:177
std::set< SampleOutput * > _connectedOutputs
Definition: StatisticsProcessor.h:168
bool getFillGaps() const
Whether to generate output samples over time gaps.
Definition: StatisticsProcessor.h:133
std::set< SampleSource * > _connectedSources
Definition: StatisticsProcessor.h:166
std::set< std::string > _cntsNames
Set of counts variables for output samples.
Definition: StatisticsProcessor.h:194
float getPeriod() const
Definition: StatisticsProcessor.h:121
Definition: StatisticsCruncher.h:47
OutputInfo()
Definition: StatisticsProcessor.h:174
nidas::util::UTime getStartTime() const
Definition: StatisticsProcessor.h:106
void setStartTime(const nidas::util::UTime &val)
Definition: StatisticsProcessor.h:101
StatisticsCruncher::statisticsType type
Definition: StatisticsProcessor.h:176
Class describing a group of variables that are sampled and handled together.
Definition: SampleTag.h:87
Interface of a processor of samples.
Definition: SampleIOProcessor.h:49
enum nidas::dynld::StatisticsCruncher::statsEnumType statisticsType
Types of statistics I can generate.
Interface of a processor of samples.
Definition: StatisticsProcessor.h:43
float _statsPeriod
Definition: StatisticsProcessor.h:187
A C++ wrapper for a POSIX mutex.
Definition: ThreadSupport.h:154
bool _fillGaps
Definition: StatisticsProcessor.h:189
Definition: InvalidParameterException.h:35
void setEndTime(const nidas::util::UTime &val)
Definition: StatisticsProcessor.h:111