src/app/netschedule/remote_app/exec_helpers.cpp File Reference

#include <ncbi_pch.hpp>
#include <corelib/ncbistre.hpp>
#include <corelib/stream_utils.hpp>
#include <corelib/ncbifile.hpp>
#include <corelib/ncbireg.hpp>
#include <corelib/ncbi_system.hpp>
#include <corelib/rwstream.hpp>
#include <connect/ncbi_pipe.hpp>
#include <connect/services/grid_worker.hpp>
#include "exec_helpers.hpp"

Include dependency graph for exec_helpers.cpp:

Go to the source code of this file.

Classes

struct  STmpDirGuard
class  CPipeProcessWatcher_Base
class  CRAMonitor
class  CPipeProcessWatcher
class  CTmpStreamGuard

Functions

bool CanExecRemoteApp (const CFile &file)
bool ExecRemoteApp (const string &cmd, const vector< string > &args, CNcbiIstream &in, CNcbiOstream &out, CNcbiOstream &err, bool cache_std_out_err, int &exit_value, CWorkerNodeJobContext &context, int max_app_running_time, int app_running_time, int keep_alive_period, const string &tmp_path, bool remove_tmp_path, const string &job_wdir, const char *const env[], const string &monitor_app, int max_monitor_running_time, int monitor_period, int kill_timeout)


Function Documentation

bool CanExecRemoteApp const CFile file  ) 
 

Definition at line 174 of file exec_helpers.cpp.

References CDirEntry::fExecute, and file.

Referenced by CRemoteAppJob::CRemoteAppJob(), and CRemoteCgiJob::CRemoteCgiJob().

bool ExecRemoteApp const string &  cmd,
const vector< string > &  args,
CNcbiIstream in,
CNcbiOstream out,
CNcbiOstream err,
bool  cache_std_out_err,
int &  exit_value,
CWorkerNodeJobContext context,
int  max_app_running_time,
int  app_running_time,
int  keep_alive_period,
const string &  tmp_path,
bool  remove_tmp_path,
const string &  job_wdir,
const char *const   env[],
const string &  monitor_app,
int  max_monitor_running_time,
int  monitor_period,
int  kill_timeout
 

Definition at line 501 of file exec_helpers.cpp.

References CPipe::eDone, CPipe::ExecWait(), auto_ptr< X >::reset(), and CPipeProcessWatcher::SetMonitor().


Generated on Mon Aug 4 08:47:34 2008 for NCBI C++ ToolKit by  doxygen 1.4.6
Modified on Mon Aug 04 16:26:05 2008 by modify_doxy.py rev. 117643