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