qmca
0.0.20
Main Page
Classes
Files
File List
File Members
qmca
qmcaepicsinterface.cpp
Go to the documentation of this file.
1
#include "
qmcaepicsinterface.h
"
2
#include <cadef.h>
3
4
#include <stdio.h>
5
6
QmcaEpicsInterface::QmcaEpicsInterface
(
QmcaApplication
*app)
7
: QObject(),
8
m_Application(app)
9
{
10
int
stat;
11
12
stat = ca_context_create(ca_enable_preemptive_callback);
13
14
if
(stat != ECA_NORMAL) {
15
printf(
"ca_context_create failed:\n%s\n"
, ca_message(stat));
16
return
;
17
}
18
}
19
20
void
QmcaEpicsInterface::shutdown
()
21
{
22
ca_context_destroy();
23
}
qmcaepicsinterface.h
QmcaEpicsInterface::shutdown
void shutdown()
Definition:
qmcaepicsinterface.cpp:20
QmcaEpicsInterface::QmcaEpicsInterface
QmcaEpicsInterface(QmcaApplication *app)
Definition:
qmcaepicsinterface.cpp:6
QmcaApplication
Definition:
qmcaapplication.h:10
Generated by
1.8.6