areaDetector 3-14
EPICS areaDetector framework
VimbaFeature.h
Go to the documentation of this file.
1#ifndef VIMBA_FEATURE_H
2#define VIMBA_FEATURE_H
3
4#include <GenICamFeature.h>
5#include <ADVimba.h>
6
7#include "VimbaCPP/Include/VimbaCPP.h"
8#include "VimbaCPP/Include/VimbaCPP.h"
9
10using namespace AVT;
11using namespace AVT::VmbAPI;
12
14{
15public:
17 std::string const & asynName, asynParamType asynType, int asynIndex,
18 std::string const & featureName, GCFeatureType_t featureType, CameraPtr pCamera);
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
43private:
44 inline VmbErrorType checkError(VmbErrorType error, const char *functionName, const char *message);
45 CameraPtr mCameraPtr;
46 asynUser *mAsynUser;
47 FeaturePtr mFeaturePtr;
48 bool mIsImplemented;
49
50};
51
52#endif
GCFeatureType_t
Definition GenICamFeature.h:13
Definition GenICamFeature.h:41
Definition GenICamFeature.h:123
Definition VimbaFeature.h:14
virtual bool isAvailable(void)
Definition VimbaFeature.cpp:85
virtual double readDoubleMax(void)
Definition VimbaFeature.cpp:179
virtual double readDouble(void)
Definition VimbaFeature.cpp:160
virtual void writeEnumIndex(int value)
Definition VimbaFeature.cpp:193
virtual void writeString(std::string const &value)
Definition VimbaFeature.cpp:212
virtual void writeDouble(double value)
Definition VimbaFeature.cpp:167
virtual void writeCommand(void)
Definition VimbaFeature.cpp:217
virtual std::string readString(void)
Definition VimbaFeature.cpp:205
virtual void writeBoolean(bool value)
Definition VimbaFeature.cpp:155
virtual bool isImplemented(void)
Definition VimbaFeature.cpp:81
virtual bool isWritable(void)
Definition VimbaFeature.cpp:108
virtual epicsInt64 readIntegerMax(void)
Definition VimbaFeature.cpp:129
virtual std::string readEnumString(void)
Definition VimbaFeature.cpp:198
virtual void writeEnumString(std::string const &value)
Definition VimbaFeature.cpp:202
virtual epicsInt64 readIntegerMin(void)
Definition VimbaFeature.cpp:122
virtual void readEnumChoices(std::vector< std::string > &enumStrings, std::vector< int > &enumValues)
Definition VimbaFeature.cpp:229
virtual double readDoubleMin(void)
Definition VimbaFeature.cpp:172
virtual void writeInteger(epicsInt64 value)
Definition VimbaFeature.cpp:143
virtual bool isReadable(void)
Definition VimbaFeature.cpp:101
virtual epicsInt64 readIncrement(void)
Definition VimbaFeature.cpp:136
virtual epicsInt64 readInteger(void)
Definition VimbaFeature.cpp:115
virtual bool readBoolean(void)
Definition VimbaFeature.cpp:148
virtual int readEnumIndex(void)
Definition VimbaFeature.cpp:186
Definition ListCameras.cpp:41
Definition ListCameras.cpp:40