EPICS ARCHIVER V4
|
Reads data from storage with linear interpolation. More...
#include <LinearReader.h>
Public Member Functions | |
LinearReader (Index &index, double delta) | |
Create a reader for an index. More... | |
const RawValue::Data * | find (const std::string &channel_name, const epicsTime *start) |
Returns a sample of the specified channel. | |
const std::string & | getName () const |
Returns a channel name. | |
const RawValue::Data * | next () |
Return the next sample. | |
![]() | |
AverageReader (Index &index, double delta) | |
Create a reader for an index. More... | |
const RawValue::Data * | find (const std::string &channel_name, const epicsTime *start) |
Returns sample of the specified channel. | |
const RawValue::Data * | get () const |
Returns the present sample. | |
DbrType | getType () const |
Return the value type. | |
DbrCount | getCount () const |
Returns the count of the sample value. | |
const CtrlInfo & | getInfo () const |
Returns CtrlInfo. | |
bool | changedType () |
Checks if type changed. | |
bool | changedInfo () |
Checks if CtrlInfo changed. | |
bool | isRaw () const |
double | getMinimum () const |
double | getMaximum () const |
![]() | |
virtual const RawValue::Data * | find (const stdString &channel_name, const epicsTime *start)=0 |
Locate data. More... | |
void | toString (stdString &text) const |
Convert current value to string. More... | |
Reads data from storage with linear interpolation.
The LinearReader is an implementation of a DataReader that aligns data onto multiples of 'delta' seconds on the time axis via linear interpolation.
LinearReader::LinearReader | ( | Index & | index, |
double | delta | ||
) |
Create a reader for an index.
index | index file |
delta | The interpolation time interval in seconds. |