areaDetector  3-14
EPICS areaDetector framework
EuresysFeature.h
Go to the documentation of this file.
1 #ifndef EURESYS_FEATURE_H
2 #define EURESYS_FEATURE_H
3 
4 #include <GenICamFeature.h>
5 
6 #include "EGrabber.h"
7 using namespace Euresys;
8 
10 {
11 public:
13  std::string const & asynName, asynParamType asynType, int asynIndex,
14  std::string const & featureName, GCFeatureType_t featureType);
15  virtual bool isImplemented(void);
16  virtual bool isAvailable(void);
17  virtual bool isReadable(void);
18  virtual bool isWritable(void);
19  virtual epicsInt64 readInteger(void);
20  virtual epicsInt64 readIntegerMin(void);
21  virtual epicsInt64 readIntegerMax(void);
22  virtual epicsInt64 readIncrement(void);
23  virtual void writeInteger(epicsInt64 value);
24  virtual bool readBoolean(void);
25  virtual void writeBoolean (bool value);
26  virtual double readDouble(void);
27  virtual double readDoubleMin(void);
28  virtual double readDoubleMax(void);
29  virtual void writeDouble(double value);
30  virtual int readEnumIndex(void);
31  virtual void writeEnumIndex(int value);
32  virtual std::string readEnumString(void);
33  virtual void writeEnumString(std::string const & value);
34  virtual void readEnumChoices(std::vector<std::string>& enumStrings, std::vector<int>& enumValues);
35  virtual std::string readString(void);
36  virtual void writeString(std::string const & value);
37  virtual void writeCommand(void);
38 
39 private:
40  void reportError(const char *functionName, const char *errorSource, const char *errorWhat);
41  asynUser *mAsynUser;
42  EGRABBER_CALLBACK *mGrabber;
43  std::string mFeatureName;
44  bool mIsImplemented;
45 
46 };
47 
48 #endif
EGrabber< CallbackSingleThread > EGRABBER_CALLBACK
Definition: ADEuresys.h:11
GCFeatureType_t
Definition: GenICamFeature.h:13
Definition: EuresysFeature.h:10
Definition: GenICamFeature.h:41
Definition: GenICamFeature.h:123
@ string
Definition: NDFileHDF5Layout.h:44
list value
Definition: makeDbAndEdl.py:234