Logo ROOT   6.18/05
Reference Guide
TSlaveLite.h
Go to the documentation of this file.
1// @(#)root/proof:$Id$
2// Author: G. Ganis Mar 2008
3
4/*************************************************************************
5 * Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *
6 * All rights reserved. *
7 * *
8 * For the licensing terms see $ROOTSYS/LICENSE. *
9 * For the list of contributors see $ROOTSYS/README/CREDITS. *
10 *************************************************************************/
11
12#ifndef ROOT_TSlaveLite
13#define ROOT_TSlaveLite
14
15
16//////////////////////////////////////////////////////////////////////////
17// //
18// TSlaveLite //
19// //
20// This is the version of TSlave for local worker servers. //
21// See TSlave for details. //
22// //
23//////////////////////////////////////////////////////////////////////////
24
25#include "TSlave.h"
26
27class TObjString;
28class TSocket;
29class TSignalHandler;
30
31class TSlaveLite : public TSlave {
32
33friend class TProof;
34
35private:
37 TSignalHandler *fIntHandler; //interrupt signal handler (ctrl-c)
38
39 void Init();
40
41public:
42 TSlaveLite(const char *ord, Int_t perf,
43 const char *image, TProof *proof, Int_t stype,
44 const char *workdir, const char *msd, Int_t = 1);
45 virtual ~TSlaveLite();
46
47 void Close(Option_t *opt = "");
48 void DoError(int level, const char *location, const char *fmt,
49 va_list va) const;
50
51 void Print(Option_t *option="") const;
52 Int_t SetupServ(Int_t stype, const char *conffile);
53
54 ClassDef(TSlaveLite, 0) //PROOF lite worker server
55};
56
57#endif
int Int_t
Definition: RtypesCore.h:41
bool Bool_t
Definition: RtypesCore.h:59
const char Option_t
Definition: RtypesCore.h:62
#define ClassDef(name, id)
Definition: Rtypes.h:326
Collectable string class.
Definition: TObjString.h:28
This class controls a Parallel ROOT Facility, PROOF, cluster.
Definition: TProof.h:316
Version of TSlave for local worker servers.
Definition: TSlaveLite.h:31
Int_t SetupServ(Int_t stype, const char *conffile)
Init a PROOF slave object.
Definition: TSlaveLite.cxx:107
virtual ~TSlaveLite()
Destroy slave.
Definition: TSlaveLite.cxx:149
void Print(Option_t *option="") const
Printf info about slave.
Definition: TSlaveLite.cxx:170
void Close(Option_t *opt="")
Close slave socket.
Definition: TSlaveLite.cxx:157
void DoError(int level, const char *location, const char *fmt, va_list va) const
Interface to ErrorHandler (protected).
Definition: TSlaveLite.cxx:55
Bool_t fValid
Definition: TSlaveLite.h:36
void Init()
Init a PROOF worker object. Called via the TSlaveLite ctor.
Definition: TSlaveLite.cxx:87
TSignalHandler * fIntHandler
Definition: TSlaveLite.h:37
Class describing a PROOF worker server.
Definition: TSlave.h:46
friend class TSlaveLite
Definition: TSlave.h:50