[fpc-devel] Recent added support for Observer pattern in FCL

Hans-Peter Diettrich DrDiettrich1 at aol.com
Wed Aug 29 01:27:51 CEST 2012

Luiz Americo Pereira Camara schrieb:

> This is the purpose i intend to use (replace my implementation). 
> Basically is a tree structure that needs to be observed. To avoid 
> performance problems like having to parse all the tree when a change 
> occurs i defined actions when a Child is added, deleted or inserted.

Why not create dedicated TObservedTree and TTreeObserver classes, which 
work together?

This would allow for whatever kind of notifications required in a 
certain tree model, without any impact on the basic tree class.


More information about the fpc-devel mailing list