Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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 ~TSlaveLite() override;
46
47 void Close(Option_t *opt = "") override;
48 void DoError(int level, const char *location, const char *fmt,
49 va_list va) const override;
50
51 void Print(Option_t *option="") const override;
52 Int_t SetupServ(Int_t stype, const char *conffile) override;
53
54 ClassDefOverride(TSlaveLite, 0) //PROOF lite worker server
55};
56
57#endif
const char Option_t
Definition RtypesCore.h:66
#define ClassDefOverride(name, id)
Definition Rtypes.h:341
Option_t Option_t option
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
void Close(Option_t *opt="") override
Close slave socket.
void DoError(int level, const char *location, const char *fmt, va_list va) const override
Interface to ErrorHandler (protected).
void Print(Option_t *option="") const override
Printf info about slave.
~TSlaveLite() override
Destroy slave.
Int_t SetupServ(Int_t stype, const char *conffile) override
Init a PROOF slave object.
Bool_t fValid
Definition TSlaveLite.h:36
void Init()
Init a PROOF worker object. Called via the TSlaveLite ctor.
TSignalHandler * fIntHandler
Definition TSlaveLite.h:37
Class describing a PROOF worker server.
Definition TSlave.h:46
friend class TSlaveLite
Definition TSlave.h:50