English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / ReLauncher: TPythonEval.h Source File
Uranie / ReLauncher  v4.10.0
/* @license-end */
TPythonEval.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.2 $
22 // $State$
24 
32 #ifndef __TPYTHONEVAL__
33 #define __TPYTHONEVAL__
34 
35 //ROOT
36 #include "Rtypes.h"
37 
38 //URANIE
39 #include "Relauncher.h"
40 #include "TStandardEval.h"
41 
42 struct _object;
43 
44 namespace URANIE
45 {
46 namespace Relauncher
47 {
48 
49 class TPythonEval: public TSimpleEval
50 {
51 protected:
52  struct _object *_fun;
53 
54 public:
55  TPythonEval(struct _object *);
56  virtual ~TPythonEval();
57 
58  int eval(vector<URANIE::DataServer::UEntry*> *,vector<URANIE::DataServer::UEntry*> *, int =0 );
59 
60  //virtual bool isThreadSafe() {return false;}
61 
62  ClassDef(URANIE::Relauncher::TPythonEval, ID_RELAUNCHER)
63 };
64 
65 }
66 } //namespace
67 
68 #endif
69 
Definition: TBaseEval.cxx:44
Definition: TPythonEval.h:49
Definition: TStandardEval.h:59
simple eval shared class
virtual ~TPythonEval()
Definition: TPythonEval.cxx:49
TPythonEval(struct _object *)
Definition: TPythonEval.cxx:43
struct _object * _fun
Definition: TPythonEval.h:52
int eval(vector< URANIE::DataServer::UEntry *> *, vector< URANIE::DataServer::UEntry *> *, int=0)
Definition: TPythonEval.cxx:53