TJAlienJobStatusList.h 1.25 KB
Newer Older
Nikola Hardi's avatar
Nikola Hardi committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * TJAlienJobStatusList.h
 *
 *  Created on: Sep 4, 2014
 *      Author: Tatianka Tothova
 */

#ifndef ROOT_TJAlienJobStatusList
#define ROOT_TJAlienJobStatusList

//////////////////////////////////////////////////////////////////////////
//                                                                      //
// TJAlienJobStatusList                                                  //
//                                                                      //
// JAliEn implementation of TGridJobStatusList                           //
//                                                                      //
//////////////////////////////////////////////////////////////////////////

#ifndef ROOT_TGridJobStatusList
#include "TGridJobStatusList.h"
#endif

23
class TJAlienJob;
Nikola Hardi's avatar
Nikola Hardi committed
24
25
26
27
class TJAlienJobStatusList : public TGridJobStatusList {

protected:
   TString  fJobID;  // the job's ID
28
   virtual void PrintCollectionEntry(TObject* entry, Option_t* option, Int_t recurse) const;
Nikola Hardi's avatar
Nikola Hardi committed
29
30
31

public:
   TJAlienJobStatusList() { gGridJobStatusList = this; };
32
   virtual ~TJAlienJobStatusList() { if (gGridJobStatusList == this) gGridJobStatusList = 0; };
Nikola Hardi's avatar
Nikola Hardi committed
33
34
35
36
37
38

   ClassDef(TJAlienJobStatusList,1)  // ABC defining interface to a list of JAliEn GRID jobs

};

#endif /* ROOT_TJAlienJobStatusList */