EPICS ARCHIVER V4
|
An implementation of the DataReader for raw data. More...
#include <RawDataReaderEA3.h>
Public Member Functions | |
RawDataReaderEA3 (Index &index, RawDataReader::PrvData *data) | |
Constructor. | |
virtual | ~RawDataReaderEA3 () |
Destructor. | |
virtual const RawValue::Data * | find (const stdString &channel_name, const epicsTime *start) |
Locate data. | |
virtual const std::string & | getName () const |
Name of the channel, i.e. the one passed to find() | |
virtual const RawValue::Data * | next () |
Obtain the next value. | |
virtual const RawValue::Data * | get () const |
Current value. | |
virtual DbrType | getType () const |
The dbr_time_xxx type. | |
virtual DbrCount | getCount () const |
array size | |
virtual const CtrlInfo & | getInfo () const |
The meta information for the channel. | |
virtual bool | changedType () |
next() updates this if dbr_type/count changed. | |
virtual bool | changedInfo () |
next() updates this if ctrl_info changed. | |
void | read (DbrType type, DbrCount count, size_t size, RawValue::Data *value, class DataFile *datafile, FileOffset offset) |
Read a value from binary file. More... | |
![]() | |
void | toString (stdString &text) const |
Convert current value to string. More... | |
An implementation of the DataReader for raw data.
It reads the original samples from a 'full' index. No averaging, no support for 'shallow' indices.
void RawDataReaderEA3::read | ( | DbrType | type, |
DbrCount | count, | ||
size_t | size, | ||
RawValue::Data * | value, | ||
class DataFile * | datafile, | ||
FileOffset | offset | ||
) |
Read a value from binary file.
size: pre-calculated from type, count.
GenericException | on error. |