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
bool Bool_t
Definition: RtypesCore.h:63
int Int_t
Definition: RtypesCore.h:45
const Bool_t kFALSE
Definition: RtypesCore.h:101
long long Long64_t
Definition: RtypesCore.h:80
#define ClassDef(name, id)
Definition: Rtypes.h:335
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t UChar_t len
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
static const std::string pattern("pattern")
Definition: file.py:1