Sample class for user defined asynchronous algorithm
| C# | Visual Basic | Visual C++ |
public class SimpleAsyncSample : ILAsyncAlgorithm
Public Class SimpleAsyncSample _ Inherits ILAsyncAlgorithm
public ref class SimpleAsyncSample : public ILAsyncAlgorithm
| All Members | Constructors | Methods | Properties | Fields | Events |
| Icon | Member | Description |
|---|---|---|
| SimpleAsyncSample(Control, Double, Int32, ILArray<(Of <(Double>)>)) | ||
| AlgorithmFunction(Object) | (Overrides ILAsyncAlgorithm.AlgorithmFunction(Object).) | |
| AlgorithmFunctionTryWrapper(Object) | (Inherited from ILAsyncAlgorithm.) | |
| Cancel(Int32) |
Cancel the algorithm.
(Inherited from ILAsyncAlgorithm.) | |
| CancelPending |
informs about a pending cancelation
(Inherited from ILAsyncAlgorithm.) | |
| CompileParameter()()() | (Overrides ILAsyncAlgorithm.CompileParameter()()().) | |
| GetResult()()() |
query algorithm result
(Inherited from ILAsyncAlgorithm.) | |
| Kill(Int32) |
Kills this algorithm thread.
(Inherited from ILAsyncAlgorithm.) | |
| m_cancelPending | (Inherited from ILAsyncAlgorithm.) | |
| m_control | (Inherited from ILAsyncAlgorithm.) | |
| m_inputParameter | ||
| m_lastMessage | (Inherited from ILAsyncAlgorithm.) | |
| m_lockObject | (Inherited from ILAsyncAlgorithm.) | |
| m_progress | (Inherited from ILAsyncAlgorithm.) | |
| m_result | (Inherited from ILAsyncAlgorithm.) | |
| m_state | (Inherited from ILAsyncAlgorithm.) | |
| m_thread | (Inherited from ILAsyncAlgorithm.) | |
| m_waitforRunning | (Inherited from ILAsyncAlgorithm.) | |
| OnAlgorithmFinished()()() |
Additionally clean up after the algorithm has finished successfully.
(Inherited from ILAsyncAlgorithm.) | |
| OnProgressChanged()()() |
Fires the ProgressChanged event.
(Inherited from ILAsyncAlgorithm.) | |
| OnStateChanged()()() |
Fires the StateChanged event.
(Inherited from ILAsyncAlgorithm.) | |
| Progress |
current progress value.
(Inherited from ILAsyncAlgorithm.) | |
| ProgressChanged |
fires if the progress of the algorithm changes
(Inherited from ILAsyncAlgorithm.) | |
| Result | ||
| Resume()()() |
Resume algorithm
(Inherited from ILAsyncAlgorithm.) | |
| RunAsync()()() |
Start algorithm asynchronously
(Inherited from ILAsyncAlgorithm.) | |
| RunSync()()() |
Execute this algorithm and wait for finish
(Inherited from ILAsyncAlgorithm.) | |
| SetProgress(Double, String) |
Set the current progress of the algorithm.
(Inherited from ILAsyncAlgorithm.) | |
| SetResult(Object) | (Inherited from ILAsyncAlgorithm.) | |
| SetState(ILAlgorithmState) | (Inherited from ILAsyncAlgorithm.) | |
| State |
The current state of the algorithm. One out of the enumeration ILAlgorithmState.
(Inherited from ILAsyncAlgorithm.) | |
| StateChanged |
fires whenever the state of the algorithm changes
(Inherited from ILAsyncAlgorithm.) | |
| Suspend()()() |
halt the algorithm
(Inherited from ILAsyncAlgorithm.) |
| Object | |||
| ILMath | |||
| ILAsyncAlgorithm | |||
| SimpleAsyncSample | |||