QXRD  0.11.16
Functions
qxrddetectorperkinelmer.cpp File Reference

(Commit a65ccc9... : jennings : 2016-03-15 14:00:18 -0500)

#include "qxrddebug.h"
#include "qxrddetectorperkinelmer.h"
#include "qxrdapplication.h"
#include "qxrdperkinelmerplugininterface.h"
#include "qxrdacquisition.h"
#include "qcepallocator.h"
#include "qcepmutexlocker.h"
#include "qxrddetectorproxy.h"
Include dependency graph for qxrddetectorperkinelmer.cpp:

Go to the source code of this file.

Functions

static void CALLBACK OnEndFrameCallback (HACQDESC hAcqDesc)
 
static void CALLBACK OnEndAcqCallback (HACQDESC hAcqDesc)
 

Function Documentation

static void CALLBACK OnEndAcqCallback ( HACQDESC  hAcqDesc)
static

Definition at line 1215 of file qxrddetectorperkinelmer.cpp.

Referenced by QxrdDetectorPerkinElmer::startDetector().

1216 {
1217 }

Here is the caller graph for this function:

static void CALLBACK OnEndFrameCallback ( HACQDESC  hAcqDesc)
static

Definition at line 1194 of file qxrddetectorperkinelmer.cpp.

References ACQDATATYPE, g_Application, QxrdDetector::isEnabled(), object, and QxrdDetectorPerkinElmer::onEndFrameCallback().

Referenced by QxrdDetectorPerkinElmer::startDetector().

1195 {
1196  QxrdApplication *app = qobject_cast<QxrdApplication*>(g_Application);
1197 
1198  if (app) {
1199  QxrdPerkinElmerPluginInterfacePtr plugin(app->perkinElmerPlugin());
1200 
1201  if (hAcqDesc && plugin) {
1203 
1204  plugin->Acquisition_GetAcqData(hAcqDesc, &object);
1205 
1206  QxrdDetectorPerkinElmer *detector = reinterpret_cast<QxrdDetectorPerkinElmer*>(object);
1207 
1208  if (detector && detector->isEnabled()) {
1209  detector->onEndFrameCallback();
1210  }
1211  }
1212  }
1213 }
QSharedPointer< QxrdPerkinElmerPluginInterface > QxrdPerkinElmerPluginInterfacePtr
JSON Parse a string as a JSON object
QcepApplication * g_Application
#define ACQDATATYPE

Here is the call graph for this function:

Here is the caller graph for this function: