areaDetector  3-13
EPICS areaDetector framework
arvFeature.h
Go to the documentation of this file.
1 #ifndef ARV_FEATURE_H
2 #define ARV_FEATURE_H
3 
4 #include <GenICamFeature.h>
5 
6 /* aravis includes */
7 extern "C" {
8  #include <arv.h>
9 }
10 
11 class arvFeature : public GenICamFeature
12 {
13 public:
15  std::string const & asynName, asynParamType asynType, int asynIndex,
16  std::string const & featureName,
17  GCFeatureType_t featureType, ArvDevice *device);
18  virtual void initialize(ArvDevice *device);
19  virtual bool isImplemented(void);
20  virtual bool isAvailable(void);
21  virtual bool isReadable(void);
22  virtual bool isWritable(void);
23  virtual epicsInt64 readInteger(void);
24  virtual epicsInt64 readIntegerMin(void);
25  virtual epicsInt64 readIntegerMax(void);
26  virtual epicsInt64 readIncrement(void);
27  virtual void writeInteger(epicsInt64 value);
28  virtual bool readBoolean(void);
29  virtual void writeBoolean (bool value);
30  virtual double readDouble(void);
31  virtual double readDoubleMin(void);
32  virtual double readDoubleMax(void);
33  virtual void writeDouble(double value);
34  virtual int readEnumIndex(void);
35  virtual void writeEnumIndex(int value);
36  virtual std::string readEnumString(void);
37  virtual void writeEnumString(std::string const & value);
38  virtual void readEnumChoices(std::vector<std::string>& enumStrings, std::vector<int>& enumValues);
39  virtual std::string readString(void);
40  virtual void writeString(std::string const & value);
41  virtual void writeCommand(void);
42 
43 private:
44  bool mIsImplemented;
45  ArvGcNode *mNode;
46  ArvDevice *mDevice;
47  GError *mError;
48 
49 
50 };
51 
52 #endif
53 
GCFeatureType_t
Definition: GenICamFeature.h:13
Definition: GenICamFeature.h:41
Definition: GenICamFeature.h:123
Definition: arvFeature.h:12
virtual void writeString(std::string const &value)
Definition: arvFeature.cpp:125
virtual epicsInt64 readIntegerMin(void)
Definition: arvFeature.cpp:52
virtual epicsInt64 readIncrement(void)
Definition: arvFeature.cpp:64
virtual void writeDouble(double value)
Definition: arvFeature.cpp:85
virtual bool readBoolean(void)
Definition: arvFeature.cpp:73
virtual void writeCommand(void)
Definition: arvFeature.cpp:129
virtual epicsInt64 readIntegerMax(void)
Definition: arvFeature.cpp:58
virtual double readDoubleMax(void)
Definition: arvFeature.cpp:95
virtual std::string readString(void)
Definition: arvFeature.cpp:119
virtual epicsInt64 readInteger(void)
Definition: arvFeature.cpp:48
virtual void writeEnumString(std::string const &value)
Definition: arvFeature.cpp:116
virtual std::string readEnumString(void)
Definition: arvFeature.cpp:109
virtual int readEnumIndex(void)
Definition: arvFeature.cpp:101
virtual void writeBoolean(bool value)
Definition: arvFeature.cpp:77
virtual void writeEnumIndex(int value)
Definition: arvFeature.cpp:105
virtual void initialize(ArvDevice *device)
Definition: arvFeature.cpp:18
virtual bool isImplemented(void)
Definition: arvFeature.cpp:29
arvFeature(GenICamFeatureSet *set, std::string const &asynName, asynParamType asynType, int asynIndex, std::string const &featureName, GCFeatureType_t featureType, ArvDevice *device)
Definition: arvFeature.cpp:7
virtual void readEnumChoices(std::vector< std::string > &enumStrings, std::vector< int > &enumValues)
Definition: arvFeature.cpp:133
virtual double readDoubleMin(void)
Definition: arvFeature.cpp:89
virtual bool isAvailable(void)
Definition: arvFeature.cpp:33
virtual bool isReadable(void)
Definition: arvFeature.cpp:37
virtual double readDouble(void)
Definition: arvFeature.cpp:81
virtual bool isWritable(void)
Definition: arvFeature.cpp:43
virtual void writeInteger(epicsInt64 value)
Definition: arvFeature.cpp:69
@ string
Definition: NDFileHDF5Layout.h:44
list value
Definition: makeDbAndEdl.py:234