English Français

Documentation / Developer's manual

Available modules

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

#include <TSeparateRun.h>

Inheritance diagram for URANIE::Relauncher::TSeparateRun:
Collaboration diagram for URANIE::Relauncher::TSeparateRun:

Public Member Functions

 TSeparateRun (URANIE::Relauncher::TEval *r)
 
virtual ~TSeparateRun ()
 
virtual void startSlave ()
 
virtual void stopSlave ()
 
virtual void put (long, vector< URANIE::DataServer::UEntry * > *in, vector< URANIE::DataServer::UEntry * > *out, int=0)
 
virtual int get (long &)
 
- Public Member Functions inherited from URANIE::Relauncher::TShareRun
 TShareRun (TEval *fun)
 
virtual ~TShareRun ()
 
virtual TEvalgetEval ()
 
- Public Member Functions inherited from URANIE::Relauncher::TRun
virtual ~TRun ()
 
virtual Bool_t onMaster ()=0
 
virtual Bool_t readyToGet ()=0
 

Protected Member Functions

virtual int wait_service ()=0
 
virtual int send_header (int canal, int *head, int size)=0
 
virtual int send_value (int canal, double *mesg, int size)=0
 
virtual int receive_header (int canal, int *head, int size)=0
 
virtual int receive_value (int canal, double *mesg, int size)=0
 
void send_uentry (int canal, int ncalc, int size, vector< URANIE::DataServer::UEntry * > *in)
 
void to_uentry (int *isz, double *vals, std::vector< URANIE::DataServer::UEntry * > &dest)
 
void empty_uentry (TIter &next, std::vector< URANIE::DataServer::UEntry * > &dest)
 
void calcul_loop ()
 

Protected Attributes

int _sizein
 
int _sizeout
 
int _nbress
 
std::queue< element_pend
 
std::queue< int > _sleep
 
std::vector< struct element_run
 
- Protected Attributes inherited from URANIE::Relauncher::TShareRun
TEval_fun
 

Additional Inherited Members

- Public Attributes inherited from URANIE::Relauncher::TRun
Int_t _ncpus
 

Constructor & Destructor Documentation

◆ TSeparateRun()

URANIE::Relauncher::TSeparateRun::TSeparateRun ( URANIE::Relauncher::TEval r)

◆ ~TSeparateRun()

URANIE::Relauncher::TSeparateRun::~TSeparateRun ( )
virtual

Member Function Documentation

◆ calcul_loop()

◆ empty_uentry()

void URANIE::Relauncher::TSeparateRun::empty_uentry ( TIter &  next,
std::vector< URANIE::DataServer::UEntry * > &  dest 
)
protected

◆ get()

◆ put()

void URANIE::Relauncher::TSeparateRun::put ( long  ,
vector< URANIE::DataServer::UEntry * > *  in,
vector< URANIE::DataServer::UEntry * > *  out,
int  = 0 
)
virtual

◆ receive_header()

virtual int URANIE::Relauncher::TSeparateRun::receive_header ( int  canal,
int *  head,
int  size 
)
protectedpure virtual

◆ receive_value()

virtual int URANIE::Relauncher::TSeparateRun::receive_value ( int  canal,
double *  mesg,
int  size 
)
protectedpure virtual

◆ send_header()

virtual int URANIE::Relauncher::TSeparateRun::send_header ( int  canal,
int *  head,
int  size 
)
protectedpure virtual

◆ send_uentry()

void URANIE::Relauncher::TSeparateRun::send_uentry ( int  canal,
int  ncalc,
int  size,
vector< URANIE::DataServer::UEntry * > *  in 
)
protected

◆ send_value()

virtual int URANIE::Relauncher::TSeparateRun::send_value ( int  canal,
double *  mesg,
int  size 
)
protectedpure virtual

◆ startSlave()

◆ stopSlave()

void URANIE::Relauncher::TSeparateRun::stopSlave ( void  )
virtual

◆ to_uentry()

void URANIE::Relauncher::TSeparateRun::to_uentry ( int *  isz,
double *  vals,
std::vector< URANIE::DataServer::UEntry * > &  dest 
)
protected

◆ wait_service()

virtual int URANIE::Relauncher::TSeparateRun::wait_service ( )
protectedpure virtual

Member Data Documentation

◆ _nbress

int URANIE::Relauncher::TSeparateRun::_nbress
protected

◆ _pend

std::queue<element> URANIE::Relauncher::TSeparateRun::_pend
protected

Referenced by get(), and put().

◆ _run

◆ _sizein

◆ _sizeout

◆ _sleep

std::queue<int> URANIE::Relauncher::TSeparateRun::_sleep
protected