English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / Launcher: TSGECluster.h Source File
Uranie / Launcher v4.9.0
/* @license-end */
TSGECluster.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$
23
80#ifndef TSGECLUSTER_H
81#define TSGECLUSTER_H
82
83#include <iostream>
84#include <sstream>
85#include <fstream>
86
87using std::cout;
88using std::endl;
89using std::istringstream;
90using std::string;
91
92//ROOT
93#include "Rtypes.h"
94
95// Uranie
96#include "TCluster.h"
97
98namespace URANIE
99{
100namespace Launcher
101{
103{
104private:
105 static TString sRawListOfHosts;
106 static const char *rawNodeList();
107public:
108 static bool eligible();
109 //---------------------------------------------
113
116 virtual ~TSGECluster();
118
119 //---------------------------------------------
123
124 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 }
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
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 TSGECluster.
Definition TSGECluster.h:103
void changeLog()
Definition TSGECluster.h:140
virtual void init()
Constructs and returns the list of nodes.
virtual ~TSGECluster()
Default destructor.
Bool_t getLog()
Definition TSGECluster.h:144
virtual void getCommandPrefix(char *, char *)
virtual void printLog(Option_t *option="")
void unsetLog()
Definition TSGECluster.h:136
static TString sRawListOfHosts
Definition TSGECluster.h:105
static const char * rawNodeList()
void setLog()
Definition TSGECluster.h:132
TSGECluster()
Default constructor.
Definition TCluster.h:67