HITDAQ/hit2017/hw.h

41 lines
560 B
C++

#ifndef HW_H
#define HW_H
#include <QObject>
#include <QVector>
#include <QThread>
#include "device.h"
#include "eventbuilder.h"
class HW : public QObject
{
Q_OBJECT
public:
explicit HW(QObject *parent = 0);
~HW();
QVector<Device*> devices;
EventBuilder eventBuilder;
Device &operator [](int nr);
void addDevices(int nr_devices);
void removeDevices();
void connectDevices();
void disconnectDevices();
void run();
void stop();
QString report();
signals:
public slots:
protected:
};
#endif // HW_H