27#ifndef NIDAS_DYNLD_STATISTICSPROCESSOR_H
28#define NIDAS_DYNLD_STATISTICSPROCESSOR_H
34namespace nidas {
namespace dynld {
100 void flush()
throw();
Interface of a processor of samples.
Definition SampleIOProcessor.h:50
Interface of an output stream of samples.
Definition SampleOutput.h:49
Pure virtual interface for a source of Samples.
Definition SampleSource.h:48
Class describing a group of variables that are sampled and handled together.
Definition SampleTag.h:88
Definition StatisticsCruncher.h:48
enum nidas::dynld::StatisticsCruncher::statsEnumType statisticsType
Types of statistics I can generate.
Interface of a processor of samples.
Definition StatisticsProcessor.h:44
nidas::util::UTime getEndTime() const
Definition StatisticsProcessor.h:117
StatisticsProcessor(const StatisticsProcessor &)
Copy not supported.
void addRequestedSampleTag(SampleTag *tag)
Request a sample from this StatisticsProcessor, containing Parameters indicating what variables to pr...
Definition StatisticsProcessor.cc:109
nidas::util::UTime getStartTime() const
Definition StatisticsProcessor.h:107
void setStartTime(const nidas::util::UTime &val)
Definition StatisticsProcessor.h:102
std::set< std::string > _cntsNames
Set of counts variables for output samples.
Definition StatisticsProcessor.h:195
nidas::util::UTime _endTime
Definition StatisticsProcessor.h:186
void setEndTime(const nidas::util::UTime &val)
Definition StatisticsProcessor.h:112
float _statsPeriod
Definition StatisticsProcessor.h:188
nidas::util::Mutex _cruncherListMutex
Implementation of SampleIOProcessor::addSampleTag(SampleTag*).
Definition StatisticsProcessor.h:165
void selectRequestedSampleTags(const std::vector< unsigned int > &sampleIds)
Definition StatisticsProcessor.cc:272
void connect(SampleOutput *output)
Implementation of SampleConnectionRequester::connect.
Definition StatisticsProcessor.cc:491
StatisticsProcessor & operator=(const StatisticsProcessor &)
Assignment not supported.
bool getFillGaps() const
Whether to generate output samples over time gaps.
Definition StatisticsProcessor.h:134
std::map< dsm_sample_id_t, struct OutputInfo > _infoBySampleId
Definition StatisticsProcessor.h:182
StatisticsProcessor()
Definition StatisticsProcessor.cc:46
~StatisticsProcessor()
Definition StatisticsProcessor.cc:56
std::list< StatisticsCruncher * > _crunchers
Definition StatisticsProcessor.h:172
void disconnect(SampleOutput *output)
Implementation of SampleConnectionRequester::disconnect.
Definition StatisticsProcessor.cc:507
nidas::util::UTime _startTime
Definition StatisticsProcessor.h:184
float getPeriod() const
Definition StatisticsProcessor.h:122
std::set< SampleOutput * > _connectedOutputs
Definition StatisticsProcessor.h:169
bool _fillGaps
Definition StatisticsProcessor.h:190
void setFillGaps(bool val)
Definition StatisticsProcessor.h:139
void disconnectSource(SampleSource *)
Disconnect a SampleInput from this StatisticsProcessor.
Definition StatisticsProcessor.cc:475
std::set< SampleSource * > _connectedSources
Definition StatisticsProcessor.h:167
std::string getUniqueCountsName(const std::string &val)
All output samples (and StatisticsCrunchers) should have a unique name for their counts output variab...
Definition StatisticsProcessor.cc:255
void flush()
Implementation of SampleSource::flush().
Definition StatisticsProcessor.cc:91
void connectSource(SampleSource *) override
Do common operations necessary when a input has connected:
Definition StatisticsProcessor.cc:295
A C++ wrapper for a POSIX mutex.
Definition ThreadSupport.h:161
A class for parsing, formatting and doing operations on time, based on Unix time conventions,...
Definition UTime.h:95
The essential core classes of nidas.
Definition A2DConverter.h:31
Sample * getSample(sampleType type, unsigned int len)
A convienence method for getting a sample of an enumerated type from a pool.
Definition Sample.cc:70
Root namespace for the NCAR In-Situ Data Acquisition Software.
Definition A2DConverter.h:31
Definition StatisticsProcessor.h:174
std::string countsName
Definition StatisticsProcessor.h:178
bool higherMoments
Definition StatisticsProcessor.h:179
StatisticsCruncher::statisticsType type
Definition StatisticsProcessor.h:177
OutputInfo()
Definition StatisticsProcessor.h:175