JCL Help:TJclThreadPersistent

From Project JEDI Wiki
Jump to navigationJump to search

Class Hierarchy

TJclThreadPersistent
|
TJclCustomMap


Summary

Ancestor class for TJclBitmap32.


Pascal

 public TJclThreadPersistent = class(TPersistent);


Description

TJclThreadPersistent extends the standard TPersistent class with the thread-safe locking and declares change notification events.
The locking provides means of synchronization of simultaneous access to the same resource in applications with multiple threads and it works similar to that in TCanvas class. For additional information, see Delphi documentation on TCanvas.
This class also declares change notification abilities. That is, it provides methods and events allowing it descendants to issue notification on their changes. For example, TJclBitmap32 uses OnChange to notify its container that it was modified and its data has to be repainted to the screen. TJclThreadPersistent, however, does not use or implement automatic change notification itself. This is done in descendants.


About

Unit

JclGraphics


Navigation

Donator

Alex Denissov


Platforms

VCL


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page