TRecurringTaskExecutionThread
Executes a
TTask
recurringly.Inheritance
Level | Ancestor | Description |
---|---|---|
1 | TObject | Ultimate ancestor in a class hierarchy |
2 | TWaitableObject | Ahstract base class for an object that can be waited for using WaitFor |
3 | TThread | Abstract base class for a single thread of execution |
4 | TRecurringTaskExecutionThread |
Source
Task.Execution.Thread.Recurring.pas (32)
Description
Interval
denotes the time (in milliseconds) between completion of the task and starting the task another time.
Fields
Scope | Visibility | Type | Name | Description |
---|---|---|---|---|
Instance | private | TScheduledTask | FTask | |
Instance | private | TInteger32 | FInterval | |
Instance | protected | TThreadEvent | TerminationEvent | |
Instance | public | TWaitableQueue<TEvent> | StatusQueue |
Methods
Scope | Visibility | Result | Name | Description |
---|---|---|---|---|
Instance | private | SetTask(Value: TScheduledTask) | ||
Instance | protected | Execute() | ||
Instance | public | Create(Task: TScheduledTask; Interval: TInteger32) | ||
Instance | public | Destroy() | ||
Instance | public | Terminate() |