TGM.h

Go to the documentation of this file.
00001 // @(#)root/clarens:$Id: TGM.h 20882 2007-11-19 11:31:26Z rdm $
00002 // Author: Maarten Ballintijn    21/10/2004
00003 // Author: Kris Gulbrandsen      21/10/2004
00004 
00005 /*************************************************************************
00006  * Copyright (C) 1995-2005, Rene Brun and Fons Rademakers.               *
00007  * All rights reserved.                                                  *
00008  *                                                                       *
00009  * For the licensing terms see $ROOTSYS/LICENSE.                         *
00010  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
00011  *************************************************************************/
00012 
00013 #ifndef ROOT_TGM
00014 #define ROOT_TGM
00015 
00016 //////////////////////////////////////////////////////////////////////////
00017 //                                                                      //
00018 // TGM                                                                  //
00019 //                                                                      //
00020 //                                                                      //
00021 //////////////////////////////////////////////////////////////////////////
00022 
00023 #ifndef ROOT_TClProxy
00024 #include "TClProxy.h"
00025 #endif
00026 
00027 #ifndef ROOT_TString
00028 #include "TString.h"
00029 #endif
00030 
00031 
00032 class TList;
00033 class TUrl;
00034 class TXmlRpc;
00035 
00036 
00037 class TGM : public TClProxy {
00038 public:
00039    TGM(TXmlRpc *rpc);
00040    virtual ~TGM() { }
00041 
00042    Bool_t   GetVersion(TString &version);
00043    Bool_t   CreateSession(const Char_t *dataset,
00044                           TString &sessionid,
00045                           TList   *&list,
00046                           TUrl    &proofUrl);
00047    Bool_t   DestroySession(const Char_t *sessionid);
00048 
00049    struct TFileParams : public TObject {
00050       TString  fFileName;
00051       TString  fObjClass;
00052       TString  fObjName;
00053       TString  fDir;
00054       Long64_t fFirst;
00055       Long64_t fNum;
00056 
00057       TFileParams(const Char_t *file, const Char_t *cl, const Char_t *nm,
00058                   const Char_t *dir, Int_t first,  Int_t num);
00059 
00060       void     Print(Option_t *option="") const;
00061 
00062       ClassDef(TGM::TFileParams,0);  // PEAC File description
00063    };
00064 
00065    ClassDef(TGM,0);  // PEAC Global Manager proxy
00066 };
00067 
00068 #endif

Generated on Tue Jul 5 14:26:57 2011 for ROOT_528-00b_version by  doxygen 1.5.1