32 lines
1009 B
C++
32 lines
1009 B
C++
// SPDX-FileCopyrightText: 2025 Filip Leonarski, Paul Scherrer Institute <filip.leonarski@psi.ch>
|
|
// SPDX-License-Identifier: GPL-3.0-only
|
|
|
|
#ifndef JFJOCH_DECTRISDETECTORWRAPPER_H
|
|
#define JFJOCH_DECTRISDETECTORWRAPPER_H
|
|
|
|
#include "DetectorWrapper.h"
|
|
#include "DectrisSimplonClient.h"
|
|
|
|
class DectrisDetectorWrapper : public DetectorWrapper {
|
|
std::unique_ptr<DectrisSimplonClient> simplon;
|
|
void CheckBusy();
|
|
void CheckBusyOrError();
|
|
public:
|
|
void Initialize(DiffractionExperiment &experiment,
|
|
const std::vector<AcquisitionDeviceNetConfig> &net_config) override;
|
|
|
|
void Configure(const DiffractionExperiment &experiment) override;
|
|
void Start(const DiffractionExperiment &experiment) override;
|
|
void Stop() override;
|
|
void Trigger() override;
|
|
void Deactivate() override;
|
|
|
|
void LoadPixelMask(PixelMask &mask) override;
|
|
|
|
DetectorState GetState() const override;
|
|
DetectorStatus GetStatus() const override;
|
|
};
|
|
|
|
|
|
#endif //JFJOCH_DECTRISDETECTORWRAPPER_H
|