English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / Launcher: TLocalHostCluster.h Source File
Uranie / Launcher v4.9.0
/* @license-end */
TLocalHostCluster.h
Go to the documentation of this file.
1
2// Copyright (C) 2013-2024 CEA/DES
3//
4// This program is free software: you can redistribute it and/or modify
5// it under the terms of the GNU Lesser General Public License as published
6// by the Free Software Foundation, either version 3 of the License, or any
7// later version.
8//
9// This program is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU Lesser General Public License for more details.
13//
14// You should have received a copy of the GNU Lesser General Public License
15// along with this program. If not, see <http://www.gnu.org/licenses/>.
18// $Id$
19// $Author$
20// $Date$
21// $Revision$
22// $State$
24
41#ifndef TLOCALHOSTCLUSTER_H
42#define TLOCALHOSTCLUSTER_H
43
44#include <iostream>
45#include <sstream>
46
47using std::cout;
48using std::endl;
49using std::istringstream;
50using std::string;
51
52//ROOT
53#include "Rtypes.h"
54#include "TRegexp.h"
55
56// Uranie
57#include "TCluster.h"
58
59namespace URANIE
60{
61namespace Launcher
62{
64{
65private:
66 static TRegexp __Cre;
67 static int __Cnnode;
68 static TString __Chost;
70
71 static const char *nodeList();
72public:
73 static bool eligible(Option_t*);
74
75 //---------------------------------------------
79
84
85 //---------------------------------------------
89
90 virtual void init();
91 virtual void getCommandPrefix(char *, char *);
92 void setMultiDump(bool dumpit){ _bMultiDump=dumpit;}
93
95
96 //---------------------------------------------
100 void setLog()
101 {
102 _blog = kTRUE;
103 }
104 void unsetLog()
105 {
106 _blog = kFALSE;
107 }
109 {
110 _blog = _blog ? kFALSE : kTRUE;
111 }
112 Bool_t getLog()
113 {
114 return _blog;
115 }
116 virtual void printLog(Option_t *option = "");
118
119 ClassDef(URANIE::Launcher::TLocalHostCluster, ID_LAUNCHER)
120 //Classe de
121};
122
123} // Fin du namespace Launcher
124} // Fin du namespace URANIE
125#endif
126
Interface of the class URANIE::Launcher::TCluster.
Description of the class TCluster.
Definition TCluster.h:71
Bool_t _blog
Boolean to edit the log.
Definition TCluster.h:73
Description of the class TLocalHostCluster.
Definition TLocalHostCluster.h:64
void unsetLog()
Definition TLocalHostCluster.h:104
virtual void getCommandPrefix(char *, char *)
virtual ~TLocalHostCluster()
Default destructor.
Bool_t getLog()
Definition TLocalHostCluster.h:112
bool _bMultiDump
Definition TLocalHostCluster.h:69
static TRegexp __Cre
Definition TLocalHostCluster.h:66
TLocalHostCluster()
Default constructor.
void changeLog()
Definition TLocalHostCluster.h:108
static TString __Chost
Definition TLocalHostCluster.h:68
virtual void printLog(Option_t *option="")
void setLog()
Definition TLocalHostCluster.h:100
static bool eligible(Option_t *)
static const char * nodeList()
static int __Cnnode
Definition TLocalHostCluster.h:67
void setMultiDump(bool dumpit)
Definition TLocalHostCluster.h:92
virtual void init()
Construct and return the list of nodes.
Definition TCluster.h:67