English Français

Documentation / Developer's manual

Available modules

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / Launcher: TSGECluster.h Source File
Uranie / Launcher  v4.10.0
/* @license-end */
TSGECluster.h
Go to the documentation of this file.
1 // 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$
23 
80 #ifndef TSGECLUSTER_H
81 #define TSGECLUSTER_H
82 
83 #include <iostream>
84 #include <sstream>
85 #include <fstream>
86 
87 using std::cout;
88 using std::endl;
89 using std::istringstream;
90 using std::string;
91 
92 //ROOT
93 #include "Rtypes.h"
94 
95 // Uranie
96 #include "TCluster.h"
97 
98 namespace URANIE
99 {
100 namespace Launcher
101 {
102 class TSGECluster: public TCluster
103 {
104 private:
105  static TString sRawListOfHosts;
106  static const char *rawNodeList();
107 public:
108  static bool eligible();
109  //---------------------------------------------
113  TSGECluster();
116  virtual ~TSGECluster();
118 
119  //---------------------------------------------
123  virtual void init();
125  virtual void getCommandPrefix(char *, char *);
127 
128  //---------------------------------------------
132  void setLog()
133  {
134  _blog = kTRUE;
135  }
136  void unsetLog()
137  {
138  _blog = kFALSE;
139  }
140  void changeLog()
141  {
142  _blog = _blog ? kFALSE : kTRUE;
143  }
144  Bool_t getLog()
145  {
146  return _blog;
147  }
148  virtual void printLog(Option_t *option = "");
150 
151  ClassDef(URANIE::Launcher::TSGECluster, ID_LAUNCHER)
152  //Classe de
153 };
154 
155 } // Fin du namespace Launcher
156 } // Fin du namespace URANIE
157 #endif
Definition: TCluster.h:66
void setLog()
Definition: TSGECluster.h:132
virtual void init()
Constructs and returns the list of nodes.
Description of the class TCluster.
Definition: TCluster.h:70
Bool_t _blog
Boolean to edit the log.
Definition: TCluster.h:73
void unsetLog()
Definition: TSGECluster.h:136
TSGECluster()
Default constructor.
Bool_t getLog()
Definition: TSGECluster.h:144
Description of the class TSGECluster.
Definition: TSGECluster.h:102
Interface of the class URANIE::Launcher::TCluster.
virtual ~TSGECluster()
Default destructor.
static const char * rawNodeList()
virtual void printLog(Option_t *option="")
virtual void getCommandPrefix(char *, char *)
void changeLog()
Definition: TSGECluster.h:140
static TString sRawListOfHosts
Definition: TSGECluster.h:105