Phoxonics
1.0
Object Oriented FDTD Software
|
Public Member Functions | |
Command () | |
virtual | ~Command () |
std::string | execute_command (char *cmd) |
Executes a shell command. More... | |
Additional Inherited Members | |
![]() | |
typedef Formatter | fmt_ |
![]() | |
CommonBase () | |
virtual | ~CommonBase () |
![]() | |
Logger | log_ |
phoxonics::common::Command::Command | ( | ) |
References phoxonics::common::CommonBase::log_, and phoxonics::common::Logger::log_trac().
|
virtual |
References phoxonics::common::CommonBase::log_, and phoxonics::common::Logger::log_trac().
std::string phoxonics::common::Command::execute_command | ( | char * | cmd | ) |
Executes a shell command.
cmd | The command to execute |
This method executes a bash command using a pipe and a buffer to capture the result of the execution, then return the execution to client code.
References phoxonics::common::CommonBase::log_, and phoxonics::common::Logger::log_trac().
Referenced by phoxonics::common::Utilities::get_new_unique_id().