library: libProof
#include "TProofPlayer.h"

TProofPlayerRemote


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

class TProofPlayerRemote: public TProofPlayer

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
public:
TProofPlayerRemote(TProof* proof = 0)
virtual~TProofPlayerRemote()
voidTObject::AbstractMethod(const char* method) const
virtual voidTProofPlayer::AddEventsProcessed(Long64_t ev)
virtual voidTProofPlayer::AddInput(TObject* inp)
virtual voidAddOutput(TList* out)
virtual Int_tAddOutputObject(TObject* obj)
virtual voidTProofPlayer::AddQueryResult(TQueryResult* q)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
virtual voidTQObject::ChangedBy(const char* method)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual voidTProofPlayer::ClearInput()
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
Bool_tTQObject::Connect(const char* signal, const char* receiver_class, void* receiver, const char* slot)
static Bool_tTQObject::Connect(TQObject* sender, const char* signal, const char* receiver_class, void* receiver, const char* slot)
static Bool_tTQObject::Connect(const char* sender_class, const char* signal, const char* receiver_class, void* receiver, const char* slot)
virtual voidTQObject::Connected(const char*)
virtual voidTObject::Copy(TObject& object) const
virtual voidTObject::Delete(Option_t* option = "")
virtual voidTQObject::Destroyed()
Bool_tTQObject::Disconnect(const char* signal = "0", void* receiver = 0, const char* slot = "0")
static Bool_tTQObject::Disconnect(TQObject* sender, const char* signal = "0", void* receiver = 0, const char* slot = "0")
static Bool_tTQObject::Disconnect(const char* class_name, const char* signal, void* receiver = 0, const char* slot = "0")
virtual voidTQObject::Disconnected(const char*)
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 Long64_tDrawSelect(TDSet* set, const char* varexp, const char* selection, Option_t* option = "", Long64_t nentries = -1, Long64_t firstentry = 0)
virtual voidTObject::Dump() const
voidTQObject::Emit(const char* signal)
voidTQObject::Emit(const char* signal, Long_t* paramArr)
voidTQObject::Emit(const char* signal, const char* params)
voidTQObject::Emit(const char* signal, Double_t param)
voidTQObject::Emit(const char* signal, Long_t param)
voidTQObject::Emit(const char* signal, Long64_t param)
voidTQObject::Emit(const char* signal, Bool_t param)
voidTQObject::Emit(const char* signal, Char_t param)
voidTQObject::Emit(const char* signal, UChar_t param)
voidTQObject::Emit(const char* signal, Short_t param)
voidTQObject::Emit(const char* signal, UShort_t param)
voidTQObject::Emit(const char* signal, Int_t param)
voidTQObject::Emit(const char* signal, UInt_t param)
voidTQObject::Emit(const char* signal, ULong_t param)
voidTQObject::Emit(const char* signal, ULong64_t param)
voidTQObject::Emit(const char* signal, Float_t param)
voidTQObject::EmitVA(const char* signal, Int_t nargs)
voidTQObject::EmitVA(const char* signal, Int_t nargs, va_list va)
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 voidFeedback(TList* objs)
virtual Long64_tFinalize(TQueryResult* qr)
virtual Long64_tFinalize(Bool_t force = kFALSE, Bool_t sync = kFALSE)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual TQueryResult*TProofPlayer::GetCurrentQuery() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual Long64_tTProofPlayer::GetEventsProcessed() const
virtual TProofPlayer::EExitStatusTProofPlayer::GetExitStatus() const
virtual const char*TObject::GetIconName() const
virtual TList*TProofPlayer::GetInputList() const
TList*TQObject::GetListOfClassSignals() const
TList*TQObject::GetListOfConnections() const
virtual TList*TProofPlayer::GetListOfResults() const
TList*TQObject::GetListOfSignals() const
virtual const char*TObject::GetName() const
virtual TDSetElement*GetNextPacket(TSlave* slave, TMessage* r)
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual TObject*TProofPlayer::GetOutput(const char* name) const
virtual TList*TProofPlayer::GetOutputList() const
virtual TQueryResult*TProofPlayer::GetQueryResult(const char* ref)
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual voidTProofPlayer::HandleAbortTimer()
virtual voidTProofPlayer::HandleStopTimer()
virtual Bool_tTQObject::HasConnection(const char* signal_name) const
virtual ULong_tTObject::Hash() const
virtual voidTQObject::HighPriority(const char* signal_name, const char* slot_name = "0")
Int_tIncorporate(TObject* obj, TList* out, Bool_t& merged)
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_tIsClient() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
static voidTQObject::LoadRQ_OBJECT()
virtual voidTQObject::LowPriority(const char* signal_name, const char* slot_name = "0")
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
voidMergeOutput()
virtual voidTQObject::Message(const char* msg)
virtual Bool_tTObject::Notify()
virtual Int_tTQObject::NumberOfConnections() const
virtual Int_tTQObject::NumberOfSignals() const
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)
TObject&TObject::operator=(const TObject& rhs)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTObject::Print(Option_t* option = "") const
virtual Long64_tProcess(TDSet* set, const char* selector, Option_t* option = "", Long64_t nentries = -1, Long64_t firstentry = 0, TEventList* evl = 0)
virtual voidProgress(Long64_t total, Long64_t processed)
virtual voidProgress(TSlave*, Long64_t total, Long64_t processed)
virtual voidProgress(Long64_t total, Long64_t processed, Long64_t bytesread, Float_t initTime, Float_t procTime, Float_t evtrti, Float_t mbrti)
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
virtual Int_tTProofPlayer::ReinitSelector(TQueryResult* qr)
virtual voidTProofPlayer::RemoveQueryResult(const char* ref)
voidTObject::ResetBit(UInt_t f)
virtual voidTProofPlayer::RestorePreviousQuery()
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") const
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTProofPlayer::SetCurrentQuery(TQueryResult* q)
virtual voidTObject::SetDrawOption(Option_t* option = "")
static voidTObject::SetDtorOnly(void* obj)
virtual voidTProofPlayer::SetMaxDrawQueries(Int_t max)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTProofPlayer::SetStopTimer(Bool_t on = kTRUE, Bool_t abort = kFALSE, Int_t timeout = 0)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStopProcess(Bool_t abort, Int_t timeout = -1)
virtual voidStoreFeedback(TObject* slave, TList* out)
virtual voidStoreOutput(TList* out)
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
voidTProofPlayer::UpdateAutoBin(const char* name, Double_t& xmin, Double_t& xmax, Double_t& ymin, Double_t& ymax, Double_t& zmin, Double_t& zmax)
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:
static Int_tTQObject::CheckConnectArgs(TQObject* sender, TClass* sender_class, const char* signal, TClass* receiver_class, const char* slot)
static Bool_tTQObject::ConnectToClass(TQObject* sender, const char* signal, TClass* receiver_class, void* receiver, const char* slot)
static Bool_tTQObject::ConnectToClass(const char* sender_class, const char* signal, TClass* receiver_class, void* receiver, const char* slot)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
TProof*GetProof() const
virtual void*TProofPlayer::GetSender()
virtual const char*TQObject::GetSenderClassName() const
virtual Bool_tHandleTimer(TTimer* timer)
voidTObject::MakeZombie()
virtual Bool_tSendSelector(const char* selector_file)
virtual voidSetupFeedback()
virtual voidStopFeedback()
private:
TList*MergeFeedback()

Data Members

public:
enum TProofPlayer::EExitStatus { kFinished
kStopped
kAborted
};
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
protected:
TList*TProofPlayer::fInput-> list with input objects
TList*TProofPlayer::fOutputlist with output objects
TSelector*TProofPlayer::fSelector! the latest selector
TClass*TProofPlayer::fSelectorClass! class of the latest selector
TTimer*TProofPlayer::fFeedbackTimer! timer for sending intermediate results
TEventIter*TProofPlayer::fEvIter! iterator on events or objects
TStatus*TProofPlayer::fSelStatus! status of query in progress
TProofPlayer::EExitStatusTProofPlayer::fExitStatusexit status
Long64_tTProofPlayer::fEventsProcessednumber of events processed
Long64_tTProofPlayer::fTotalEventsnumber of events requested
TList*TProofPlayer::fQueryResultsList of TQueryResult
TQueryResult*TProofPlayer::fQueryInstance of TQueryResult currently processed
TQueryResult*TProofPlayer::fPreviousQueryPrevious instance of TQueryResult processed
Int_tTProofPlayer::fDrawQueriesNumber of Draw queries in the list
Int_tTProofPlayer::fMaxDrawQueriesMax number of Draw queries kept
TTimer*TProofPlayer::fStopTimerTimer associated with a stop request
TMutex*TProofPlayer::fStopTimerMtxTo protect the stop timer
TList*TQObject::fListOfSignals! list of signals from this object
TList*TQObject::fListOfConnections! list of connections to this object
private:
TProof*fProoflink to associated PROOF session
TList*fOutputListsresults returned by slaves
TList*fFeedbackreference for use on master
TList*fFeedbackListsintermediate results
TVirtualPacketizer*fPacketizertransform TDSet into packets for slaves
TDSet*fDSet!tdset for current processing

Class Description

                                                                      
 TProofPlayer                                                         
                                                                      

~TProofPlayerRemote()
 Destructor.
Long64_t Process(TDSet *dset, const char *selector_file, Option_t *option, Long64_t nentries, Long64_t first, TEventList * /*evl*/)
 Process specified TDSet on PROOF.
 The return value is -1 in case of error and TSelector::GetStatus() in
 in case of success.
Long64_t Finalize(Bool_t force, Bool_t sync)
 Finalize a query.
 Returns -1 in case error, 0 otherwise.
Long64_t Finalize(TQueryResult *qr)
 Finalize the results of a query already processed.
Bool_t SendSelector(const char* selector_file)
 Send the selector file(s) to master or worker nodes.
void MergeOutput()
 Merge objects in output the lists.
void Progress(Long64_t total, Long64_t processed)
 Progress signal.
void Progress(Long64_t total, Long64_t processed, Long64_t bytesread, Float_t initTime, Float_t procTime, Float_t evtrti, Float_t mbrti)
 Progress signal.
void Feedback(TList *objs)
 Feedback signal.
void StopProcess(Bool_t abort, Int_t)
 Stop process after this event.
Int_t AddOutputObject(TObject *obj)
 Incorporate the recived object 'obj' into the output list fOutput.
 The latter is created if not existing.
 This method short cuts 'StoreOutput + MergeOutput' optimizing the memory
 consumption.
 Returns -1 in case of error, 1 if the object has been merged into another
 one (so that its ownership has not been taken and can be deleted), and 0
 otherwise.
void AddOutput(TList *out)
 Incorporate the content of the received output list 'out' into the final
 output list fOutput. The latter is created if not existing.
 This method short cuts 'StoreOutput + MergeOutput' limiting the memory
 consumption.
Int_t Incorporate(TObject *newobj, TList *outlist, Bool_t &merged)
 Incorporate object 'newobj' in the list 'outlist'.
 The object is merged with an object of the same name already existing in
 the list, or just added.
 The boolean merged is set to kFALSE when the object is just added to 'outlist';
 this happens if the Merge() method does not exist or if a object named as 'obj'
 is not already in the list. If the obj is not 'merged' than it should not be
 deleted, unless outlist is not owner of its objects.
 Return 0 on success, -1 on error.
void StoreOutput(TList *out)
 Store received output list.
TList * MergeFeedback()
 Merge feedback lists.
void StoreFeedback(TObject *slave, TList *out)
 Store feedback results from the specified slave.
void SetupFeedback()
 Setup reporting of feedback objects.
void StopFeedback()
 Stop reporting of feedback objects.
Bool_t HandleTimer(TTimer *)
 Send feedback objects to client.
TDSetElement * GetNextPacket(TSlave *slave, TMessage *r)
 Get next packet for specified slave.
Bool_t IsClient()
 Is the player running on the client?
Long64_t DrawSelect(TDSet *set, const char *varexp, const char *selection, Option_t *option, Long64_t nentries, Long64_t firstentry)
 Draw (support for TChain::Draw()).
 Returns -1 in case of error or number of selected events in case of success.
void Progress(Long64_t total, Long64_t processed)
TProof * GetProof()
{ return fProof; }
TProofPlayerRemote(TProof *proof = 0)
{}

Author: Maarten Ballintijn 07/01/02
Last update: root/proof:$Name: $:$Id: TProofPlayer.cxx,v 1.98 2006/12/12 11:20:49 rdm Exp $
Copyright (C) 1995-2001, 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.