Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works
Anything · Lazarus or Delphi
Random projectRandom project

advpascalutils

AdvPascalUtils is a library of some useful patterns and complex data structures implemented for FreePascal and Delphi.

View on GitHub

Member rating

No ratings yet.

Sign in to rate this project.

README

AdvPascalUtils

AdvPascalUtils is a library of some useful patterns and complex data structures implemented for FreePascal and Delphi.

Table of contents

Requirements

Library is tested for

  • Embarcadero (R) Delphi 10.3 on Windows 7 Service Pack 1 (Version 6.1, Build 7601, 64-bit Edition)
  • Embarcadero (R) Delphi 11.0 Version 28.0.42600.6491 on Windows 10 (Version 10.0, Build 19042, 64-bit Edition)
  • FreePascal Compiler (3.2.0) and Lazarus IDE (2.0.10) on Ubuntu Linux 5.8.0-33-generic x86_64

Installation

Get the sources and add the source directory to the project search path. For FPC add the source directory to the fpc.cfg file.

Usage

Clone the repository git clone https://github.com/isemenkov/advpascalutils.

Add the unit you want to use to the uses clause.

Data structures

TActionManager

TActionManager is advanced version of TEventManager mechanism for subscribe and fire events.

pascal
uses
  advutils.action;
  
type
  TActionManager = class

More details read on wiki page.

TEventManager

TEventManager is a implementation of observer pattern. You can subscribe for events and by using event manager later fire different types of events.

pascal
uses
  advutils.event;

type
  TEventManager = class

More details read on wiki page.