English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / ReLauncher: TCIntEval.h Source File
Uranie / ReLauncher v4.9.0
/* @license-end */
TCIntEval.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 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.3 $
22// $State$
24
32#ifndef __TCINTEVAL__
33#define __TCINTEVAL__
34
35//ROOT
36#include "Rtypes.h"
37#include "TMethodCall.h"
38#include "TString.h"
39
40// Uranie
41#include "Relauncher.h"
42#include "TStandardEval.h"
43
44namespace URANIE
45{
46namespace Relauncher
47{
48
50{
51protected:
52 TMethodCall *_fun;
53 void *_arg;
54 Bool_t _ret;
55
56public:
57 TCIntEval(TString nfun, Bool_t h = kFALSE);
58 TCIntEval(TString nfun, void *arg);
59#ifdef ROOT5
60 TCIntEval(void *fun, Bool_t h = kFALSE);
61 TCIntEval(void *fun, void *arg);
62#endif
63 virtual ~TCIntEval();
64
65 Int_t eval(Double_t *in, Double_t *out, int icalc);
66 virtual bool isThreadSafe() {return false;}
67
68 ClassDef(URANIE::Relauncher::TCIntEval, ID_RELAUNCHER)
69};
70
71}
72}
73
74#endif
simple eval shared class
Definition TCIntEval.h:50
virtual bool isThreadSafe()
Definition TCIntEval.h:66
void * _arg
Definition TCIntEval.h:53
TMethodCall * _fun
Definition TCIntEval.h:52
Int_t eval(Double_t *in, Double_t *out, int icalc)
Definition TCIntEval.cxx:150
Bool_t _ret
Definition TCIntEval.h:54
virtual ~TCIntEval()
Definition TCIntEval.cxx:144
Definition TStandardEval.h:71
Definition TBaseEval.cxx:44