ATLAS Offline Software
Loading...
Searching...
No Matches
VP1LocalEvtRetriever.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef VP1LocalEvtRetriever_h
6#define VP1LocalEvtRetriever_h
7
8#include <QThread>
9#include <QString>
10#include <QMutex>
11
13class QTimer;
14
15class VP1LocalEvtRetriever : public QThread
16{
17 Q_OBJECT
18
19 public:
21 ,const QString &
22 ,QObject* parent = 0);
24
25 void setSourceDir(QString );
26
27 public Q_SLOTS:
29
30 protected:
31 void run();
32
33 private:
34 void updateLocalDir(); // Called by updateLocalDirFromSource() and by setSourceDir(QString)
35 // Does the actual work. Has been introduced in order to avoid mutex deadlocks
36
38 QString m_sourcedir;
39 QTimer* m_timer;
40 QMutex m_mutex;
41};
42
43#endif
VP1LocalEvtRetriever(VP1AvailEvtsLocalDir *, const QString &, QObject *parent=0)
VP1AvailEvtsLocalDir * m_availEvts