KaliVeda
Toolkit for HIC analysis
KVBatchSystemManager.h
1 /*
2 $Id: KVBatchSystemManager.h,v 1.2 2007/05/31 09:59:22 franklan Exp $
3 $Revision: 1.2 $
4 $Date: 2007/05/31 09:59:22 $
5 */
6 
9 
10 #ifndef __KVBATCHSYSTEMMANAGER_H
11 #define __KVBATCHSYSTEMMANAGER_H
12 
13 #include "TObject.h"
14 #include "KVList.h"
15 #include "KVBatchSystem.h"
16 
58  void Init();
60 
61 public:
62 
64  virtual ~KVBatchSystemManager();
65 
66  KVBatchSystem* GetBatchSystem(const Char_t* name);
69  {
70  return fDefault;
71  };
72  void Print(Option_t* opt = "") const;
73 
74  ClassDef(KVBatchSystemManager, 1) //Manages methods of processing non-interactive data analysis tasks
75 };
76 
78 R__EXTERN KVBatchSystemManager* gBatchSystemManager;
79 
80 #endif
int Int_t
#define R__EXTERN
char Char_t
const char Option_t
#define ClassDef(name, id)
Handles list of all available batch systems for processing non-interactive data analysis tasks.
virtual ~KVBatchSystemManager()
Destructor.
KVList fBatchSystems
list of available batch systems
KVBatchSystem * fDefault
default batch system
KVBatchSystem * GetDefaultBatchSystem() const
void Init()
Set up list of available batch systems.
KVBatchSystemManager()
Default constructor.
void Print(Option_t *opt="") const
KVBatchSystem * GetBatchSystem(const Char_t *name)
Get batch system by name.
Base class for interface to a batch job management system.
Definition: KVBatchSystem.h:78
Extended TList class which owns its objects by default.
Definition: KVList.h:28