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 42aabce1bb Logtalk 2.30.7 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1973 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-06 01:50:09 +00:00

25 lines
953 B
Plaintext

================================================================
Logtalk - Open source object-oriented logic programming language
Release 2.30.7
Copyright (c) 1998-2007 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.