EPICS ARCHIVER V4
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups
ReaderFactory.h
1 // -*- c++ -*-
2 
3 #ifndef __READER_FACTORY_H__
4 #define __READER_FACTORY_H__
5 
6 // tools
7 #include "tools/ToolsConfig.h"
8 
9 // storage
10 #include "storage/Index.h"
11 #include "storage/DataReader.h"
12 
15 
18 
19 public:
20 
22  enum How {
23  Raw,
27  };
28 
35  static const char *toString(How how, double delta);
36 
38  static DataReader* create(Index& index, How how, double delta);
39 };
40 
42 
43 #endif
static DataReader * create(Index &index, How how, double delta)
Create a DataReader.
Reads data from storage.
Definition: DataReader.h:23
How
Determine what DataReader to use:
Definition: ReaderFactory.h:22
static const char * toString(How how, double delta)
String representation of how/delta.
Use LinearReader.
Definition: ReaderFactory.h:26
Use PlotReader.
Definition: ReaderFactory.h:24
Base interface for the archiver's indices.
Definition: Index.h:16
Create one of the DataReader class instances.
Definition: ReaderFactory.h:17
Use RawDataReader.
Definition: ReaderFactory.h:23
Use AverageReader.
Definition: ReaderFactory.h:25