Class TCustomStateDevice

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TCustomStateDevice = class(TCustomDevice)

Description

A more elaborated hardware device wrapper that can have working state so it needs to be initialized before any rendering can take place.

Hierarchy

Overview

Fields

Protected FInitialized: Boolean;

Methods

Public function Initialize: Boolean; virtual;
Protected function InitDevice: Boolean; virtual;
Public procedure Finalize; virtual;
Protected procedure DoneDevice; virtual;

Properties

Public property Initialized: Boolean read FInitialized;

Description

Fields

Protected FInitialized: Boolean;

Current device initialization status.

Methods

Public function Initialize: Boolean; virtual;

Initializes the device and puts it into working state.

Protected function InitDevice: Boolean; virtual;

This method should be implemented by derived classes to initialize implementation specific resources.

Public procedure Finalize; virtual;

Finalizes the device, releasing all its resources and handles.

Protected procedure DoneDevice; virtual;

This method should be implemented by derived classes to release implementation specific resources.

Properties

Public property Initialized: Boolean read FInitialized;

Indicates whether the device has been initialized and is now in working state.


Copyright © 2000 - 2017 Yuriy Kotsarenko. Help files generated by PasDoc.