English Français

Documentation / Developer's manual

Available modules

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / Launcher: TLSFCluster.h Source File
Uranie / Launcher  v4.10.0
/* @license-end */
TLSFCluster.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$
22 // $State$
24 
41 #ifndef TLSFCLUSTER_H
42 #define TLSFCLUSTER_H
43 
44 #include <iostream>
45 #include <sstream>
46 
47 using std::cout;
48 using std::endl;
49 using std::istringstream;
50 using std::string;
51 
52 //ROOT
53 #include "Rtypes.h"
54 
55 // Uranie
56 #include "TCluster.h"
57 
58 namespace URANIE
59 {
60 namespace Launcher
61 {
62 class TLSFCluster: public TCluster
63 {
64 private:
65  static const char *nodeList();
66 public:
67  static bool eligible();
68 
69  //---------------------------------------------
73  TLSFCluster();
76  virtual ~TLSFCluster();
78 
79  //---------------------------------------------
83  virtual void init();
85  virtual void getCommandPrefix(char *, char *);
87 
88  //---------------------------------------------
92  void setLog()
93  {
94  _blog = kTRUE;
95  }
96  void unsetLog()
97  {
98  _blog = kFALSE;
99  }
100  void changeLog()
101  {
102  _blog = _blog ? kFALSE : kTRUE;
103  }
104  Bool_t getLog()
105  {
106  return _blog;
107  }
108  virtual void printLog(Option_t *option = "");
110 
111  ClassDef(URANIE::Launcher::TLSFCluster, ID_LAUNCHER)
112  //Classe de
113 };
114 
115 } // Fin du namespace Launcher
116 } // Fin du namespace URANIE
117 #endif
Description of the class TLSFCluster.
Definition: TLSFCluster.h:62
Definition: TCluster.h:66
virtual void getCommandPrefix(char *, char *)
TLSFCluster()
Default constructor.
void changeLog()
Definition: TLSFCluster.h:100
static const char * nodeList()
Description of the class TCluster.
Definition: TCluster.h:70
Bool_t _blog
Boolean to edit the log.
Definition: TCluster.h:73
virtual void printLog(Option_t *option="")
virtual void init()
Construct and return the list of nodes.
void setLog()
Definition: TLSFCluster.h:92
Interface of the class URANIE::Launcher::TCluster.
virtual ~TLSFCluster()
Default destructor.
void unsetLog()
Definition: TLSFCluster.h:96
Bool_t getLog()
Definition: TLSFCluster.h:104