ROOT » PROOF » PROOF » TProofMgrLite

class TProofMgrLite: public TProofMgr


TProofMgrLite

Basic functionality implementtaion in the case of Lite sessions


Function Members (Methods)

public:
virtual~TProofMgrLite()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual TProof*TProofMgr::AttachSession(Int_t, Bool_t = kFALSE)
virtual TProof*TProofMgr::AttachSession(TProofDesc*, Bool_t = kFALSE)
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
voidTProofMgr::Close()
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidTNamed::Copy(TObject& named) const
virtual Int_tTProofMgr::Cp(const char*, const char* = 0, const char* = 0)
static TProofMgr*TProofMgr::Create(const char* url, Int_t loglevel = -1, const char* alias = 0, Bool_t xpd = kTRUE)
virtual TProof*CreateSession(const char* = 0, const char* = 0, Int_t = -1)
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual voidTProofMgr::DetachSession(Int_t, Option_t* = "")
virtual voidTProofMgr::DetachSession(TProof*, Option_t* = "")
virtual voidTProofMgr::DiscardSession(TProof* p)
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual voidTNamed::FillBuffer(char*& buffer)
virtual voidTProofMgr::Find(const char* = "~/", const char* = 0, const char* = 0)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual Int_tTProofMgr::GetFile(const char*, const char*, const char* = 0)
virtual const char*TObject::GetIconName() const
static TList*TProofMgr::GetListOfManagers()
virtual const char*TProofMgr::GetMssUrl(Bool_t = kFALSE)
virtual const char*TNamed::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual TProofDesc*TProofMgr::GetProofDesc(Int_t id)
virtual TProofDesc*TProofMgr::GetProofDesc(TProof* p)
virtual Int_tTProofMgr::GetRemoteProtocol() const
virtual TProofLog*GetSessionLogs(Int_t ridx = 0, const char* stag = 0, const char* pattern = "-v | SvcMsg", Bool_t rescan = kFALSE)
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual const char*TProofMgr::GetUrl()
virtual voidTProofMgr::Grep(const char*, const char* = 0, const char* = 0)
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
virtual Bool_tTProofMgr::IsLite() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTProofMgr::IsProofd() const
virtual Bool_tTNamed::IsSortable() const
virtual Bool_tTProofMgr::IsValid() const
Bool_tTObject::IsZombie() const
virtual voidTNamed::ls(Option_t* option = "") const
virtual voidTProofMgr::Ls(const char* = "~/", const char* = 0, const char* = 0)
virtual Bool_tTProofMgr::MatchUrl(const char* url)
voidTObject::MayNotUse(const char* method) const
virtual Int_tTProofMgr::Md5sum(const char*, TString&, const char* = 0)
virtual voidTProofMgr::More(const char*, const char* = 0, const char* = 0)
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
voidTObject::operator delete(void* ptr)
voidTObject::operator delete(void* ptr, void* vp)
voidTObject::operator delete[](void* ptr)
voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
TProofMgrLite&operator=(const TProofMgrLite&)
virtual voidTObject::Paint(Option_t* option = "")
static Int_tTProofMgr::Ping(const char* url, Bool_t checkxrd = kFALSE)
virtual voidTObject::Pop()
virtual voidTNamed::Print(Option_t* option = "") const
virtual Int_tTProofMgr::PutFile(const char*, const char*, const char* = 0)
virtual TList*TProofMgr::QuerySessions(Option_t* opt = "S")
virtual Int_tTObject::Read(const char* name)
virtual TObjString*ReadBuffer(const char* file, const char* pattern)
virtual TObjString*ReadBuffer(const char* file, Long64_t ofs, Int_t len)
virtual voidTObject::RecursiveRemove(TObject* obj)
virtual Int_tTProofMgr::Reset(Bool_t hard = kFALSE, const char* usr = 0)
voidTObject::ResetBit(UInt_t f)
virtual Int_tTProofMgr::Rm(const char*, const char* = 0, const char* = 0)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
virtual Int_tTProofMgr::SendMsgToUsers(const char*, const char* = 0)
virtual voidTProofMgr::SetAlias(const char* alias = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
virtual voidTProofMgr::SetInvalid()
virtual voidTProofMgr::SetMssUrl(const char* mss)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
virtual Int_tTProofMgr::SetROOTVersion(const char*)
virtual voidTNamed::SetTitle(const char* title = "")MENU
static voidTProofMgr::SetTXProofMgrHook(TProofMgr_t pmh)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp) const
virtual voidTProofMgr::ShowROOTVersions()
virtual voidTProofMgr::ShowWorkers()
virtual voidTProofMgr::ShutdownSession(Int_t id)
virtual voidTProofMgr::ShutdownSession(TProof* p)
virtual Int_tTNamed::Sizeof() const
virtual Int_tTProofMgr::Stat(const char*, FileStat_t&, const char* = 0)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
virtual voidTProofMgr::Tail(const char*, const char* = 0, const char* = 0)
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
TProofMgrLite(const TProofMgrLite&)
TProofMgrLite(const char* url, Int_t loglevel = -1, const char* alias = "")
static TFileCollection*TProofMgr::UploadFiles(TList* src, const char* mss, const char* dest = 0)
static TFileCollection*TProofMgr::UploadFiles(const char* txtfile, const char* mss, const char* dest = 0)
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

public:
static TObject::<anonymous>TObject::kBitMask
static TObject::EStatusBitsTObject::kCanDelete
static TObject::EStatusBitsTObject::kCannotPick
static TObject::EStatusBitsTObject::kHasUUID
static TObject::EStatusBitsTObject::kInvalidObject
static TObject::<anonymous>TObject::kIsOnHeap
static TObject::EStatusBitsTObject::kIsReferenced
static TObject::EStatusBitsTObject::kMustCleanup
static TObject::EStatusBitsTObject::kNoContextMenu
static TObject::<anonymous>TObject::kNotDeleted
static TObject::EStatusBitsTObject::kObjInCanvas
static TObject::<anonymous>TObject::kOverwrite
static TProofMgr::EServTypeTProofMgr::kProofLite
static TProofMgr::EServTypeTProofMgr::kProofd
static TObject::<anonymous>TObject::kSingleKey
static TObject::<anonymous>TObject::kWriteDelete
static TProofMgr::EServTypeTProofMgr::kXProofd
static TObject::<anonymous>TObject::kZombie
protected:
TSignalHandler*TProofMgr::fIntHandlerInterrupt signal handler (ctrl-c)
TStringTProofMgr::fMssUrlURL for the remote data pool, if any
TStringTNamed::fNameobject identifier
Int_tTProofMgr::fRemoteProtocolProtocol number run by the daemon server
TProofMgr::EServTypeTProofMgr::fServTypeType of server: old-proofd, XrdProofd
TList*TProofMgr::fSessionsPROOF session managed by this server
TStringTNamed::fTitleobject title
TUrlTProofMgr::fUrlServer URL
static TListTProofMgr::fgListOfManagersSub-list of TROOT::ListOfProofs for managers

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TProofMgrLite(const char* url, Int_t loglevel = -1, const char* alias = "")
 Create a PROOF manager for the Lite environment.
TProof * CreateSession(const char* = 0, const char* = 0, Int_t = -1)
 Create a new session
TProofLog * GetSessionLogs(Int_t ridx = 0, const char* stag = 0, const char* pattern = "-v | SvcMsg", Bool_t rescan = kFALSE)
 Get logs or log tails from last session associated with this manager
 instance.
 The arguments allow to specify a session different from the last one:
      isess   specifies a position relative to the last one, i.e. 1
              for the next to last session; the absolute value is taken
              so -1 and 1 are equivalent.
      stag    specifies the unique tag of the wanted session
 The special value stag = "NR" allows to just initialize the TProofLog
 object w/o retrieving the files; this may be useful when the number
 of workers is large and only a subset of logs is required.
 If 'stag' is specified 'isess' is ignored (unless stag = "NR").
 If 'pattern' is specified only the lines containing it are retrieved
 (remote grep functionality); to filter out a pattern 'pat' use
 pattern = "-v pat".
 Returns a TProofLog object (to be deleted by the caller) on success,
 0 if something wrong happened.
TObjString * ReadBuffer(const char* file, Long64_t ofs, Int_t len)
 Read 'len' bytes from offset 'ofs' of the local file 'fin'.
 Returns a TObjString with the content or 0, in case of failure
TObjString * ReadBuffer(const char* file, const char* pattern)
 Read lines containing 'pattern' in 'file'.
 Returns a TObjString with the content or 0, in case of failure
TProofMgrLite(const char* url, Int_t loglevel = -1, const char* alias = "")
virtual ~TProofMgrLite()
{ }