Class TCustomStateDevice
Unit
PXL.Devices
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
Methods
Properties
Description
Fields
 |
FInitialized: Boolean; |
|
Current device initialization status.
|
Methods
 |
function Initialize: Boolean; virtual; |
|
Initializes the device and puts it into working state.
|
 |
function InitDevice: Boolean; virtual; |
|
This method should be implemented by derived classes to initialize implementation specific resources.
|
 |
procedure Finalize; virtual; |
|
Finalizes the device, releasing all its resources and handles.
|
 |
procedure DoneDevice; virtual; |
|
This method should be implemented by derived classes to release implementation specific resources.
|
Properties
 |
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.
|