ROOT  6.06/09
Reference Guide
TProofMgrLite.h
Go to the documentation of this file.
1 // @(#)root/proofx:$Id$
2 // Author: G. Ganis, Apr 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_TProofMgrLite
13 #define ROOT_TProofMgrLite
14 
15 
16 //////////////////////////////////////////////////////////////////////////
17 // //
18 // TProofMgrLite //
19 // //
20 // Basic functionality implementtaion in the case of Lite sessions //
21 // //
22 //////////////////////////////////////////////////////////////////////////
23 
24 #ifndef ROOT_TProofMgr
25 #include "TProofMgr.h"
26 #endif
27 #ifndef ROOT_TUrl
28 #include "TUrl.h"
29 #endif
30 
31 class TProofMgrLite : public TProofMgr {
32 
33 public:
34  TProofMgrLite(const char *url, Int_t loglevel = -1, const char *alias = "");
35  virtual ~TProofMgrLite() { }
36 
37  TProof *CreateSession(const char * = 0, const char * = 0, Int_t = -1);
38  TProofLog *GetSessionLogs(Int_t ridx = 0, const char *stag = 0,
39  const char *pattern = "-v | SvcMsg", Bool_t rescan = kFALSE);
40  TObjString *ReadBuffer(const char *file, Long64_t ofs, Int_t len);
41  TObjString *ReadBuffer(const char *file, const char *pattern);
42 
43  ClassDef(TProofMgrLite,0) // XrdProofd PROOF manager interface
44 };
45 
46 #endif
long long Long64_t
Definition: RtypesCore.h:69
Collectable string class.
Definition: TObjString.h:32
int Int_t
Definition: RtypesCore.h:41
bool Bool_t
Definition: RtypesCore.h:59
const Bool_t kFALSE
Definition: Rtypes.h:92
TProofMgrLite(const char *url, Int_t loglevel=-1, const char *alias="")
#define ClassDef(name, id)
Definition: Rtypes.h:254
static const std::string pattern("pattern")
virtual ~TProofMgrLite()
Definition: TProofMgrLite.h:35
TObjString * ReadBuffer(const char *file, Long64_t ofs, Int_t len)
Read 'len' bytes from offset 'ofs' of the local file 'fin'.
TProofLog * GetSessionLogs(Int_t ridx=0, const char *stag=0, const char *pattern="-v | SvcMsg", Bool_t rescan=kFALSE)
Get logs or log tails from last session associated with this manager instance.
TProof * CreateSession(const char *=0, const char *=0, Int_t=-1)
Create a new session.
Definition: TProof.h:339