| FRunnable | ||
| FSingleThreadRunnable
|
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Misc/MonitoredProcess.h |
Include |
#include "Misc/MonitoredProcess.h" |
class FMonitoredProcess :
public FRunnable,
private FSingleThreadRunnable
Implements an external process that can be monitored.
Name | Description | |
---|---|---|
|
FMonitoredProcess |
Creates a new monitored process. |
|
FMonitoredProcess |
Creates a new monitored process. |
Name | Description | |
---|---|---|
|
~FMonitoredProcess() |
Destructor. |
Name | Description | ||
---|---|---|---|
|
Cancel ( |
Cancels the process. |
|
|
GetDuration() |
Gets the duration of time that the task has been running. |
|
|
GetProcessHandle() |
Gets the Process Handle. The instance can be invalid if the process was not created. |
|
|
int |
GetReturnCode() |
Returns the return code from the exited process |
|
Launch() |
Launches the process. |
|
|
FSimpleDeleg... |
OnCanceled() |
Returns a delegate that is executed when the process has been canceled. |
|
FOnMonitored... |
OnCompleted() |
Returns a delegate that is executed when a monitored process completed. |
|
FOnMonitored... |
OnOutput() |
Returns a delegate that is executed when a monitored process produces output. |
|
ProcessOutput ( |
Processes the given output string. |
|
|
SetSleepInterval ( |
Sets the sleep interval to be used in the main thread loop. |
|
|
Update() |
Checks whether the process is still running. |
Name | Description | ||
---|---|---|---|
|
Exit() |
Exits the runnable object. |
|
|
FSingleThrea... |
GetSingleThreadInterface() |
Gets single thread interface pointer used for ticking this runnable when multi-threading is disabled. |
|
Init() |
Initializes the runnable object. |
|
|
Run() |
Runs the runnable object. |
|
|
Stop() |
Stops the runnable object. This is called if a thread is requested to terminate early. |
Name | Description | ||
---|---|---|---|
|
Tick() |
FSingleThreadRunnable interface |