This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/Logtalk/library/events.notes
pmoura 6f6f67b07f Logtalk 2.22.3 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1220 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-12-30 00:35:38 +00:00

25 lines
936 B
Plaintext

=================================================================
Logtalk - Object oriented extension to Prolog
Release 2.22.3
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
=================================================================
To load all entities in this library load the events_loader.lgt utility
file:
| ?- logtalk_load(events_loader).
The objects event_registry, before_event_registry, and after_event_registry
implement convenient predicates for registering before and after events.
The protocol event_handlersp declares the two basic event handler predicates
(before/3 and after/3). You will need to refer this protocol in your objects
if you want to use the super control structure (^^/1) with these predicates.
The monitor object implements more sophisticated event handling predicates.
Some of the objects assume that the chosen Prolog compiler defines the
usual sort/2 built-in predicate.