qmca
0.0.20
Main Page
Classes
Files
File List
File Members
qmca
epicsobject.h
Go to the documentation of this file.
1
#ifndef EPICSOBJECT_H
2
#define EPICSOBJECT_H
3
4
#include <QObject>
5
#include <QString>
6
#include <QMutex>
7
#include <cadef.h>
8
9
class
EpicsObject
:
public
QObject
10
{
11
Q_OBJECT;
12
13
public
:
14
EpicsObject
(QString
pvName
, QObject *parent=0,
int
debug
=0);
15
virtual
~EpicsObject
();
16
17
void
changeConnection
(QString pv);
18
int
count
();
19
QString
pvName
();
20
QString
toolTip
();
21
virtual
void
connected
();
22
virtual
void
disconnected
();
23
24
chid
channelID
();
25
26
int
debug
();
27
void
setDebug
(
int
dbg);
28
29
void
settle
(
double
t);
30
31
void
ca_pend_io
(
double
t);
32
33
signals:
34
void
valueChanged
();
35
36
private
:
37
virtual
caEventCallBackFunc *
get_event_handler
() = 0;
38
EpicsObject
(
const
EpicsObject
©);
39
EpicsObject
&
operator=
(
const
EpicsObject
©);
40
41
public
:
42
static
QMutex
m_Mutex
;
43
44
private
:
45
QString
m_PVName
;
46
47
protected
:
48
chid
m_ChannelID
;
49
evid
m_EventID
;
50
bool
m_HasEventHandler
;
51
int
m_Debug
;
52
};
53
54
#endif
EpicsObject::m_Debug
int m_Debug
Definition:
epicsobject.h:51
EpicsObject::~EpicsObject
virtual ~EpicsObject()
Definition:
epicsobject.cpp:20
EpicsObject::setDebug
void setDebug(int dbg)
Definition:
epicsobject.cpp:111
EpicsObject::count
int count()
Definition:
epicsobject.cpp:40
EpicsObject::settle
void settle(double t)
Definition:
epicsobject.cpp:116
EpicsObject::get_event_handler
virtual caEventCallBackFunc * get_event_handler()=0
EpicsObject::m_HasEventHandler
bool m_HasEventHandler
Definition:
epicsobject.h:50
EpicsObject::pvName
QString pvName()
Definition:
epicsobject.cpp:30
EpicsObject::debug
int debug()
Definition:
epicsobject.cpp:106
EpicsObject::EpicsObject
EpicsObject(QString pvName, QObject *parent=0, int debug=0)
Definition:
epicsobject.cpp:7
EpicsObject::disconnected
virtual void disconnected()
Definition:
epicsobject.cpp:59
EpicsObject::m_EventID
evid m_EventID
Definition:
epicsobject.h:49
EpicsObject::changeConnection
void changeConnection(QString pv)
Definition:
epicsobject.cpp:84
EpicsObject
Definition:
epicsobject.h:9
EpicsObject::valueChanged
void valueChanged()
EpicsObject::m_Mutex
static QMutex m_Mutex
Definition:
epicsobject.h:42
EpicsObject::channelID
chid channelID()
Definition:
epicsobject.cpp:63
EpicsObject::m_PVName
QString m_PVName
Definition:
epicsobject.h:45
EpicsObject::toolTip
QString toolTip()
Definition:
epicsobject.cpp:35
EpicsObject::connected
virtual void connected()
Definition:
epicsobject.cpp:45
EpicsObject::operator=
EpicsObject & operator=(const EpicsObject ©)
EpicsObject::m_ChannelID
chid m_ChannelID
Definition:
epicsobject.h:48
EpicsObject::ca_pend_io
void ca_pend_io(double t)
Definition:
epicsobject.cpp:121
Generated by
1.8.6