mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-30 12:13:38 +01:00
First commit
This commit is contained in:
60
JCTBGui/jctbAcquisition.h
Executable file
60
JCTBGui/jctbAcquisition.h
Executable file
@@ -0,0 +1,60 @@
|
||||
#ifndef JCTBACQUISITION_H
|
||||
#define JCTBACQUISITION_H
|
||||
#include <TGFrame.h>
|
||||
|
||||
|
||||
|
||||
class TGTextEntry;
|
||||
class TGLabel;
|
||||
class TGNumberEntry;
|
||||
class TGCheckButton;
|
||||
class TThread;
|
||||
|
||||
class TGTextButton;
|
||||
|
||||
class multiSlsDetector;
|
||||
class detectorData;
|
||||
|
||||
#include <string>
|
||||
using namespace std;
|
||||
|
||||
class jctbAcquisition : public TGGroupFrame {
|
||||
|
||||
|
||||
private:
|
||||
TGTextEntry *eOutdir;
|
||||
TGTextEntry *eFname;
|
||||
TGNumberEntry *eFindex;
|
||||
TGCheckButton *cFileSave;
|
||||
TGTextButton *bStatus;
|
||||
// TGTextButton
|
||||
|
||||
TThread *acqThread;
|
||||
|
||||
multiSlsDetector* myDet;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public:
|
||||
jctbAcquisition(TGVerticalFrame*, multiSlsDetector*);
|
||||
void setOutdir();
|
||||
void setFname();
|
||||
void setFsave(Bool_t);
|
||||
void setFindex();
|
||||
void toggleAcquisition();
|
||||
static void* ThreadHandle(void *arg);
|
||||
void update();
|
||||
void acquisitionFinished();
|
||||
|
||||
void startAcquisition();
|
||||
static int progressCallback(double,void*);
|
||||
static int dataCallback(detectorData*, int, void*);
|
||||
int StopFlag;
|
||||
|
||||
ClassDef(jctbAcquisition,0)
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user