marxf.h

Go to the documentation of this file.
00001 #ifndef MARXF_H
00002 #define MARXF_H
00003 
00004 #include <QObject>
00005 
00006 class MarXF : public QObject
00007 {
00008   Q_OBJECT;
00009 
00010  public:
00011   MarXF(QObject *parent=0);
00012   typedef QObject inherited;
00013 
00014   int  mar_start_scan_readout(int next_scan);
00015   void Transform( int i_sp, int block_no, unsigned short *spiral );
00016 
00017  signals:
00018   void print_message(QString msg);
00019   void spy_message(QString msg);
00020   void scan_finished();
00021   void erase_finished();
00022   void task_finished();
00023 
00024  private:
00025   void ImageArray( int addr, unsigned short i2_val);
00026   void output_image(void);
00027   int  output_header(int mode);
00028   void get_header_values(int mode);
00029   void PrintResults( int mode );
00030   int  ReadNB(FILE *fp);
00031   float PrintStats( int mode, int x, int y, int NP, unsigned int *i4_arr);
00032   int HistoMinMax(void);
00033 
00034   virtual void marError( int err_no, int idata ) = 0;
00035 };
00036 
00037 #endif