Skip to content

Reference for unit 'fpObserver'

Observer pattern implementation for Free Pascal

uses

Used units Description
System
Classes
sysutils
TypInfo
Contnrs Various general purpose classes: stack, queue, objectlists.

Overview

The fpobserver unit provides a complete implementation of the Observer pattern for Free Pascal applications. It includes classes and interfaces for creating observable objects that can notify multiple observers when their state changes.

The unit contains the TObservedHook class for adding observer support to any object, the TBaseMediator hierarchy for automatic data binding between model and view objects, and mediator management classes for registering and finding appropriate mediators.