areaDetector  3-14
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:136
virtual epicsInt64 readIntegerMin(void)
Definition: arvFeature.cpp:63
virtual epicsInt64 readIncrement(void)
Definition: arvFeature.cpp:75
virtual void writeDouble(double value)
Definition: arvFeature.cpp:96
virtual bool readBoolean(void)
Definition: arvFeature.cpp:84
virtual void writeCommand(void)
Definition: arvFeature.cpp:140
virtual epicsInt64 readIntegerMax(void)
Definition: arvFeature.cpp:69
virtual double readDoubleMax(void)
Definition: arvFeature.cpp:106
virtual std::string readString(void)
Definition: arvFeature.cpp:130
virtual epicsInt64 readInteger(void)
Definition: arvFeature.cpp:59
virtual void writeEnumString(std::string const &value)
Definition: arvFeature.cpp:127
virtual std::string readEnumString(void)
Definition: arvFeature.cpp:120
virtual int readEnumIndex(void)
Definition: arvFeature.cpp:112
virtual void writeBoolean(bool value)
Definition: arvFeature.cpp:88
virtual void writeEnumIndex(int value)
Definition: arvFeature.cpp:116
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:144
virtual double readDoubleMin(void)
Definition: arvFeature.cpp:100
virtual bool isAvailable(void)
Definition: arvFeature.cpp:33
virtual bool isReadable(void)
Definition: arvFeature.cpp:48
virtual double readDouble(void)
Definition: arvFeature.cpp:92
virtual bool isWritable(void)
Definition: arvFeature.cpp:54
virtual void writeInteger(epicsInt64 value)
Definition: arvFeature.cpp:80
@ string
Definition: NDFileHDF5Layout.h:44
list value
Definition: makeDbAndEdl.py:234