You may register an observer for an ExternalProcessOutputEvent, ExternalProcessStdOutEvent or ExternalProcessStdErrEvent in order to get notified of any output.
More...
#include <mitkProcessExecutor.h>
|
int | m_ExitValue |
|
bool | m_SharedOutputPipes |
| Specifies if the child process should share the output pipes (true) or not (false). If pipes are not shared the output will be passed by invoking ExternalProcessOutputEvents. More...
|
|
You may register an observer for an ExternalProcessOutputEvent, ExternalProcessStdOutEvent or ExternalProcessStdErrEvent in order to get notified of any output.
Definition at line 67 of file mitkProcessExecutor.h.
◆ ArgumentListType
◆ ConstPointer
◆ Pointer
◆ Self
◆ Superclass
◆ ProcessExecutor()
mitk::ProcessExecutor::ProcessExecutor |
( |
| ) |
|
|
protected |
◆ ~ProcessExecutor()
mitk::ProcessExecutor::~ProcessExecutor |
( |
| ) |
|
|
overrideprotected |
◆ EnsureCorrectOSPathSeparator()
static std::string mitk::ProcessExecutor::EnsureCorrectOSPathSeparator |
( |
const std::string & |
| ) |
|
|
static |
◆ Execute() [1/2]
virtual bool mitk::ProcessExecutor::Execute |
( |
const std::string & |
executionPath, |
|
|
const ArgumentListType & |
argumentList |
|
) |
| |
|
virtual |
Executes the process. This version assumes that the executable name is the first argument in the argument list and has already been converted to its OS dependent name via the static convert function of this class.
Reimplemented in mitk::SegmentAnythingProcessExecutor.
◆ Execute() [2/2]
bool mitk::ProcessExecutor::Execute |
( |
const std::string & |
executionPath, |
|
|
const std::string & |
executableName, |
|
|
ArgumentListType & |
argumentList |
|
) |
| |
◆ GetClassName()
virtual const char* mitk::ProcessExecutor::GetClassName |
( |
| ) |
const |
|
virtual |
◆ GetExitValue()
int mitk::ProcessExecutor::GetExitValue |
( |
| ) |
|
◆ GetOSDependendExecutableName()
static std::string mitk::ProcessExecutor::GetOSDependendExecutableName |
( |
const std::string & |
name | ) |
|
|
static |
◆ GetSharedOutputPipes()
virtual bool mitk::ProcessExecutor::GetSharedOutputPipes |
( |
| ) |
const |
|
virtual |
◆ KillProcess()
void mitk::ProcessExecutor::KillProcess |
( |
| ) |
|
◆ New()
static Pointer mitk::ProcessExecutor::New |
( |
| ) |
|
|
static |
◆ SetSharedOutputPipes()
virtual void mitk::ProcessExecutor::SetSharedOutputPipes |
( |
bool |
_arg | ) |
|
|
virtual |
◆ m_ExitValue
int mitk::ProcessExecutor::m_ExitValue |
|
protected |
◆ m_SharedOutputPipes
bool mitk::ProcessExecutor::m_SharedOutputPipes |
|
protected |
Specifies if the child process should share the output pipes (true) or not (false). If pipes are not shared the output will be passed by invoking ExternalProcessOutputEvents.
Definition at line 109 of file mitkProcessExecutor.h.
The documentation for this class was generated from the following file: