Logo ROOT  
Reference Guide
TProofBenchDataSet.h
Go to the documentation of this file.
1// @(#)root/proof:$Id$
2// Author: Sangsu Ryu 22/06/2010
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_TProofBenchDataSet
13#define ROOT_TProofBenchDataSet
14
15//////////////////////////////////////////////////////////////////////////
16// //
17// TProofBenchDataSet //
18// //
19// Handle operations on datasets used by ProofBench //
20// //
21//////////////////////////////////////////////////////////////////////////
22
23#include "TObject.h"
24
25class TProof;
26
28
29private:
30
31protected:
32 TProof* fProof; //proof
33
34 Int_t Handle(const char *dset, TObject *type);
35
36public:
37
38 TProofBenchDataSet(TProof *proof = 0);
39 virtual ~TProofBenchDataSet() { }
40
41 Bool_t IsProof(TProof *p) { return (p == fProof) ? kTRUE : kFALSE; }
42
43 Int_t CopyFiles(const char *dset, const char *destdir);
44 Int_t ReleaseCache(const char *dset);
45 Int_t RemoveFiles(const char *dset);
46
47 ClassDef(TProofBenchDataSet,0) //Handle operations on datasets
48};
49
50#endif
int Int_t
Definition: RtypesCore.h:45
const Bool_t kFALSE
Definition: RtypesCore.h:101
const Bool_t kTRUE
Definition: RtypesCore.h:100
#define ClassDef(name, id)
Definition: Rtypes.h:335
winID h TVirtualViewer3D TVirtualGLPainter p
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 type
Mother of all ROOT objects.
Definition: TObject.h:37
Handle operations on datasets used by ProofBench.
Bool_t IsProof(TProof *p)
Int_t Handle(const char *dset, TObject *type)
Physically remove the dataset 'dset', i.e.
Int_t CopyFiles(const char *dset, const char *destdir)
Copy the files of dataset 'dset' to another directory Return 0 on success, -1 on error.
TProofBenchDataSet(TProof *proof=0)
Constructor.
Int_t RemoveFiles(const char *dset)
Physically remove the dataset 'dset', i.e.
Int_t ReleaseCache(const char *dset)
Release memory cache for dataset 'dset' Return 0 on success, -1 on error.
This class controls a Parallel ROOT Facility, PROOF, cluster.
Definition: TProof.h:316