KaliVeda  1.13/01
Heavy-Ion Analysis Toolkit
KVBatchSystemManager.h
Go to the documentation of this file.
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 
57  void Init();
59 
60 public:
61 
63  virtual ~KVBatchSystemManager();
64 
65  KVBatchSystem* GetBatchSystem(const Char_t* name);
68  {
69  return fDefault;
70  };
71  void Print(Option_t* opt = "") const;
72 
73  ClassDef(KVBatchSystemManager, 1) //Manages methods of processing non-interactive data analysis tasks
74 };
75 
78 
79 #endif
int Int_t
#define R__EXTERN
R__EXTERN KVBatchSystemManager * gBatchSystemManager
................ global variable
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:77
Extended TList class which owns its objects by default.
Definition: KVList.h:27