TTaskGroup

A group of tasks that is considered as one logical unit.

Inheritance

LevelAncestorDescription
1TObjectUltimate ancestor in a class hierarchy
2TBaseObjectA base class for objects that can be used instead of TObject.
3TReferenceCountedObjectObject that keeps track of the number of times it is referenced from other objects
4TTaskNodeAbstract base class for a node in a hierarchy of tasks and task groups
5TTaskGroup

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

ScopeVisibilityTypeNameDescription
InstanceprivateTList<TTaskRegistration>FTasks
InstanceprivateTGregorianInstantFStopAfter
InstancepublicTTextName

Methods

ScopeVisibilityResultNameDescription
InstanceprivateSetStopAfter(Value: TGregorianInstant)
InstancepublicCreate()
InstancepublicDestroy()
InstancepublicTTaskRegistrationRegister(Task: TTask)
InstancepublicTTextToText()