Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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
29class TList;
30class TString;
31class TProofNodeInfo;
32
33
34class TProofResources : public TObject {
35
36protected:
37 Bool_t fValid; // kTRUE if resource information was processed correctly
38
39public:
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
const Bool_t kFALSE
Definition RtypesCore.h:101
#define ClassDef(name, id)
Definition Rtypes.h:325
A doubly linked list.
Definition TList.h:38
Mother of all ROOT objects.
Definition TObject.h:41
The purpose of this class is to provide a complete node description for masters, submasters and worke...
virtual Bool_t IsValid() const
virtual TList * GetWorkers()=0
virtual TProofNodeInfo * GetMaster()=0
virtual ~TProofResources()
virtual TList * GetSubmasters()=0
Basic string class.
Definition TString.h:136