ATLAS Offline Software
VP1AvailEvtsHttp.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 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 
22 #include "VP1Gui/VP1AvailEvents.h"
23 
25 
26  Q_OBJECT
27 
28 public:
29 
30  VP1AvailEvtsHttp( 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 
40 private 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 );
46  void examineEvtsOnServer();
47 
48 private:
49 
50  class Imp;
51  Imp * m_d;
52 
53 };
54 
55 #endif
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
VP1AvailEvtsHttp::init
virtual void init()
Definition: VP1AvailEvtsHttp.cxx:92
VP1AvailEvtsHttp::~VP1AvailEvtsHttp
virtual ~VP1AvailEvtsHttp()
Definition: VP1AvailEvtsHttp.cxx:99
VP1AvailEvtsHttp::fileInfoDownloadSuccessful
void fileInfoDownloadSuccessful(const QString &urltofile, const QString &localtargetfile)
Definition: VP1AvailEvtsHttp.cxx:133
VP1AvailEvents.h
VP1AvailEvtsHttp::eventFileDownloadSuccessful
void eventFileDownloadSuccessful(const QString &urltofile, const QString &localtargetfile, const QString &data)
Definition: VP1AvailEvtsHttp.cxx:228
VP1AvailEvtsHttp::VP1AvailEvtsHttp
VP1AvailEvtsHttp(QString fileinfoUrl, int updateInterval, int timeCutForNew, const QString &tmpcopydir, int maxLocalFilesToKeep=-1, QObject *parent=0)
Definition: VP1AvailEvtsHttp.cxx:52
test_pyathena.parent
parent
Definition: test_pyathena.py:15
VP1AvailEvents::timeCutForNew
int timeCutForNew() const
Definition: VP1AvailEvents.cxx:92
VP1AvailEvtsHttp::fileInfoChanged
void fileInfoChanged()
Definition: VP1AvailEvtsHttp.cxx:106
VP1AvailEvtsHttp::fileInfoDownloadFailed
void fileInfoDownloadFailed(const QString &error, const QString &urltofile, const QString &localtargetfile)
Definition: VP1AvailEvtsHttp.cxx:219
VP1AvailEvtsHttp::examineEvtsOnServer
void examineEvtsOnServer()
Definition: VP1AvailEvtsHttp.cxx:152
VP1AvailEvtsHttp::eventFileDownloadFailed
void eventFileDownloadFailed(const QString &error, const QString &urltofile, const QString &localtargetfile)
Definition: VP1AvailEvtsHttp.cxx:244
VP1AvailEvtsHttp::m_d
Imp * m_d
Definition: VP1AvailEvtsHttp.h:50
VP1AvailEvents::maxLocalFilesToKeep
int maxLocalFilesToKeep() const
Definition: VP1AvailEvents.cxx:98
VP1AvailEvents
Definition: VP1AvailEvents.h:25
VP1AvailEvtsHttp::Imp
Definition: VP1AvailEvtsHttp.cxx:26
VP1AvailEvtsHttp
Definition: VP1AvailEvtsHttp.h:24
error
Definition: IImpactPoint3dEstimator.h:70