areaDetector  3-13
EPICS areaDetector framework
paramAttribute.h
Go to the documentation of this file.
1 
2 /* paramAttribute.h
3  *
4  * \author Mark Rivers
5  *
6  * \author University of Chicago
7  *
8  * \date April 30, 2009
9  *
10  */
11 #ifndef INCparamAttributeH
12 #define INCparamAttributeH
13 
14 #include "NDAttribute.h"
15 #include "asynNDArrayDriver.h"
16 
18 #define DBR_NATIVE -1
19 
20 typedef enum {
27 
32 public:
33  paramAttribute(const char *pName, const char *pDescription, const char *pSource, int addr,
34  class asynNDArrayDriver *pDriver, const char *dataType);
35  paramAttribute(paramAttribute& attribute);
36  ~paramAttribute();
37  paramAttribute* copy(NDAttribute *pAttribute);
38  int updateValue();
39  int report(FILE *fp, int details);
40 
41 private:
42  int paramId;
43  int paramAddr;
44  paramAttrType_t paramType;
45  class asynNDArrayDriver *pDriver;
46 };
47 
48 #endif /*INCparamAttributeH*/
#define ADCORE_API
Definition: ADCoreAPI.h:41
NDDataType_t dataType
Definition: ADPylon.cpp:60
NDAttribute class; an attribute has a name, description, source type, source string,...
Definition: NDAttribute.h:96
virtual int updateValue()
Updates the current value of this attribute.
Definition: NDAttribute.cpp:410
virtual NDAttribute * copy(NDAttribute *pAttribute)
Copies properties from this to pOut.
Definition: NDAttribute.cpp:108
virtual int report(FILE *fp, int details)
Reports on the properties of the attribute.
Definition: NDAttribute.cpp:419
This is the class from which NDArray drivers are derived; implements the asynGenericPointer functions...
Definition: asynNDArrayDriver.h:136
Attribute that gets its value from an asynNDArrayDriver driver parameter.
Definition: paramAttribute.h:31
paramAttrType_t
Definition: paramAttribute.h:20
@ paramAttrTypeInt64
Definition: paramAttribute.h:22
@ paramAttrTypeInt
Definition: paramAttribute.h:21
@ paramAttrTypeString
Definition: paramAttribute.h:24
@ paramAttrTypeUnknown
Definition: paramAttribute.h:25
@ paramAttrTypeDouble
Definition: paramAttribute.h:23