TProofResourcesStatic Class Reference

#include <TProofResourcesStatic.h>

Inheritance diagram for TProofResourcesStatic:

TProofResources TProofResources TObject TObject TObject TObject List of all members.

Public Types

enum  EInfoType
enum  EInfoType

Public Member Functions

 TProofResourcesStatic ()
 TProofResourcesStatic (const char *confDir, const char *fileName)
virtual ~TProofResourcesStatic ()
TProofNodeInfoGetMaster ()
TListGetSubmasters ()
TListGetWorkers ()
TString GetFileName () const
 TProofResourcesStatic ()
 TProofResourcesStatic (const char *confDir, const char *fileName)
virtual ~TProofResourcesStatic ()
TProofNodeInfoGetMaster ()
TListGetSubmasters ()
TListGetWorkers ()
TString GetFileName () const

Private Member Functions

void InitResources ()
Bool_t ReadConfigFile (const char *confDir, const char *fileName)
void InitResources ()
Bool_t ReadConfigFile (const char *confDir, const char *fileName)

Static Private Member Functions

static EInfoType GetInfoType (const TString &word)
static void SetOption (TProofNodeInfo *nodeinfo, const TString &option, const TString &value)
static TProofNodeInfoCreateNodeInfo (const TString &name)
static EInfoType GetInfoType (const TString &word)
static void SetOption (TProofNodeInfo *nodeinfo, const TString &option, const TString &value)
static TProofNodeInfoCreateNodeInfo (const TString &name)

Private Attributes

TProofNodeInfofMaster
TListfSubmasterList
TListfWorkerList
Bool_t fFoundMaster
TString fFileName
TProofNodeInfofMaster
TListfSubmasterList
TListfWorkerList

Detailed Description

Definition at line 41 of file TProofResourcesStatic.h.


Member Enumeration Documentation

enum TProofResourcesStatic::EInfoType

Definition at line 44 of file TProofResourcesStatic.h.

enum TProofResourcesStatic::EInfoType

Definition at line 44 of file TProofResourcesStatic.h.


Constructor & Destructor Documentation

TProofResourcesStatic::TProofResourcesStatic (  ) 

TProofResourcesStatic::TProofResourcesStatic ( const char *  confDir,
const char *  fileName 
)

Definition at line 53 of file TProofResourcesStatic.cxx.

References TProofResources::fValid, TObject::Info(), InitResources(), TMVA::kAll, kFALSE, PDB, and ReadConfigFile().

TProofResourcesStatic::~TProofResourcesStatic (  )  [virtual]

Definition at line 72 of file TProofResourcesStatic.cxx.

References fMaster, fSubmasterList, and fWorkerList.

TProofResourcesStatic::TProofResourcesStatic (  ) 

TProofResourcesStatic::TProofResourcesStatic ( const char *  confDir,
const char *  fileName 
)

virtual TProofResourcesStatic::~TProofResourcesStatic (  )  [virtual]


Member Function Documentation

void TProofResourcesStatic::InitResources (  )  [private]

Definition at line 82 of file TProofResourcesStatic.cxx.

References fFoundMaster, fMaster, TProofNodeInfo::fNodeType, fSubmasterList, TProofResources::fValid, fWorkerList, TProofNodeInfo::GetNodeType(), kFALSE, kTRUE, and TCollection::SetOwner().

Referenced by TProofResourcesStatic().

Bool_t TProofResourcesStatic::ReadConfigFile ( const char *  confDir,
const char *  fileName 
) [private]

Definition at line 133 of file TProofResourcesStatic.cxx.

References TSystem::AccessPathName(), TList::Add(), TProofNodeInfo::Assign(), TObjArray::At(), TString::CompareTo(), CreateNodeInfo(), TString::Data(), TObject::Error(), fFileName, fFoundMaster, TProofNodeInfo::fImage, fMaster, TProofNodeInfo::fNodeName, TString::Form(), fSubmasterList, fWorkerList, TObjArray::GetEntries(), TSystem::Getenv(), TSystem::GetHostByName(), TInetAddress::GetHostName(), GetInfoType(), gSystem, TSystem::HomeDirectory(), TSystem::HostName(), i, TString::Index(), infile, TObject::Info(), j, TMVA::kAll, TString::kBoth, TString::kExact, kFALSE, kHost, kNodeType, kOption, kReadPermission, kTRUE, TString::Length(), line, n, option, p, PDB, TString::ReadString(), SetOption(), TString::Tokenize(), and value.

Referenced by TProofResourcesStatic().

TProofResourcesStatic::EInfoType TProofResourcesStatic::GetInfoType ( const TString word  )  [static, private]

Definition at line 356 of file TProofResourcesStatic.cxx.

References TString::Contains(), TString::kExact, kHost, kNodeType, kOption, and type.

Referenced by ReadConfigFile().

void TProofResourcesStatic::SetOption ( TProofNodeInfo nodeinfo,
const TString option,
const TString value 
) [static, private]

Definition at line 330 of file TProofResourcesStatic.cxx.

References TObject::Error(), TProofNodeInfo::fConfig, TProofNodeInfo::fImage, TProofNodeInfo::fMsd, TProofNodeInfo::fPerfIndex, TProofNodeInfo::fPort, TProofNodeInfo::fWorkDir, option, and value.

Referenced by ReadConfigFile().

TProofNodeInfo * TProofResourcesStatic::CreateNodeInfo ( const TString name  )  [static, private]

Definition at line 377 of file TProofResourcesStatic.cxx.

References TProofNodeInfo::fNodeName, TProofNodeInfo::fNodeType, TProofNodeInfo::fPerfIndex, TProofNodeInfo::fPort, TProofNodeInfo::GetNodeType(), and name.

Referenced by ReadConfigFile().

TProofNodeInfo * TProofResourcesStatic::GetMaster (  )  [virtual]

Implements TProofResources.

Definition at line 105 of file TProofResourcesStatic.cxx.

References fFoundMaster, and fMaster.

Referenced by TProofServ::GetWorkers(), and TProofServ::Setup().

TList * TProofResourcesStatic::GetSubmasters (  )  [virtual]

Implements TProofResources.

Definition at line 117 of file TProofResourcesStatic.cxx.

References fSubmasterList.

Referenced by TProofServ::GetWorkers().

TList * TProofResourcesStatic::GetWorkers (  )  [virtual]

Implements TProofResources.

Definition at line 125 of file TProofResourcesStatic.cxx.

References fWorkerList.

Referenced by TProofServ::GetWorkers(), and TProofCondor::StartSlaves().

TString TProofResourcesStatic::GetFileName (  )  const [inline]

Definition at line 69 of file TProofResourcesStatic.h.

References fFileName.

Referenced by TProofServ::GetWorkers(), TProofServ::Setup(), and TProofCondor::StartSlaves().

void TProofResourcesStatic::InitResources (  )  [private]

Bool_t TProofResourcesStatic::ReadConfigFile ( const char *  confDir,
const char *  fileName 
) [private]

static EInfoType TProofResourcesStatic::GetInfoType ( const TString word  )  [static, private]

static void TProofResourcesStatic::SetOption ( TProofNodeInfo nodeinfo,
const TString option,
const TString value 
) [static, private]

static TProofNodeInfo* TProofResourcesStatic::CreateNodeInfo ( const TString name  )  [static, private]

TProofNodeInfo* TProofResourcesStatic::GetMaster (  )  [virtual]

Implements TProofResources.

TList* TProofResourcesStatic::GetSubmasters (  )  [virtual]

Implements TProofResources.

TList* TProofResourcesStatic::GetWorkers (  )  [virtual]

Implements TProofResources.

TString TProofResourcesStatic::GetFileName (  )  const [inline]

Definition at line 69 of file TProofResourcesStatic.h.

References fFileName.


Member Data Documentation

TProofNodeInfo* TProofResourcesStatic::fMaster [private]

Definition at line 47 of file TProofResourcesStatic.h.

Referenced by GetMaster(), InitResources(), ReadConfigFile(), and ~TProofResourcesStatic().

TList* TProofResourcesStatic::fSubmasterList [private]

Definition at line 48 of file TProofResourcesStatic.h.

Referenced by GetSubmasters(), InitResources(), ReadConfigFile(), and ~TProofResourcesStatic().

TList* TProofResourcesStatic::fWorkerList [private]

Definition at line 49 of file TProofResourcesStatic.h.

Referenced by GetWorkers(), InitResources(), ReadConfigFile(), and ~TProofResourcesStatic().

Bool_t TProofResourcesStatic::fFoundMaster [private]

Definition at line 50 of file TProofResourcesStatic.h.

Referenced by GetMaster(), InitResources(), and ReadConfigFile().

TString TProofResourcesStatic::fFileName [private]

Definition at line 51 of file TProofResourcesStatic.h.

Referenced by GetFileName(), and ReadConfigFile().

TProofNodeInfo* TProofResourcesStatic::fMaster [private]

Definition at line 47 of file TProofResourcesStatic.h.

TList* TProofResourcesStatic::fSubmasterList [private]

Definition at line 48 of file TProofResourcesStatic.h.

TList* TProofResourcesStatic::fWorkerList [private]

Definition at line 49 of file TProofResourcesStatic.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:45:27 2011 for ROOT_528-00b_version by  doxygen 1.5.1