hce-node application  1.4.3
HCE Hierarchical Cluster Engine node application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
HCE::Process Class Reference

#include <Process.hpp>

Public Types

typedef std::function< void(pid_t)> CallbackFunction

Static Public Member Functions

static ProcessHandle launch (const std::string &command, const Poco::Process::Args &args, const std::string &initialDirectory, std::istream &in, std::ostream &out, std::ostream &err, const Poco::Process::Env &env, CallbackFunction fn)
static ProcessHandle launch (const std::string &command, const Poco::Process::Args &args, const std::string &initialDirectory, std::istream &in, std::ostream &out, std::ostream &err, const Poco::Process::Env &env)
static ProcessHandle launch (const std::string &command, const Poco::Process::Args &args, std::istream &in, std::ostream &out, std::ostream &err, const Poco::Process::Env &env)
static ProcessHandle launch (const std::string &command, const Poco::Process::Args &args, const std::string &initialDirectory, std::istream &in, std::ostream &out, std::ostream &err)
static ProcessHandle launch (const std::string &command, const Poco::Process::Args &args, std::istream &in, std::ostream &out, std::ostream &err)
static ProcessHandle launch (const std::string &command, const Poco::Process::Args &args, const std::string &initialDirectory)
static ProcessHandle launch (const std::string &command, const Poco::Process::Args &args)
static void requestKill (ProcessHandle &handle, unsigned int signum)
static void requestKill (pid_t pid, unsigned int signum)
static void requestKill (ProcessHandle &handle)
static void requestKill (pid_t pid)
static void requestTermination (ProcessHandle &handle)
static void requestTermination (pid_t pid)
static std::string processStatus (ProcessHandle &handle)
static std::string processStatus (pid_t pid)
static ProcessHandle processParent (ProcessHandle &handle)
static ProcessHandle processParent (pid_t pid)
static bool isExistProcess (ProcessHandle &handle)
static bool isExistProcess (pid_t pid)
static pid_t id (void)

Detailed Description

Definition at line 38 of file Process.hpp.

Member Typedef Documentation

typedef std::function<void(pid_t)> HCE::Process::CallbackFunction

Definition at line 41 of file Process.hpp.

Member Function Documentation

pid_t HCE::Process::id ( void  )
static

Definition at line 274 of file Process.cpp.

Here is the caller graph for this function:

bool HCE::Process::isExistProcess ( ProcessHandle handle)
static

Definition at line 253 of file Process.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool HCE::Process::isExistProcess ( pid_t  pid)
static

Definition at line 258 of file Process.cpp.

ProcessHandle HCE::Process::launch ( const std::string &  command,
const Poco::Process::Args &  args,
const std::string &  initialDirectory,
std::istream &  in,
std::ostream &  out,
std::ostream &  err,
const Poco::Process::Env &  env,
CallbackFunction  fn 
)
static

Definition at line 33 of file Process.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

ProcessHandle HCE::Process::launch ( const std::string &  command,
const Poco::Process::Args &  args,
const std::string &  initialDirectory,
std::istream &  in,
std::ostream &  out,
std::ostream &  err,
const Poco::Process::Env &  env 
)
static

Definition at line 280 of file Process.cpp.

Here is the call graph for this function:

ProcessHandle HCE::Process::launch ( const std::string &  command,
const Poco::Process::Args &  args,
std::istream &  in,
std::ostream &  out,
std::ostream &  err,
const Poco::Process::Env &  env 
)
static

Definition at line 286 of file Process.cpp.

Here is the call graph for this function:

ProcessHandle HCE::Process::launch ( const std::string &  command,
const Poco::Process::Args &  args,
const std::string &  initialDirectory,
std::istream &  in,
std::ostream &  out,
std::ostream &  err 
)
static

Definition at line 293 of file Process.cpp.

Here is the call graph for this function:

ProcessHandle HCE::Process::launch ( const std::string &  command,
const Poco::Process::Args &  args,
std::istream &  in,
std::ostream &  out,
std::ostream &  err 
)
static

Definition at line 300 of file Process.cpp.

Here is the call graph for this function:

ProcessHandle HCE::Process::launch ( const std::string &  command,
const Poco::Process::Args &  args,
const std::string &  initialDirectory 
)
static

Definition at line 307 of file Process.cpp.

Here is the call graph for this function:

ProcessHandle HCE::Process::launch ( const std::string &  command,
const Poco::Process::Args &  args 
)
static

Definition at line 313 of file Process.cpp.

Here is the call graph for this function:

ProcessHandle HCE::Process::processParent ( ProcessHandle handle)
static

Definition at line 220 of file Process.cpp.

Here is the call graph for this function:

ProcessHandle HCE::Process::processParent ( pid_t  pid)
static

Definition at line 225 of file Process.cpp.

std::string HCE::Process::processStatus ( ProcessHandle handle)
static

Definition at line 192 of file Process.cpp.

Here is the call graph for this function:

std::string HCE::Process::processStatus ( pid_t  pid)
static

Definition at line 197 of file Process.cpp.

void HCE::Process::requestKill ( ProcessHandle handle,
unsigned int  signum 
)
static

Definition at line 159 of file Process.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void HCE::Process::requestKill ( pid_t  pid,
unsigned int  signum 
)
static

Definition at line 164 of file Process.cpp.

void HCE::Process::requestKill ( ProcessHandle handle)
static

Definition at line 172 of file Process.cpp.

Here is the call graph for this function:

void HCE::Process::requestKill ( pid_t  pid)
static

Definition at line 177 of file Process.cpp.

Here is the call graph for this function:

void HCE::Process::requestTermination ( ProcessHandle handle)
static

Definition at line 182 of file Process.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void HCE::Process::requestTermination ( pid_t  pid)
static

Definition at line 187 of file Process.cpp.

Here is the call graph for this function:


The documentation for this class was generated from the following files: