#include <TProofResourcesStatic.h>
Inheritance diagram for TProofResourcesStatic:
Definition at line 41 of file TProofResourcesStatic.h.
Definition at line 44 of file TProofResourcesStatic.h.
Definition at line 44 of file TProofResourcesStatic.h.
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] |
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 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] |
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.