qmca  0.0.20
Public Member Functions | Private Attributes | List of all members
QmcaEpicsInterface Class Reference

#include <qmcaepicsinterface.h>

Inheritance diagram for QmcaEpicsInterface:
Inheritance graph

Public Member Functions

 QmcaEpicsInterface (QmcaApplication *app)
 
void shutdown ()
 

Private Attributes

QmcaApplicationm_Application
 

Detailed Description

Definition at line 8 of file qmcaepicsinterface.h.

Constructor & Destructor Documentation

QmcaEpicsInterface::QmcaEpicsInterface ( QmcaApplication app)

Definition at line 6 of file qmcaepicsinterface.cpp.

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 }
QmcaApplication * m_Application

Member Function Documentation

void QmcaEpicsInterface::shutdown ( )

Definition at line 20 of file qmcaepicsinterface.cpp.

21 {
22  ca_context_destroy();
23 }

Member Data Documentation

QmcaApplication* QmcaEpicsInterface::m_Application
private

Definition at line 17 of file qmcaepicsinterface.h.


The documentation for this class was generated from the following files: