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 80c28e1507 Logtalk 2.25.1 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1357 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-08-08 12:13:45 +00:00

25 lines
936 B
Plaintext

=================================================================
Logtalk - Object oriented extension to Prolog
Release 2.25.1
Copyright (c) 1998-2005 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.