EPICS ARCHIVER V4
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups
LinearReader.h
1 // -*- c++ -*-
2 
3 #ifndef __LINEAR_READER_H__
4 #define __LINEAR_READER_H__
5 
6 #include "storage/AverageReader.h"
7 
10 
16 class LinearReader : public AverageReader {
17 
18 public:
19 
24  LinearReader(Index &index, double delta);
25 
27  const RawValue::Data* find(const std::string& channel_name,
28  const epicsTime* start);
29 
31  const std::string& getName() const;
32 
34  const RawValue::Data* next();
35 
36 };
37 
39 
40 #endif
LinearReader(Index &index, double delta)
Create a reader for an index.
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.
Base interface for the archiver's indices.
Definition: Index.h:16
Reads data from storage with linear interpolation.
Definition: LinearReader.h:16
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