#include <ProcExec.hpp>
Public Member Functions |
| | ProcExec (const std::string &cmd_) |
| | ProcExec (const std::string &cmd_, const Poco::Process::Args &args_) |
| | ProcExec (const std::string &cmd_, 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 | setArgs (const Poco::Process::Args &args_) |
| Poco::Process::Args & | getArgs (void) |
| void | setEnv (const Poco::Process::Env &env_) |
| Poco::Process::Env & | getEnv (void) |
| | ExecBase (const std::string &cmd_) |
| virtual | ~ExecBase () |
| void | setCmd (const std::string &cmd_) |
| std::string | getCmd (void) const |
| bool | isError (void) const |
Additional Inherited Members |
| std::string | cmd |
| bool | _IsError |
Detailed Description
Definition at line 23 of file ProcExec.hpp.
Constructor & Destructor Documentation
| ProcExec::ProcExec |
( |
const std::string & |
cmd_ | ) |
|
|
explicit |
| ProcExec::ProcExec |
( |
const std::string & |
cmd_, |
|
|
const Poco::Process::Args & |
args_ |
|
) |
| |
| ProcExec::ProcExec |
( |
const std::string & |
cmd_, |
|
|
const Poco::Process::Args & |
args_, |
|
|
const Poco::Process::Env & |
env_ |
|
) |
| |
| virtual ProcExec::~ProcExec |
( |
void |
| ) |
|
|
inlinevirtual |
Member Function Documentation
| bool ProcExec::exec |
( |
std::ostream & |
os = std::cout, |
|
|
std::ostream & |
es = std::cerr |
|
) |
| |
|
virtual |
| Poco::Process::Args& ProcExec::getArgs |
( |
void |
| ) |
|
|
inline |
| Poco::Process::Env& ProcExec::getEnv |
( |
void |
| ) |
|
|
inline |
| void ProcExec::setArgs |
( |
const Poco::Process::Args & |
args_ | ) |
|
|
inline |
| void ProcExec::setEnv |
( |
const Poco::Process::Env & |
env_ | ) |
|
|
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: