Logo ROOT  
Reference Guide
TProofResources.h
Go to the documentation of this file.
1 // @(#)root/proof:$Id$
2 // Author: Paul Nilsson 7/12/2005
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_TProofResources
13 #define ROOT_TProofResources
14 
15 //////////////////////////////////////////////////////////////////////////
16 // //
17 // TProofResources //
18 // //
19 // Abstract base class for PROOF resources. //
20 // The class contains common method declarations for derived classes //
21 // such as TProofResourcesStatic which reads and interprets static //
22 // config files, and returns master, submaster and worker information //
23 // using TProofNodeInfo objects. //
24 // //
25 //////////////////////////////////////////////////////////////////////////
26 
27 #include "TObject.h"
28 
29 class TList;
30 class TString;
31 class TProofNodeInfo;
32 
33 
34 class TProofResources : public TObject {
35 
36 protected:
37  Bool_t fValid; // kTRUE if resource information was processed correctly
38 
39 public:
41  virtual ~TProofResources() { }
42 
43  virtual TProofNodeInfo *GetMaster() = 0;
44  virtual TList *GetSubmasters() = 0;
45  virtual TList *GetWorkers() = 0;
46  virtual Bool_t IsValid() const { return fValid; }
47 
48  ClassDef(TProofResources,0) // Abstract class describing PROOF resources
49 };
50 
51 #endif
TProofResources::GetSubmasters
virtual TList * GetSubmasters()=0
TProofResources::fValid
Bool_t fValid
Definition: TProofResources.h:37
TString
Definition: TString.h:136
TProofNodeInfo
Definition: TProofNodeInfo.h:32
bool
TProofResources::TProofResources
TProofResources()
Definition: TProofResources.h:40
kFALSE
const Bool_t kFALSE
Definition: RtypesCore.h:92
TProofResources::IsValid
virtual Bool_t IsValid() const
Definition: TProofResources.h:46
TObject.h
TObject
Definition: TObject.h:37
ClassDef
#define ClassDef(name, id)
Definition: Rtypes.h:325
TProofResources
Definition: TProofResources.h:34
TProofResources::GetWorkers
virtual TList * GetWorkers()=0
TProofResources::~TProofResources
virtual ~TProofResources()
Definition: TProofResources.h:41
TProofResources::GetMaster
virtual TProofNodeInfo * GetMaster()=0
TList
Definition: TList.h:44