3 #ifndef __AVERAGE_READER_H__
4 #define __AVERAGE_READER_H__
6 #include "storage/RawDataReader.h"
43 const epicsTime* start);
46 const std::string &
getName()
const;
97 bool ctrl_info_changed;
101 double minimum, maximum;
DbrType getType() const
Return the value type.
unsigned short DbrType
DbrType is used to hold dbr_time_xxx types.
Definition: RawValue.h:24
Meta-information for values: Units, limits, etc .
Definition: CtrlInfo.h:75
Reads data from storage.
Definition: DataReader.h:23
An implementation of the DataReader for raw data.
Definition: RawDataReader.h:22
bool isRaw() const
Definition: AverageReader.h:71
const RawValue::Data * find(const std::string &channel_name, const epicsTime *start)
Returns sample of the specified channel.
AverageReader(Index &index, double delta)
Create a reader for an index.
const CtrlInfo & getInfo() const
Returns CtrlInfo.
unsigned short DbrCount
DbrCount is used to hold the array size of CA channels.
Definition: RawValue.h:27
const RawValue::Data * next()
Returns the next sample.
double getMinimum() const
Definition: AverageReader.h:76
bool changedType()
Checks if type changed.
const std::string & getName() const
Returns the channel name.
Base interface for the archiver's indices.
Definition: Index.h:16
DbrCount getCount() const
Returns the count of the sample value.
dbr_time_double Data
Type for accessing the raw data and its common fields.
Definition: RawValue.h:55
Reads data from storage, averaging over the raw samples.
Definition: AverageReader.h:32
bool changedInfo()
Checks if CtrlInfo changed.
AutoPtr for RawValue.
Definition: RawValue.h:201
double getMaximum() const
Definition: AverageReader.h:81