TTaskGroup
A group of tasks that is considered as one logical unit.
Inheritance
Level | Ancestor | Description |
---|---|---|
1 | TObject | Ultimate ancestor in a class hierarchy |
2 | TBaseObject | A base class for objects that can be used instead of TObject . |
3 | TReferenceCountedObject | Object that keeps track of the number of times it is referenced from other objects |
4 | TTaskNode | Abstract base class for a node in a hierarchy of tasks and task groups |
5 | TTaskGroup |
Source
Task.Group.pas (45)
Description
Tasks can be dependent on other tasks that are registered in the same group, which means that those tasks will be executed only when the tasks on which they are dependent have finished first.
Fields
Scope | Visibility | Type | Name | Description |
---|---|---|---|---|
Instance | private | TList<TTaskRegistration> | FTasks | |
Instance | private | TGregorianInstant | FStopAfter | |
Instance | public | TText | Name |
Methods
Scope | Visibility | Result | Name | Description |
---|---|---|---|---|
Instance | private | SetStopAfter(Value: TGregorianInstant) | ||
Instance | public | Create() | ||
Instance | public | Destroy() | ||
Instance | public | TTaskRegistration | Register(Task: TTask) | |
Instance | public | TText | ToText() |