mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-02-01 18:04:57 +01:00
WIP
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
#include "multiSlsDetector.h"
|
||||
#include "slsDetector.h"
|
||||
#include "sls_detector_defs.h"
|
||||
#include "detectorData.h"
|
||||
|
||||
namespace sls {
|
||||
|
||||
using defs = slsDetectorDefs;
|
||||
@@ -82,6 +84,20 @@ void Detector::setSettings(defs::detectorSettings value, Positions pos) {
|
||||
pimpl->Parallel(&slsDetector::setSettings, pos, value);
|
||||
}
|
||||
|
||||
// Callback
|
||||
|
||||
void Detector::registerAcquisitionFinishedCallback(void (*func)(double, int,
|
||||
void *),
|
||||
void *pArg) {
|
||||
pimpl->registerAcquisitionFinishedCallback(func, pArg);
|
||||
}
|
||||
|
||||
void Detector::registerDataCallback(void (*func)(detectorData *, uint64_t,
|
||||
uint32_t, void *),
|
||||
void *pArg) {
|
||||
pimpl->registerDataCallback(func, pArg);
|
||||
}
|
||||
|
||||
// Acquisition Parameters
|
||||
|
||||
Result<int64_t> Detector::getNumberOfFrames() const {
|
||||
|
||||
Reference in New Issue
Block a user