Home Units Hierarchy Routines All identifiers

Class unaAbstractTimer

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type unaAbstractTimer = class(unaObject)

Description

This is an abstract timer. Do not create instances of this class.

Hierarchy

Overview

Methods

Public constructor create(interval: unsigned = 1000);
Public function enter(timeout: tTimeout): bool;
Public function isRunning(): bool;
Protected function doStart(): bool; virtual; abstract;
Public procedure AfterConstruction(); override;
Public procedure BeforeDestruction(); override;
Public procedure leave();
Public procedure pause();
Public procedure resume();
Public procedure start();
Public procedure stop();
Protected procedure changeInterval(var newValue: unsigned); virtual;
Protected procedure doStop(); virtual;
Protected procedure doTimer();
Protected procedure timer(); virtual;

Properties

Public property interval: unsigned read f_interval write doSetInterval;
Public property onTimer: onTimerEvent read f_onTimerEvent write f_onTimerEvent;

Description

Methods

Public constructor create(interval: unsigned = 1000);
 
Public function enter(timeout: tTimeout): bool;
 
Public function isRunning(): bool;
 
Protected function doStart(): bool; virtual; abstract;
 
Public procedure AfterConstruction(); override;
 
Public procedure BeforeDestruction(); override;
 
Public procedure leave();
 
Public procedure pause();
 
Public procedure resume();
 
Public procedure start();
 
Public procedure stop();
 
Protected procedure changeInterval(var newValue: unsigned); virtual;
 
Protected procedure doStop(); virtual;
 
Protected procedure doTimer();
 
Protected procedure timer(); virtual;
 

Properties

Public property interval: unsigned read f_interval write doSetInterval;
 
Public property onTimer: onTimerEvent read f_onTimerEvent write f_onTimerEvent;
 

(c) 2012 Lake of Soft


Generated by PasDoc 0.12.1 on 2012-10-09