areaDetector  3-5-0
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 "NDArray.h"
15 
17 #define DBR_NATIVE -1
18 
19 typedef enum {
25 
29 class paramAttribute : public NDAttribute {
30 public:
31  paramAttribute(const char *pName, const char *pDescription, const char *pSource, int addr,
32  class asynNDArrayDriver *pDriver, const char *dataType);
33  paramAttribute(paramAttribute& attribute);
35  paramAttribute* copy(NDAttribute *pAttribute);
36  int updateValue();
37  int report(FILE *fp, int details);
38 
39 private:
40  int paramId;
41  int paramAddr;
42  paramAttrType_t paramType;
43  class asynNDArrayDriver *pDriver;
44 };
45 
46 #endif /*INCparamAttributeH*/
Definition: paramAttribute.h:23
paramAttrType_t
Definition: paramAttribute.h:19
This is the class from which NDArray drivers are derived; implements the asynGenericPointer functions...
Definition: asynNDArrayDriver.h:119
int report(FILE *fp, int details)
Reports on the properties of the paramAttribute object; calls base class NDAttribute::report() to rep...
Definition: paramAttribute.cpp:174
Definition: paramAttribute.h:22
Attribute that gets its value from an asynNDArrayDriver driver parameter.
Definition: paramAttribute.h:29
int updateValue()
Updates the current value of this attribute; sets the attribute value to the current value of the dri...
Definition: paramAttribute.cpp:122
Definition: paramAttribute.h:21
paramAttribute * copy(NDAttribute *pAttribute)
Copies properties from this to pOut.
Definition: paramAttribute.cpp:157
Definition: paramAttribute.h:20
paramAttribute(const char *pName, const char *pDescription, const char *pSource, int addr, class asynNDArrayDriver *pDriver, const char *dataType)
Constructor for driver/plugin attribute.
Definition: paramAttribute.cpp:44
NDAttribute class; an attribute has a name, description, source type, source string,...
Definition: NDAttribute.h:87
~paramAttribute()
Destructor for driver/plugin attribute.
Definition: paramAttribute.cpp:115