[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 71

type TFPTimerDriver = class(TObject)

protected

  FTimer: TFPCustomTimer;

public

  constructor Create(); virtual;

  

Create new driver instance

  procedure StartTimer; virtual; abstract;

  

Start the timer

  procedure StopTimer; virtual; abstract;

  

Stop the timer

  property Timer: TFPCustomTimer; [r]

  

Timer tick

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

The latest version of this document can be found at lazarus-ccr.sourceforge.net.