qavrg 0.0.28
qavrgfillpattern.h
Go to the documentation of this file.
00001 #ifndef QAVRGFILLPATTERN_H
00002 #define QAVRGFILLPATTERN_H
00003 
00004 #include <QObject>
00005 #include <epics/cadef.h>
00006 #include <QVector>
00007 //#include <QCryptographicHash>
00008 
00009 class QavrgEpicsInterface;
00010 
00011 class QavrgFillPattern : public QObject
00012 {
00013   Q_OBJECT;
00014 
00015  public:
00016   QavrgFillPattern(QavrgEpicsInterface *ifc);
00017   ~QavrgFillPattern();
00018 
00019   void valueChanged(struct event_handler_args args);
00020 
00021   QVector<bool> fillPattern();
00022   int filledBunch(int n);
00023 
00024  signals:
00025   void fillPatternChanged();
00026 
00027  private:
00028   QavrgEpicsInterface *m_EpicsInterface;
00029   chid                 m_Ch;
00030   QVector<bool>        m_FillPattern;
00031 //  QCryptographicHash   m_FillSignature;
00032   long                 m_Magic;
00033 };
00034 
00035 #endif