[Overview][Types][Classes][Variables][Index] | Reference for unit 'fptimer' (#fcl)

# TFPTimerDriver

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Abstract driver class

## Declaration

Source position: fptimer.pp line 104

`type TFPTimerDriver = class(TObject)`
`public`
`constructor Create(); virtual;` |  | Creates a new driver instance
`procedure StartTimer; virtual; abstract;` |  | Start the timer
`procedure StopTimer; virtual; abstract;` |  | Stop the timer
`property Timer: TFPCustomTimer; [r]` |  | Timer tick
`property TimerStarted: Boolean; [r]` |  | True when the timer driver has called its StartTimer method
`end;`

## Inheritance

`TFPTimerDriver` |  | Abstract driver class
`TObject`

## 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.

## See also

TFPCustomTimer |  | Custom timer class
DefaultTimerDriverClass |  | Actual timer class to be used