ATLAS Offline Software
VP1AvailEvtsLocalDir.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
7 // //
8 // Header file for class VP1AvailEvtsLocalDir //
9 // //
10 // Description: Implementation of VP1AvailEvents which //
11 // monitors events as they appear in a local //
12 // directory. //
13 // //
14 // Author: Thomas H. Kittelmann (Thomas.Kittelmann@cern.ch) //
15 // Initial version: May 2008 //
16 // //
18 
19 #ifndef VP1AVAILEVTSLOCALDIR_H
20 #define VP1AVAILEVTSLOCALDIR_H
21 
22 #include "VP1Gui/VP1AvailEvents.h"
23 
25 
26  Q_OBJECT
27 
28 public:
29 
30  friend class VP1LocalEvtRetriever;
31 
33  QString sourcedir,
34  QString tmpcopydir,
35  int maxLocalFilesToKeep = -1,
36  QObject * parent = 0 );
37  void setSourceDir(QString);
38  QString currentSourceDir() const;
39 
40  //Just to let this class transport the info around:
41  void setAvailableSourceDirectories(QStringList);
42  QStringList availableSourceDirectories() const;
43 
44  virtual ~VP1AvailEvtsLocalDir();
45 
46  virtual void init();
47 
48 private:
49  class Imp;
50  Imp * m_d;
51 };
52 
53 #endif
VP1AvailEvtsLocalDir::VP1AvailEvtsLocalDir
VP1AvailEvtsLocalDir(int timeCutForNew, QString sourcedir, QString tmpcopydir, int maxLocalFilesToKeep=-1, QObject *parent=0)
Definition: VP1AvailEvtsLocalDir.cxx:33
VP1AvailEvents.h
VP1AvailEvtsLocalDir::availableSourceDirectories
QStringList availableSourceDirectories() const
Definition: VP1AvailEvtsLocalDir.cxx:78
VP1AvailEvtsLocalDir::Imp
Definition: VP1AvailEvtsLocalDir.cxx:21
VP1AvailEvtsLocalDir::init
virtual void init()
Definition: VP1AvailEvtsLocalDir.cxx:45
test_pyathena.parent
parent
Definition: test_pyathena.py:15
VP1AvailEvents::timeCutForNew
int timeCutForNew() const
Definition: VP1AvailEvents.cxx:92
VP1AvailEvtsLocalDir::m_d
Imp * m_d
Definition: VP1AvailEvtsLocalDir.h:49
VP1LocalEvtRetriever
Definition: VP1LocalEvtRetriever.h:16
VP1AvailEvtsLocalDir::currentSourceDir
QString currentSourceDir() const
Definition: VP1AvailEvtsLocalDir.cxx:58
VP1AvailEvtsLocalDir::setSourceDir
void setSourceDir(QString)
Definition: VP1AvailEvtsLocalDir.cxx:64
VP1AvailEvents::maxLocalFilesToKeep
int maxLocalFilesToKeep() const
Definition: VP1AvailEvents.cxx:98
VP1AvailEvtsLocalDir::setAvailableSourceDirectories
void setAvailableSourceDirectories(QStringList)
Definition: VP1AvailEvtsLocalDir.cxx:71
VP1AvailEvtsLocalDir::~VP1AvailEvtsLocalDir
virtual ~VP1AvailEvtsLocalDir()
Definition: VP1AvailEvtsLocalDir.cxx:52
VP1AvailEvents
Definition: VP1AvailEvents.h:25
VP1AvailEvtsLocalDir
Definition: VP1AvailEvtsLocalDir.h:24