#include <posixprocess.h>
Inherits Base::Process.
|
static bool | CheckIfExists (const IO::URI &program) |
| Detect if an instance of a given process is running.
|
|
|
void | CleanUp () const |
| cleanup all pipes
|
|
◆ PosixProcess()
Posix::PosixProcess::PosixProcess |
( |
| ) |
|
◆ CheckIfExists() [1/2]
bool Posix::PosixProcess::CheckIfExists |
( |
| ) |
|
|
virtual |
Detect if an instance of the process is already running.
Implements Base::Process.
◆ CheckIfExists() [2/2]
bool Posix::PosixProcess::CheckIfExists |
( |
const IO::URI & | program | ) |
|
|
static |
Detect if an instance of a given process is running.
◆ CleanUp()
void Posix::PosixProcess::CleanUp |
( |
| ) |
const |
|
private |
◆ IsRunning()
bool Posix::PosixProcess::IsRunning |
( |
| ) |
|
|
virtual |
Gets the state of application. Call this per frame.
Gets the state of the application.
Implements Base::Process.
◆ Launch()
bool Posix::PosixProcess::Launch |
( |
| ) |
|
|
virtual |
launch application (returns immediately)
Launch the application process and returns immediately.
The state of the launched process can be checked by calling IsRunning().
Implements Base::Process.
◆ LaunchWait()
bool Posix::PosixProcess::LaunchWait |
( |
| ) |
const |
|
virtual |
launch application and wait for its termination
Implements Base::Process.
◆ UpdateStdoutStream()
void Posix::PosixProcess::UpdateStdoutStream |
( |
| ) |
|
|
virtual |
Read data from the captured stdout and writes it to the stream.
Reads all arrived data from stdout since the last call of this method and puts it to the stream.
Implements Base::Process.
◆ errPipe
int Posix::PosixProcess::errPipe |
|
private |
◆ inPipe
int Posix::PosixProcess::inPipe |
|
private |
◆ outPipe
int Posix::PosixProcess::outPipe |
|
private |
◆ pid
pid_t Posix::PosixProcess::pid |
|
private |
The documentation for this class was generated from the following files: