#include <child_process.h>
|
| child_process (const std::string &name) |
|
| ~child_process () |
|
void | write (const std::string &s) const |
|
std::string | read () const |
| Read output from the child process. This is a blocking call.
|
|
std::string | read (const std::chrono::microseconds &timeout) const |
| Read output from the child process. If no output is available before the timeout happens, a SIGINT signal is sent to the child process and the resulting output is read and returned. NOTE: this function is not on Windows, and behaves like read()
|
|
Definition at line 23 of file child_process.h.
◆ child_process()
mcrl2::smt::child_process::child_process |
( |
const std::string & |
name | ) |
|
|
inline |
◆ ~child_process()
mcrl2::smt::child_process::~child_process |
( |
| ) |
|
◆ initialize()
void mcrl2::smt::child_process::initialize |
( |
| ) |
|
|
protected |
◆ read() [1/2]
std::string mcrl2::smt::child_process::read |
( |
| ) |
const |
Read output from the child process. This is a blocking call.
Definition at line 189 of file child_process.cpp.
◆ read() [2/2]
std::string mcrl2::smt::child_process::read |
( |
const std::chrono::microseconds & |
timeout | ) |
const |
Read output from the child process. If no output is available before the timeout happens, a SIGINT signal is sent to the child process and the resulting output is read and returned. NOTE: this function is not on Windows, and behaves like read()
Definition at line 211 of file child_process.cpp.
◆ send_sigint()
void mcrl2::smt::child_process::send_sigint |
( |
| ) |
const |
|
protected |
◆ write()
void mcrl2::smt::child_process::write |
( |
const std::string & |
s | ) |
const |
◆ m_name
std::string mcrl2::smt::child_process::m_name |
|
protected |
◆ m_pimpl
std::shared_ptr<platform_impl> mcrl2::smt::child_process::m_pimpl |
|
protected |
The documentation for this class was generated from the following files: