This is the documentation for Enlighten.
Class for handling a long running external process.
Name | Description |
---|---|
Cancel() | Cancels the running process. |
CheckComplete() | Checks if the process has completed or not. |
GetRetCode() | Gets the return code of the process. Must have completed. |
PrecomputeProcess() | Constructor. |
Start(const Geo::GeoFileString &) | Start a new long running process with the given commandline. |
Wait() | Blocks until the process is complete. |
public: void Cancel()
Cancels the running process.
public: bool CheckComplete()
Checks if the process has completed or not.
true if the process has completed, false if it is still running.
public: Geo::s32 GetRetCode() const
Gets the return code of the process. Must have completed.
public: PrecomputeProcess()
Constructor.
public: bool Start
(
const Geo::GeoFileString & commandline
)
Start a new long running process with the given commandline.
Uses Win32 'Jobs' to allow the entire process tree spawned by the precompute to be killed.
true if the process is already complete, false if it is running.
public: void Wait()
Blocks until the process is complete.