#include <ProcExec.hpp>
Public Member Functions |
| ProcExec (const std::string &command_) |
| ProcExec (const std::string &command_, const Poco::Process::Args &args_) |
| ProcExec (const std::string &command_, const Poco::Process::Args &args_, const Poco::Process::Env &env_) |
virtual | ~ProcExec (void) |
bool | exec (std::ostream &os=std::cout, std::ostream &es=std::cerr) |
void | setCommand (const std::string &command_) |
std::string | getCommand (void) const |
void | setArgs (const Poco::Process::Args &args_) |
Poco::Process::Args & | getArgs (void) |
void | setEnv (const Poco::Process::Env &env_) |
Poco::Process::Env & | getEnv (void) |
void | setInitialDirectory (const std::string &initialDirectory_) |
std::string | getInitialDirectory (void) const |
bool | isError (void) const |
unsigned int | getExitStatus (void) const |
Detailed Description
Definition at line 23 of file ProcExec.hpp.
Constructor & Destructor Documentation
HCE::ProcExec::ProcExec |
( |
const std::string & |
command_ | ) |
|
|
explicit |
HCE::ProcExec::ProcExec |
( |
const std::string & |
command_, |
|
|
const Poco::Process::Args & |
args_ |
|
) |
| |
HCE::ProcExec::ProcExec |
( |
const std::string & |
command_, |
|
|
const Poco::Process::Args & |
args_, |
|
|
const Poco::Process::Env & |
env_ |
|
) |
| |
virtual HCE::ProcExec::~ProcExec |
( |
void |
| ) |
|
|
inlinevirtual |
Member Function Documentation
bool HCE::ProcExec::exec |
( |
std::ostream & |
os = std::cout , |
|
|
std::ostream & |
es = std::cerr |
|
) |
| |
Poco::Process::Args& HCE::ProcExec::getArgs |
( |
void |
| ) |
|
|
inline |
std::string HCE::ProcExec::getCommand |
( |
void |
| ) |
const |
|
inline |
Poco::Process::Env& HCE::ProcExec::getEnv |
( |
void |
| ) |
|
|
inline |
unsigned int HCE::ProcExec::getExitStatus |
( |
void |
| ) |
const |
|
inline |
std::string HCE::ProcExec::getInitialDirectory |
( |
void |
| ) |
const |
|
inline |
bool HCE::ProcExec::isError |
( |
void |
| ) |
const |
|
inline |
void HCE::ProcExec::setArgs |
( |
const Poco::Process::Args & |
args_ | ) |
|
|
inline |
void HCE::ProcExec::setCommand |
( |
const std::string & |
command_ | ) |
|
|
inline |
void HCE::ProcExec::setEnv |
( |
const Poco::Process::Env & |
env_ | ) |
|
|
inline |
void HCE::ProcExec::setInitialDirectory |
( |
const std::string & |
initialDirectory_ | ) |
|
|
inline |
Friends And Related Function Documentation
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const ProcExec & |
procExec |
|
) |
| |
|
friend |
std::string& operator<< |
( |
std::string & |
str, |
|
|
const ProcExec & |
procExec |
|
) |
| |
|
friend |
The documentation for this class was generated from the following files: