TSlaveLite.h

Go to the documentation of this file.
00001 // @(#)root/proof:$Id: TSlaveLite.h 25918 2008-10-22 15:00:04Z ganis $
00002 // Author: G. Ganis Mar 2008
00003 
00004 /*************************************************************************
00005  * Copyright (C) 1995-2005, Rene Brun and Fons Rademakers.               *
00006  * All rights reserved.                                                  *
00007  *                                                                       *
00008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
00009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
00010  *************************************************************************/
00011 
00012 #ifndef ROOT_TSlaveLite
00013 #define ROOT_TSlaveLite
00014 
00015 
00016 //////////////////////////////////////////////////////////////////////////
00017 //                                                                      //
00018 // TSlaveLite                                                           //
00019 //                                                                      //
00020 // This is the version of TSlave for local worker servers.              //
00021 // See TSlave for details.                                              //
00022 //                                                                      //
00023 //////////////////////////////////////////////////////////////////////////
00024 
00025 #ifndef ROOT_TSlave
00026 #include "TSlave.h"
00027 #endif
00028 
00029 class TObjString;
00030 class TSocket;
00031 class TSignalHandler;
00032 
00033 class TSlaveLite : public TSlave {
00034 
00035 friend class TProof;
00036 
00037 private:
00038    Bool_t   fValid;
00039    TSignalHandler *fIntHandler;     //interrupt signal handler (ctrl-c)
00040 
00041    void  Init();
00042 
00043 public:
00044    TSlaveLite(const char *ord, Int_t perf,
00045               const char *image, TProof *proof, Int_t stype,
00046               const char *workdir, const char *msd);
00047    virtual ~TSlaveLite();
00048 
00049    void   Close(Option_t *opt = "");
00050    void   DoError(int level, const char *location, const char *fmt,
00051                   va_list va) const;
00052 
00053    void   Print(Option_t *option="") const;
00054    Int_t  SetupServ(Int_t stype, const char *conffile);
00055 
00056    ClassDef(TSlaveLite, 0)  //PROOF lite worker server
00057 };
00058 
00059 #endif

Generated on Tue Jul 5 14:28:11 2011 for ROOT_528-00b_version by  doxygen 1.5.1