TSlave


class description - source file - inheritance tree

class TSlave : public TObject

    private:
TSlave TSlave() TSlave TSlave(TSlave&) TSlave TSlave(char* host, Int_t ord, Int_t perf, TProof* proof) void operator=(TSlave&) public:
virtual void ~TSlave() TClass* Class() virtual void Close(Option_t* opt) virtual Int_t Compare(TObject* obj) Double_t GetBytesRead() Float_t GetCpuTime() virtual const char* GetName() Int_t GetOrdinal() Int_t GetPerfIdx() TProof* GetProof() Float_t GetRealTime() TSocket* GetSocket() virtual TClass* IsA() virtual Bool_t IsSortable() Bool_t IsValid() virtual void Print(Option_t* option) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b)

Data Members

private:
TString fName slave's hostname Int_t fOrdinal slave's ordinal number Int_t fPerfIdx performance index, on a scale of 1-200, PPro200=40 TSocket* fSocket socket to slave TProof* fProof proof cluster to which slave belongs Double_t fBytesRead bytes read by slave (info is obtained from slave) Float_t fRealTime real time spent executing commands (info obtained from slave) Float_t fCpuTime CPU time spent executing commands (info obtained from slave)

Class Description

                                                                      
 TSlave                                                               
                                                                      
 This class describes a PROOF slave server.                           
 It contains information like the slaves host name, ordinal number,   
 performance index, socket, etc. Objects of this class can only be    
 created via TProof member functions.                                 
                                                                      


TSlave(const char *host, Int_t ord, Int_t perf, TProof *proof)
 Create a PROOF slave object. Called via the TProof ctor.

~TSlave()
 Destroy slave.

void Close(Option_t *)
 Close slave socket.

Int_t Compare(TObject *obj)
 Used to sort slaves by performance index.

void Print(Option_t *)
 Printf info about slave.



Inline Functions


             TSlave TSlave(TSlave&)
               void operator=(TSlave&)
             TSlave TSlave(char* host, Int_t ord, Int_t perf, TProof* proof)
             Bool_t IsSortable()
        const char* GetName()
              Int_t GetOrdinal()
              Int_t GetPerfIdx()
           TSocket* GetSocket()
            TProof* GetProof()
           Double_t GetBytesRead()
            Float_t GetRealTime()
            Float_t GetCpuTime()
             Bool_t IsValid()
            TClass* Class()
            TClass* IsA()
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)


Author: Fons Rademakers 14/02/97
Last update: 1.03/09 11/12/97 08.15.32 by Fons Rademakers
Copyright (c) 1995-1999, The ROOT System, All rights reserved. *


ROOT page - Class index - 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.