qmca  0.0.20
epicsenumeration.h
Go to the documentation of this file.
1 #ifndef EPICSENUMERATION_H
2 #define EPICSENUMERATION_H
3 
4 #include <QObject>
5 #include <QStringList>
6 #include <epicsobject.h>
7 
9 {
10  Q_OBJECT;
11 
12  public:
13  EpicsEnumeration(QString pvName, QObject *parent=0);
14  virtual ~EpicsEnumeration();
15 
16  void changeConnection(QString pv);
17  void connected();
18 
19  signals:
20  void valueChanged(int);
21  void valueListChanged();
22 
23  public slots:
24  void changeValue(struct dbr_gr_enum val);
25  void caput(int val);
26 
27  public:
28  int value();
29  QString valueString();
30  QStringList valueList();
31 
32  private:
33  virtual caEventCallBackFunc *get_event_handler();
34  static void event_handler(struct event_handler_args arg);
35 
36  struct dbr_gr_enum m_Value;
37 };
38 
39 #endif
void valueListChanged()
virtual ~EpicsEnumeration()
QString pvName()
Definition: epicsobject.cpp:30
static void event_handler(struct event_handler_args arg)
QStringList valueList()
virtual caEventCallBackFunc * get_event_handler()
QString valueString()
void caput(int val)
EpicsEnumeration(QString pvName, QObject *parent=0)
void changeConnection(QString pv)
void changeValue(struct dbr_gr_enum val)
void valueChanged()
struct dbr_gr_enum m_Value