// @(#)root/proof:$Name:  $:$Id: TProofResources.h,v 1.1 2005/12/09 01:12:16 rdm Exp $
// Author: Paul Nilsson   7/12/2005

/*************************************************************************
 * Copyright (C) 1995-2005, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/

#ifndef ROOT_TProofResources
#define ROOT_TProofResources

//////////////////////////////////////////////////////////////////////////
//                                                                      //
// TProofResources                                                      //
//                                                                      //
// Abstract base class for PROOF resources.                             //
// The class contains common method declarations for derived classes    //
// such as TProofResourcesStatic which reads and interprets static      //
// config files, and returns master, submaster and worker information   //
// using TProofNodeInfo objects.                                        //
//                                                                      //
//////////////////////////////////////////////////////////////////////////

#ifndef ROOT_TObject
#include "TObject.h"
#endif

class TList;
class TString;
class TProofNodeInfo;


class TProofResources : public TObject {

protected:
   Bool_t  fValid;    // kTRUE if resource information was processed correctly

public:
   TProofResources() : fValid(kFALSE) { }
   virtual ~TProofResources() { }

   virtual TProofNodeInfo *GetMaster() = 0;
   virtual TList          *GetSubmasters() = 0;
   virtual TList          *GetWorkers() = 0;
   virtual Bool_t          IsValid() const { return fValid; }

   ClassDef(TProofResources,0)  // Abstract class describing PROOF resources
};

#endif


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.