ATLAS Offline Software
Loading...
Searching...
No Matches
VP1AvailEvtsHttp.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
7// //
8// Header file for class VP1AvailEvtsHttp //
9// //
10// Description: Implementation of VP1AvailEvents which //
11// monitors and retrieves events from a web //
12// directory (mainly from point1) //
13// //
14// Author: Thomas H. Kittelmann (Thomas.Kittelmann@cern.ch) //
15// Initial version: May 2008 //
16// //
18
19#ifndef VP1AVAILEVTSHTTP_H
20#define VP1AVAILEVTSHTTP_H
21
23
25
26 Q_OBJECT
27
28public:
29
30 VP1AvailEvtsHttp( const QString & fileinfoUrl,
31 int updateInterval,
32 int timeCutForNew,
33 const QString& tmpcopydir,
34 int maxLocalFilesToKeep = -1,
35 QObject * parent = 0 );
36 virtual ~VP1AvailEvtsHttp();
37
38 virtual void init();
39
40private Q_SLOTS:
41 void fileInfoChanged();
42 void fileInfoDownloadSuccessful( const QString& urltofile, const QString& localtargetfile );
43 void fileInfoDownloadFailed( const QString& error, const QString& urltofile,const QString& localtargetfile );
44 void eventFileDownloadSuccessful( const QString& urltofile, const QString& localtargetfile, const QString& data );
45 void eventFileDownloadFailed( const QString& error, const QString& urltofile,const QString& localtargetfile );
47
48private:
49
50 class Imp;
52
53};
54
55#endif
char data[hepevt_bytes_allocation_ATLAS]
Definition HepEvt.cxx:11
VP1AvailEvents(int timeCutForNew, const QString &tmpdir, int maxLocalFilesToKeep=-1, QObject *parent=0)
int timeCutForNew() const
int maxLocalFilesToKeep() const
void eventFileDownloadSuccessful(const QString &urltofile, const QString &localtargetfile, const QString &data)
VP1AvailEvtsHttp(const QString &fileinfoUrl, int updateInterval, int timeCutForNew, const QString &tmpcopydir, int maxLocalFilesToKeep=-1, QObject *parent=0)
virtual void init()
void fileInfoDownloadSuccessful(const QString &urltofile, const QString &localtargetfile)
void fileInfoDownloadFailed(const QString &error, const QString &urltofile, const QString &localtargetfile)
void eventFileDownloadFailed(const QString &error, const QString &urltofile, const QString &localtargetfile)