Async task interface.
Class for tasks that the HLRT executes via an async work callback. This is included for backwards compatibility, and has been superseded by IThreadGroup. Since there is now only one type of task it is a concrete class, but retains the name IAsyncTask for historical reasons.
Name | Description |
---|---|
DoWork() | Callback function which is called to execute the asynchronous task. |
Reset() | Reset the task event. |
SetTaskProcessor(TaskProcessor *) | Set the task processor object. |
Wait() | Wait on the task event. |
public: void DoWork()
Callback function which is called to execute the asynchronous task.
public: void Reset()
Reset the task event.
public: void SetTaskProcessor
(
TaskProcessor * taskProcessor
)
Set the task processor object.
public: void Wait()
Wait on the task event.