English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / ReLauncher: URANIE::Relauncher::TCodeEval Class Reference
Uranie / ReLauncher  v4.10.0
/* @license-end */
URANIE::Relauncher::TCodeEval Class Reference

#include <TCodeEval.h>

Inheritance diagram for URANIE::Relauncher::TCodeEval:
Collaboration diagram for URANIE::Relauncher::TCodeEval:

Public Member Functions

 TCodeEval (const char *scmd)
 
virtual ~TCodeEval (void)
 
virtual TEvalrebuild (int rank, Bool_t chef=kTRUE)
 
virtual Bool_t unbuild ()
 
virtual void setTmpDir (int id, Bool_t chef)
 
virtual int callFunction ()
 
- Public Member Functions inherited from URANIE::Relauncher::TCodeBase
 TCodeBase ()
 
virtual ~TCodeBase (void)
 
virtual void freeze (void)
 
virtual int eval (vector< URANIE::DataServer::UEntry *> *, vector< URANIE::DataServer::UEntry *> *, int=0)
 
- Public Member Functions inherited from URANIE::Relauncher::TShareEval
 TShareEval ()
 
virtual void provideSingleResult ()
 
virtual int eval (std::vector< URANIE::DataServer::UEntry *> *, std::vector< URANIE::DataServer::UEntry *> *, int=0)
 
- Public Member Functions inherited from URANIE::Relauncher::TBaseEval
 TBaseEval ()
 
virtual void addAllInputs (URANIE::DataServer::TDataServer *)
 
virtual TObjArray * getInputList ()
 
virtual TObjArray * getOutputList ()
 
virtual void checkAttributeType (URANIE::DataServer::TAttribute *att)
 
virtual int getOutDimension (vector< URANIE::DataServer::UEntry *> *)
 
virtual bool isThreadSafe ()
 
virtual bool containsStringType ()
 
virtual void clean ()
 
virtual void cleanOutputs ()
 
void setMpi ()
 
- Public Member Functions inherited from URANIE::Relauncher::TEval
virtual ~TEval ()
 
- Public Member Functions inherited from URANIE::Relauncher::TIOFileEval
 TIOFileEval ()
 
virtual ~TIOFileEval ()
 
void addInputFile (TCodeScript *fil)
 
void addOutputFile (TCodeResult *fil)
 
void setReference (TString dir)
 
void setClone ()
 
- Public Member Functions inherited from URANIE::Relauncher::TDirEval
 TDirEval ()
 
virtual ~TDirEval ()
 
void setWorkingDir (TString dir)
 
void setOldTmpDir ()
 
void keepAllFolders ()
 

Protected Attributes

TString _cmd
 
TString _origcmd
 
- Protected Attributes inherited from URANIE::Relauncher::TBaseEval
bool _freezed
 
bool _subeval
 
bool _mpi
 
TObjArray _input
 
TObjArray _output
 
- Protected Attributes inherited from URANIE::Relauncher::TIOFileEval
Bool_t _clone
 
TString _localdir
 
TList * _scripts
 
TCodeResult_result
 
- Protected Attributes inherited from URANIE::Relauncher::TDirEval
Bool_t _isnumered
 
Bool_t _keepAllFolders
 
TString _initialdir
 
TString _workdir
 
TString _tmpdir
 

Additional Inherited Members

- Protected Member Functions inherited from URANIE::Relauncher::TCodeBase
int putAndRun (Double_t *, int ncalc=-1)
 
int putAndRun (vector< URANIE::DataServer::UEntry *> *, int ncalc=-1)
 
- Protected Member Functions inherited from URANIE::Relauncher::TIOFileEval
void buildDir (void)
 
- Protected Member Functions inherited from URANIE::Relauncher::TDirEval
void buildWorkDir (void)
 
void buildTmpDir (int id, Bool_t ch=kTRUE)
 

Constructor & Destructor Documentation

◆ TCodeEval()

URANIE::Relauncher::TCodeEval::TCodeEval ( const char *  scmd)

constructeur destructeur

References _cmd, and _origcmd.

Referenced by rebuild().

◆ ~TCodeEval()

URANIE::Relauncher::TCodeEval::~TCodeEval ( void  )
virtual

Member Function Documentation

◆ callFunction()

int URANIE::Relauncher::TCodeEval::callFunction ( )
virtual

Implements URANIE::Relauncher::TIOFileEval.

References _cmd.

◆ rebuild()

TEval * URANIE::Relauncher::TCodeEval::rebuild ( int  id,
Bool_t  chef = kTRUE 
)
virtual

◆ setTmpDir()

void URANIE::Relauncher::TCodeEval::setTmpDir ( int  id,
Bool_t  chef 
)
virtual

◆ unbuild()

Bool_t URANIE::Relauncher::TCodeEval::unbuild ( )
virtual

Reimplemented from URANIE::Relauncher::TBaseEval.

Member Data Documentation

◆ _cmd

TString URANIE::Relauncher::TCodeEval::_cmd
protected

Referenced by callFunction(), setTmpDir(), and TCodeEval().

◆ _origcmd

TString URANIE::Relauncher::TCodeEval::_origcmd
protected

Referenced by setTmpDir(), and TCodeEval().