advpascalutils
1.0.0
AdvPascalUtils is a library of some useful patterns and complex data structures implemented for FreePascal and Delphi.
Library is tested for
Get the sources and add the source directory to the project search path. For FPC add the source directory to the fpc.cfg file.
Clone the repository git clone https://github.com/isemenkov/advpascalutils
.
Add the unit you want to use to the uses
clause.
TActionManager is advanced version of TEventManager mechanism for subscribe and fire events.
uses
advutils.action;
type
TActionManager = class
More details read on wiki page.
TEventManager is a implementation of observer pattern. You can subscribe for events and by using event manager later fire different types of events.
uses
advutils.event;
type
TEventManager = class
More details read on wiki page.