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