TCountdownEvent¶
Declaration¶
Source position: syncobjs.pp line 178
type
TCountdownEvent = class(TSynchroObject)
public
constructor Create;
destructor Destroy;
function Signal : Boolean;
procedure AddCount;
function TryAddCount : Boolean;
procedure Reset; overload;
procedure Reset(aCount: Integer); overload;
function WaitFor : TWaitResult; overload;
property CurrentCount: Integer; {r}
property InitialCount: Integer; {r}
property IsSet: Boolean; {r}
end;
Inheritance¶
Properties¶
| Member | Visibility | Description |
|---|---|---|
| CurrentCount read only | public | |
| InitialCount read only | public | |
| IsSet read only | public |
Methods¶
| Member | Visibility | Description |
|---|---|---|
| AddCount | public | |
| Create | public | |
| Destroy | public | |
| Reset | public | |
| Signal | public | |
| TryAddCount | public | |
| WaitFor | public |