class TProofLog: public TNamed


TProofLog

Implementation of the PROOF session log handler


Function Members (Methods)

public:
TProofLog(const TProofLog&)
TProofLog(const char* stag, const char* url, TProofMgr* mgr)
virtual~TProofLog()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
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
virtual voidTObject::Delete(Option_t* option = "")
voidDisplay(const char* ord = "*", Int_t from = -10, Int_t to = -1)
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
TList*GetListOfLogs() const
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 const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
Int_tGrep(const char* txt, Int_t from = 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() 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_tTNamed::IsSortable() const
Bool_tTObject::IsZombie() const
Bool_tLogToBox()
virtual voidTNamed::ls(Option_t* option = "") const
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)
TProofLog&operator=(const TProofLog&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidPrint(Option_t* opt = 0) const
voidPrt(const char* what)
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
Int_tRetrieve(const char* ord = "*", TProofLog::ERetrieveOpt opt = TProofLog::kTrailing, const char* fname = 0, const char* pattern = 0)
Int_tSave(const char* ord = "*", const char* fname = 0)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") const
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")
static voidTObject::SetDtorOnly(void* obj)
voidSetLogToBox(Bool_t lgbox = kFALSE)
static voidSetMaxTransferSize(Long64_t maxsz)
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 = "")
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
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:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()
private:
TProofLogElem*Add(const char* ord, const char* url)

Data Members

public:
enum ELogLocationBit { kLogToBox
};
enum ERetrieveOpt { kLeading
kTrailing
kAll
kGrep
};
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
protected:
TStringTNamed::fNameobject identifier
TStringTNamed::fTitleobject title
private:
TList*fElemlist of TProofLogElem objects
void*fFILEpointer logging file, if any
TProofMgr*fMgrparent TProofMgr

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TProofLog(const char* stag, const char* url, TProofMgr* mgr)
 Constructor.
~TProofLog()
 Destructor.
TProofLogElem * Add(const char* ord, const char* url)
 Add new entry to the list of elements.
Int_t Retrieve(const char* ord = "*", TProofLog::ERetrieveOpt opt = TProofLog::kTrailing, const char* fname = 0, const char* pattern = 0)
 Retrieve the content of the log file associated with worker 'ord'.
 If 'ord' is "*" (default), all the workers are retrieved. If 'all'
 is true, the whole files are retrieved; else a max of
 fgMaxTransferSize (about 1000 lines) per file is read, starting from
 the end (i.e. the last ~1000 lines).
 The received buffer is added to the file fname, if the latter is defined.
 If opt == TProofLog::kGrep only the lines containing 'pattern' are
 retrieved (remote grep functionality); to filter out a pattern 'pat' use
 pattern = "-v pat".
 Return 0 on success, -1 in case of any error.
void Display(const char* ord = "*", Int_t from = -10, Int_t to = -1)
 Display the content associated with worker 'ord' from line 'from'
 to line 'to' inclusive. A negative value
 for 'from' indicates lines counted from the end (tail action); 'to'
 is ignored in such a case.
 If 'ord' is "*" (default), all the workers are displayed.
void Print(Option_t* opt = 0) const
 Print head info about the content
void Prt(const char* what)
 Special printing procedure
Int_t Save(const char* ord = "*", const char* fname = 0)
 Save the content associated with worker 'ord' to finel 'fname'.
 If 'ord' is "*" (default), the log from all the workers is saved.
Int_t Grep(const char* txt, Int_t from = 0)
 Search lines containing 'txt', starting from line 'from'.
 Print the lines where this happens.
void SetMaxTransferSize(Long64_t maxsz)
 Set max transfer size.
TProofLog(const char* stag, const char* url, TProofMgr* mgr)
TList * GetListOfLogs()
{ return fElem; }
void SetLogToBox(Bool_t lgbox = kFALSE)
 Where to log
{ SetBit(kLogToBox, lgbox); }
Bool_t LogToBox()
{ return (TestBit(kLogToBox)) ? kTRUE : kFALSE; }

Author: G. Ganis 31/08/06
Last update: root/proof:$Id: TProofLog.h 20987 2007-11-22 14:47:31Z ganis $
Copyright (C) 1995-2006, Rene Brun and Fons Rademakers. *

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.