library: libProof
#include "TProofMgr.h"

TProofMgr


class description - header file - source file
viewCVS header - viewCVS source

class TProofMgr: public TNamed

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
public:
TProofMgr(const char* url, Int_t loglevel = -1, const char* alias = "")
virtual~TProofMgr()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual TProof*AttachSession(Int_t, 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
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidTNamed::Copy(TObject& named) const
static 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 = "")
virtual voidDetachSession(Int_t, Option_t* = "")
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() const
virtual TObject*TObject::DrawClone(Option_t* option = "") const
virtual voidTObject::Dump() const
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 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 const char*TObject::GetIconName() const
static TList*GetListOfManagers()
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*GetProofDesc(Int_t id)
virtual Int_tGetRemoteProtocol() const
virtual TProofLog*GetSessionLogs(Int_t = 0, const char* = "0")
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual const char*GetUrl()
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() const
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tIsProofd() const
virtual Bool_tTNamed::IsSortable() const
virtual Bool_tIsValid() const
Bool_tTObject::IsZombie() const
virtual voidTNamed::ls(Option_t* option = "") const
virtual Bool_tMatchUrl(const char* url)
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static 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)
TNamed&TNamed::operator=(const TNamed& rhs)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTNamed::Print(Option_t* option = "") const
virtual TList*QuerySessions(Option_t* opt = "S")
virtual Int_tTObject::Read(const char* name)
virtual TObjString*ReadBuffer(const char* = "0", Long64_t = 0, Int_t = 0)
virtual voidTObject::RecursiveRemove(TObject* obj)
virtual Int_tReset(const char* usr = "0")
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") const
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
virtual voidSetAlias(const char* alias = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")
static voidTObject::SetDtorOnly(void* obj)
virtual voidTNamed::SetName(const char* name)
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTNamed::SetTitle(const char* title = "")
static voidSetTXProofMgrHook(TProofMgr_t pmh)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidShowWorkers()
virtual voidShutdownSession(Int_t id)
virtual voidShutdownSession(TProof* p)
virtual Int_tTNamed::Sizeof() const
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
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:
TProofMgr()
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()
private:
static TProofMgr_tGetXProofMgrHook()

Data Members

public:
enum EServType { kProofd
kXProofd
};
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
protected:
Int_tfRemoteProtocolProtocol number run by the daemon server
TProofMgr::EServTypefServTypeType of server: old-proofd, XrdProofd
TList*fSessionsPROOF session managed by this server
TUrlfUrlServer URL
static TListfgListOfManagersSub-list of TROOT::ListOfProofs for managers
TStringTNamed::fNameobject identifier
TStringTNamed::fTitleobject title
private:
static TProofMgr_tfgTXProofMgrHookConstructor hooks for TXProofMgr

Class Description

                                                                      
 TProofMgr                                                            
                                                                      
 The PROOF manager interacts with the PROOF server coordinator to     
 create or destroy a PROOF session, attach to or detach from          
 existing one, and to monitor any client activity on the cluster.     
 At most one manager instance per server is allowed.                  
                                                                      

TProofMgr(const char *url, Int_t, const char *alias)
 Create a PROOF manager for the standard (old) environment.
~TProofMgr()
 Destroy a TProofMgr instance
TProof * AttachSession(Int_t id, Bool_t)
 Dummy version provided for completeness. Just returns a pointer to
 existing session 'id' (as shown by TProof::QuerySessions) or 0 if 'id' is
 not valid.
void DetachSession(Int_t id, Option_t *opt)
 Detach session with 'id' from its proofserv. The 'id' is the number
 shown by QuerySessions.
TList * QuerySessions(Option_t *opt)
 Get list of sessions accessible to this manager.
Int_t Reset(const char *)
 Send a cleanup request for the sessions associated with the current
 user.
 Not supported.
void ShowWorkers()
 Show available workers
TProofDesc * GetProofDesc(Int_t id)
 Get TProof instance corresponding to 'id'.
void ShutdownSession(TProof *p)
 Discard PROOF session 'p'
TProof * CreateSession(const char *cfg, const char *cfgdir, Int_t loglevel)
 Create a new remote session (master and associated workers).
Bool_t MatchUrl(const char *url)
 Checks if 'url' refers to the same 'user@host:port' entity as the URL
 in memory
TList * GetListOfManagers()
 Extract pointers to PROOF managers from TROOT::fProofs.
TProofMgr * Create(const char *uin, Int_t loglevel, const char *alias, Bool_t xpd)
 Static method returning the appropriate TProofMgr object using
 the plugin manager.
TProofMgr_t GetXProofMgrHook()
 Get the constructor hook fro TXProofMgr.
 We do this without the plugin manager because it blocks the
 CINT mutex breaking the parallel startup.
void SetTXProofMgrHook(TProofMgr_t pmh)
 Set hook to TXProofMgr ctor
TProofMgr()
{ }
Bool_t IsProofd()
{ return (fServType == kProofd); }
Bool_t IsValid()
{ return kTRUE; }
Int_t GetRemoteProtocol()
{ return fRemoteProtocol; }
TProofLog * GetSessionLogs(Int_t = 0, const char * = 0)
{ return (TProofLog *)0; }
const char * GetUrl()
{ return fUrl.GetUrl(); }
TObjString * ReadBuffer(const char * = 0, Long64_t = 0, Int_t = 0)
void SetAlias(const char *alias="")
{ TNamed::SetTitle(alias); }
void ShutdownSession(Int_t id)
{ DetachSession(id,"S"); }

Author: G. Ganis, Nov 2005
Last update: root/proof:$Name: $:$Id: TProofMgr.cxx,v 1.10 2006/12/03 23:34:03 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


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.