English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / ReLauncher: TCodeEval.h Source File
Uranie / ReLauncher  v4.10.0
/* @license-end */
TCodeEval.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 by
6 // 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 1.4 $
22 // $State$
24 
32 #ifndef __TCODEEVAL__
33 #define __TCODEEVAL__
34 
35 #include <sstream>
36 
37 //ROOT
38 #include "Rtypes.h"
39 #include "TString.h"
40 #include "TList.h"
41 
42 // Uranie
43 #include "Relauncher.h"
44 #include "TShareEval.h"
45 #include "TCodeBase.h"
46 
47 #include "TDataServer.h"
48 
49 namespace URANIE
50 {
51 namespace Relauncher
52 {
53 
54 class TCodeEval: public TCodeBase
55 {
56 protected:
57  TString _cmd;
58  TString _origcmd;
59 
60 public:
61  TCodeEval(const char *scmd);
62  virtual ~TCodeEval(void);
63 
64  virtual TEval *rebuild(int rank, Bool_t chef = kTRUE);
65  virtual Bool_t unbuild();
66  virtual void setTmpDir(int id, Bool_t chef);
67 
68  virtual int callFunction();
69 
70  ClassDef(URANIE::Relauncher::TCodeEval, ID_RELAUNCHER)
71 };
72 
73 
74 }} //namespace
75 
76 #endif
77 
Definition: TBaseEval.cxx:44
gestion des répertoires fichiers de travail*
virtual int callFunction()
Definition: TCodeEval.cxx:111
virtual TEval * rebuild(int rank, Bool_t chef=kTRUE)
Definition: TCodeEval.cxx:88
implementation partage au TEval
virtual void setTmpDir(int id, Bool_t chef)
Definition: TCodeEval.cxx:75
TString _cmd
Definition: TCodeEval.h:57
virtual Bool_t unbuild()
Definition: TCodeEval.cxx:104
TString _origcmd
Definition: TCodeEval.h:58
TCodeEval(const char *scmd)
Definition: TCodeEval.cxx:58
virtual ~TCodeEval(void)
Definition: TCodeEval.cxx:70
Definition: TCodeBase.h:120
Definition: TEval.h:49
Definition: TCodeEval.h:54