areaDetector  3-14
EPICS areaDetector framework
NDAttributeList.h
Go to the documentation of this file.
1 
9 #ifndef NDAttributeList_H
10 #define NDAttributeList_H
11 
12 #include <stdio.h>
13 #include <ellLib.h>
14 #include <epicsMutex.h>
15 
16 #include "NDAttribute.h"
17 
18 
22 public:
24  ~NDAttributeList();
25  int add(NDAttribute *pAttribute);
26  NDAttribute* add(const char *pName, const char *pDescription="",
27  NDAttrDataType_t dataType=NDAttrUndefined, void *pValue=NULL);
28  NDAttribute* find(const char *pName);
29  NDAttribute* next(NDAttribute *pAttribute);
30  int count();
31  int remove(const char *pName);
32  int clear();
33  int copy(NDAttributeList *pOut);
34  int updateValues();
35  int report(FILE *fp, int details);
36 
37 private:
38  ELLLIST list_;
39  epicsMutexId lock_;
40 };
41 
42 #endif
43 
#define ADCORE_API
Definition: ADCoreAPI.h:41
NDDataType_t dataType
Definition: ADPylon.cpp:60
NDAttrDataType_t
Enumeration of NDAttribute attribute data types.
Definition: NDAttribute.h:45
@ NDAttrUndefined
Undefined data type.
Definition: NDAttribute.h:57
NDAttribute class; an attribute has a name, description, source type, source string,...
Definition: NDAttribute.h:96
NDAttributeList.h.
Definition: NDAttributeList.h:21