base class for asynchronous algorithms
| All Members | Constructors | Methods | Properties | Fields | Events |
| Icon | Member | Description |
|---|---|---|
| ILAsyncAlgorithm(Control) |
constructor creating a new ILAsyncAlgorithm object.
| |
| AlgorithmFunction(Object) |
this function serves as a placeholder for your derived class method wich does the actual computing
| |
| AlgorithmFunctionTryWrapper(Object) | ||
| Cancel(Int32) |
Cancel the algorithm.
| |
| CancelPending |
informs about a pending cancelation
| |
| CompileParameter()()() |
assemble parameter object i.o. to overgive to thread worker
| |
| GetResult()()() |
query algorithm result
| |
| Kill(Int32) |
Kills this algorithm thread.
| |
| m_cancelPending | ||
| m_control | ||
| m_lastMessage | ||
| m_lockObject | ||
| m_progress | ||
| m_result | ||
| m_state | ||
| m_thread | ||
| m_waitforRunning | ||
| OnAlgorithmFinished()()() |
Additionally clean up after the algorithm has finished successfully.
| |
| OnProgressChanged()()() |
Fires the ProgressChanged event.
| |
| OnStateChanged()()() |
Fires the StateChanged event.
| |
| Progress |
current progress value.
| |
| ProgressChanged |
fires if the progress of the algorithm changes
| |
| Resume()()() |
Resume algorithm
| |
| RunAsync()()() |
Start algorithm asynchronously
| |
| RunSync()()() |
Execute this algorithm and wait for finish
| |
| SetProgress(Double, String) |
Set the current progress of the algorithm.
| |
| SetResult(Object) | ||
| SetState(ILAlgorithmState) | ||
| State |
The current state of the algorithm. One out of the enumeration ILAlgorithmState.
| |
| StateChanged |
fires whenever the state of the algorithm changes
| |
| Suspend()()() |
halt the algorithm
|
the abstract class implements an asynchronous algorithm class. It
fires events for all state changes and for progress information. Algorithms
derived from this class are capable of cancelling on user rewuest and to transparently
invoke event signals in the context of a calling System.Windows.Form - even from the internal
worker thread.
| Object | |||
| ILMath | |||
| ILAsyncAlgorithm | |||
| SimpleAsyncSample | |||