Declaration¶
Source position: fptimer.pp line 111
type
TFPTimerDriver = class(TObject)
public
constructor Create;
procedure StartTimer;
procedure StopTimer;
property Timer: TFPCustomTimer; {r}
property TimerStarted: Boolean; {r}
end;
Inheritance¶
Description¶
TFPTimerDriver is the abstract timer driver class: it simply provides an interface for the TFPCustomTimer class to use.
The fpTimer unit implements a descendent of this class which implements the default timer mechanism.
Properties¶
| Member | Visibility | Description |
|---|---|---|
| Timer read only | public | Timer tick. |
| TimerStarted read only | public | True when the timer driver has called its StartTimer method. |
Methods¶
| Member | Visibility | Description |
|---|---|---|
| Create | public | Creates a new driver instance. |
| StartTimer | public | Start the timer. |
| StopTimer | public | Stop the timer. |
See also¶
| Name | Description |
|---|---|
| TFPCustomTimer | Custom timer class. |
| DefaultTimerDriverClass | Actual timer class to be used. |