EPICS ARCHIVER V4
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups
Public Member Functions | List of all members
RawDataReaderEA3 Class Reference

An implementation of the DataReader for raw data. More...

#include <RawDataReaderEA3.h>

Inheritance diagram for RawDataReaderEA3:
DataReader

Public Member Functions

 RawDataReaderEA3 (Index &index, RawDataReader::PrvData *data)
 Constructor.
 
virtual ~RawDataReaderEA3 ()
 Destructor.
 
virtual const RawValue::Datafind (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::Datanext ()
 Obtain the next value.
 
virtual const RawValue::Dataget () const
 Current value.
 
virtual DbrType getType () const
 The dbr_time_xxx type.
 
virtual DbrCount getCount () const
 array size
 
virtual const CtrlInfogetInfo () 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...
 
- Public Member Functions inherited from DataReader
void toString (stdString &text) const
 Convert current value to string. More...
 

Detailed Description

An implementation of the DataReader for raw data.

It reads the original samples from a 'full' index. No averaging, no support for 'shallow' indices.

Member Function Documentation

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.

Exceptions
GenericExceptionon error.

The documentation for this class was generated from the following file: