10 #include "KVBatchSystemManager.h"
32 if (gBatchSystemManager)
return;
35 gBatchSystemManager =
this;
46 gBatchSystemManager = 0;
63 fBatchSystems.Clear();
65 unique_ptr<TObjArray> systems(list.
Tokenize(
" "));
66 TIter next(systems.get());
71 fBatchSystems.Add(bs);
112 if (!strcmp(opt,
"all")) {
113 for (
int i = 1; i <= fBatchSystems.GetSize(); i++) {
114 fBatchSystems.At(i - 1)->Print(
"all");
118 for (
int i = 1; i <= fBatchSystems.GetSize(); i++) {
119 cout <<
"\t" << i <<
". " << ((
KVBatchSystem*)fBatchSystems.At(i - 1))->GetTitle() << endl;
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t index
Handles list of all available batch systems for processing non-interactive data analysis tasks.
virtual ~KVBatchSystemManager()
Destructor.
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.
static KVBatchSystem * GetBatchSystem(const Char_t *plugin)
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
virtual const char * GetValue(const char *name, const char *dflt) const
const TString & GetString() const
const char * Data() const
TObjArray * Tokenize(const TString &delim) const