|
EPICS ARCHIVER V4
|
Reads data from storage, formatted as spreadsheet. More...
#include <SpreadsheetReader.h>
Public Member Functions | |
| SpreadsheetReader (Index &index, ReaderFactory::How how=ReaderFactory::Raw, double delta=0.0) | |
| Create the SpreadsheetReader. | |
| virtual bool | find (const stdVector< stdString > &channel_names, const epicsTime *start=0) |
| Locate initial values. More... | |
| bool | found (size_t i) const |
| Was this channel found? More... | |
| virtual const epicsTime & | getTime () const |
| Time stamp for the current slice of data. | |
| virtual size_t | getNum () const |
| Number of entries in the following arrays. More... | |
| virtual const stdString & | getName (size_t i) const |
| Returns name of channel i=0...getNum()-1. | |
| virtual const RawValue::Data * | get (size_t i) const |
| Returns value of channel i=0...getNum()-1. More... | |
| virtual DbrType | getType (size_t i) const |
| The dbr_time_xxx type. More... | |
| virtual DbrCount | getCount (size_t i) const |
| array size. More... | |
| virtual const CtrlInfo & | getInfo (size_t i) const |
| The meta information for the channel. More... | |
| bool | next () |
| Get the next time slice. More... | |
Reads data from storage, formatted as spreadsheet.
Based on several DataReader classes, which read a single channel, the SpreadsheetReader reads multiple channels, stepping through the values in time such that one can use them for spreadsheet-type output, one point in time per line.
|
virtual |
Locate initial values.
Position the reader on-or-before start time for all channels.
| channel_names,: | List of channel names. |
| start,: | start time or 0 for first value |
| GenericException | on internal errors. |
|
inline |
|
virtual |
Returns value of channel i=0...getNum()-1.
The result might be 0 in case a channel does not have a valid value for the current time slice.
|
virtual |
|
virtual |
The meta information for the channel.
| GenericException | when channel was not found. |
|
virtual |
|
virtual |
| bool SpreadsheetReader::next | ( | ) |
Get the next time slice.
1.8.5