00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef INCPVAttributeH
00012 #define INCPVAttributeH
00013
00014 #include <ellLib.h>
00015 #include <cadef.h>
00016
00017 #include "NDArray.h"
00018 #include "asynNDArrayDriver.h"
00019
00021 #define DBR_NATIVE -1
00022
00025 class PVAttribute : public NDAttribute {
00026 public:
00027 PVAttribute(const char *pName, const char *pDescription, const char *pSource, chtype dbrType);
00028 ~PVAttribute();
00029
00030 void connectCallback(struct connection_handler_args cha);
00031 void monitorCallback(struct event_handler_args cha);
00032 int report(int details);
00033
00034 private:
00035 chid chanId;
00036 evid eventId;
00037 chtype dbrType;
00038 epicsMutexId lock;
00039 };
00040
00041 #endif