Logo ROOT  
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#include "TProofMgr.h"
25#include "TUrl.h"
26
27class TProofMgrLite : public TProofMgr {
28
29public:
30 TProofMgrLite(const char *url, Int_t loglevel = -1, const char *alias = "");
31 virtual ~TProofMgrLite() { }
32
33 TProof *CreateSession(const char * = 0, const char * = 0, Int_t = -1);
34 TProofLog *GetSessionLogs(Int_t ridx = 0, const char *stag = 0,
35 const char *pattern = "-v | SvcMsg", Bool_t rescan = kFALSE);
36 TObjString *ReadBuffer(const char *file, Long64_t ofs, Int_t len);
37 TObjString *ReadBuffer(const char *file, const char *pattern);
38
39 ClassDef(TProofMgrLite,0) // XrdProofd PROOF manager interface
40};
41
42#endif
int Int_t
Definition: RtypesCore.h:41
const Bool_t kFALSE
Definition: RtypesCore.h:88
bool Bool_t
Definition: RtypesCore.h:59
long long Long64_t
Definition: RtypesCore.h:69
#define ClassDef(name, id)
Definition: Rtypes.h:326
Collectable string class.
Definition: TObjString.h:28
Implementation of the PROOF session log handler.
Definition: TProofLog.h:32
Basic TProofMgr functionality implementation in the case of Lite session.
Definition: TProofMgrLite.h:27
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.
TProofMgrLite(const char *url, Int_t loglevel=-1, const char *alias="")
Create a PROOF manager for the Lite environment.
TProof * CreateSession(const char *=0, const char *=0, Int_t=-1)
Create a new session.
TObjString * ReadBuffer(const char *file, Long64_t ofs, Int_t len)
Read 'len' bytes from offset 'ofs' of the local file 'fin'.
virtual ~TProofMgrLite()
Definition: TProofMgrLite.h:31
The PROOF manager interacts with the PROOF server coordinator to create or destroy a PROOF session,...
Definition: TProofMgr.h:43
This class controls a Parallel ROOT Facility, PROOF, cluster.
Definition: TProof.h:316
Definition: file.py:1