ATLAS Offline Software
Loading...
Searching...
No Matches
VP1AvailEvtsLocalDir.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 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
23
25
26 Q_OBJECT
27
28public:
29
31
33 const QString& sourcedir,
34 const QString& tmpcopydir,
35 int maxLocalFilesToKeep = -1,
36 QObject * parent = 0 );
37 void setSourceDir(const QString&);
38 const QString& currentSourceDir() const;
39
40 //Just to let this class transport the info around:
41 void setAvailableSourceDirectories(const QStringList&);
42 const QStringList& availableSourceDirectories() const;
43
44 virtual ~VP1AvailEvtsLocalDir();
45
46 virtual void init();
47
48private:
49 class Imp;
51};
52
53#endif
VP1AvailEvents(int timeCutForNew, const QString &tmpdir, int maxLocalFilesToKeep=-1, QObject *parent=0)
int timeCutForNew() const
int maxLocalFilesToKeep() const
VP1AvailEvtsLocalDir(int timeCutForNew, const QString &sourcedir, const QString &tmpcopydir, int maxLocalFilesToKeep=-1, QObject *parent=0)
const QString & currentSourceDir() const
void setSourceDir(const QString &)
const QStringList & availableSourceDirectories() const
void setAvailableSourceDirectories(const QStringList &)