root/tags/lgt290/manuals/glossary.html

Revision 2, 8.4 KB (checked in by pmoura, 7 years ago)

Initial revision

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1<!doctype html public "-//W3C//DTD HTML 4.01//EN"
2    "http://www.w3.org/TR/html4/strict.dtd">
3
4<html>
5
6<head>
7    <title>Logtalk Glossary</title>
8    <link rel=stylesheet  href="styles.css" type="text/css">
9</head>
10
11<body>
12
13<hr />
14<h1><a class="back" title="Return to index" href="index.html#glossary">Glossary</a></h1>
15<hr />
16
17<dl>
18
19<dt class="glossary"><a name="ancestor">ancestor</a></dt>
20<dd>A class or parent that contributes (via inheritance) to the definition of an object. The ancestors of an object are its class and all the superclasses of its class (in class-based hierarchies) or its parent and the ancestors of its parent (in prototype-based hierarchies).</dd>
21
22<dt class="glossary"><a name="category">category</a></dt>
23<dd>A set of predicates directives and clauses that can be imported by any object.</dd>
24
25<dt class="glossary"><a name="class">class</a></dt>
26<dd>An object that defines the common predicates of a set of objects (its instances).</dd>
27
28<dd><dl>
29
30<dt class="glossary"><a name="abstractclass">abstract class</a></dt>
31<dd>A class that can not be instantiated. Usually used to store common predicates that are inherited by other classes.</dd>
32
33<dt class="glossary"><a name="metaclass">metaclass</a></dt>
34<dd>The class of a class, when we see it as an object. Metaclass instances are themselves classes. In a reflexive system any metaclass is also an object.</dd>
35
36<dt class="glossary"><a name="subclass">subclass</a></dt>
37<dd>A class that is a specialization, direct or indirectly, of another class.</dd>
38
39<dt class="glossary"><a name="superclass">superclass</a></dt>
40<dd>A class from each another class is a specialization (direct or indirectly, via another class).</dd>
41
42</dl></dd>
43
44<dt class="glossary"><a name="directive">directive</a></dt>
45<dd>A Prolog term that affects the interpretation of Prolog code. Directives are represented using the <code>:-/1</code> prefix functor.</dd>
46
47<dd><dl>
48
49<dt class="glossary"><a name="entity_directive">entity directive</a></dt>
50<dd>A directive that affects how Logtalk entities (objects, protocols, or categories) are used or compiled.</dd>
51
52<dt class="glossary"><a name="predicate_directive">predicate directive</a></dt>
53<dd>A directive that affects how predicates are called or compiled.</dd>
54
55</dl></dd>
56
57<dt class="glossary"><a name="encapsulation">encapsulation</a></dt>
58<dd>The hiding of an object implementation. This promotes software reuse by isolating users from implementation details.</dd>
59
60<dt class="glossary"><a name="entity">entity</a></dt>
61<dd>Generic name for Logtalk compilation units: objects, categories and protocols.</dd>
62
63<dt class="glossary"><a name="event">event</a></dt>
64<dd>The sending of a message to an object. An event can be expressed as an ordered tuple: <code>(Event, Object, Message, Sender)</code>. Logtalk distinguish between the sending of a message - <code>before</code> event - and the return of control to the sender - <code>after</code> event.</dd>
65
66<dt class="glossary"><a name="identity">identity</a></dt>
67<dd>Property of an entity that distinguish it from every other entity. In Logtalk an entity identity can be an atom or a compound term. All Logtalk entities, objects, protocols and categories share the same name space.</dd>
68
69<dt class="glossary"><a name="inheritance">inheritance</a></dt>
70<dd>An object inherits predicate directives and clauses from other objects that it extends or specializes. If an object extends other object then we have a prototype-based inheritance. If an object specializes or instantiates another object we have a class-based inheritance.</dd>
71
72<dd><dl>
73
74<dt class="glossary"><a name="private_inheritance">private inheritance</a></dt>
75<dd>All public and protected predicates are inherited as private predicates.</dd>
76
77<dt class="glossary"><a name="protected_inheritance">protected inheritance</a></dt>
78<dd>All public predicates are inherited as protected. No change for protected or private predicates.</dd>
79
80<dt class="glossary"><a name="public_inheritance">public inheritance</a></dt>
81<dd>All inherited predicates maintain the declared scope.</dd>
82
83</dl></dd>
84
85<dt class="glossary"><a name="instance">instance</a></dt>
86<dd>The same as object. This term is used when we want to emphasize that an object characteristics are defined by another object (its class).</dd>
87
88<dt class="glossary"><a name="instantiation">instantiation</a></dt>
89<dd>The process of creating a new class instance.</dd>
90
91<dt class="glossary"><a name="message">message</a></dt>
92<dd>A request for a service, sent to an object. In more logical terms, a message can be seen as a request for proof construction using an object's predicates.</dd>
93
94<dt class="glossary"><a name="metainterpreter">metainterpreter</a></dt>
95<dd>A program capable of running and modifying other programs written in the same language.</dd>
96
97<dt class="glossary"><a name="method">method</a></dt>
98<dd>Set of predicate clauses used to answer a message sent to an object. Logtalk uses dynamic binding to find which method to run to answer a message.</dd>
99
100<dt class="glossary"><a name="monitor">monitor</a></dt>
101<dd>Any object that is notified when a spied event occurs. The spied events can be set by the monitor or by any other object.</dd>
102
103<dt class="glossary"><a name="object">object</a></dt>
104<dd>An entity characterized by an identity and a set of predicate directives and clauses. In Logtalk objects can be either static or dynamic, like any other Prolog code.</dd>
105
106<dd><dl>
107
108<dt class="glossary"><a name="parametric">parametric object</a></dt>
109<dd>An object whose name is a compound term containing free variables that can be used to parameterize the object predicates.</dd>
110
111</dl></dd>
112
113
114<dt class="glossary"><a name="parent">parent</a></dt>
115<dd>An object that is extended by another object.</dd>
116
117<dt class="glossary"><a name="predicate">predicate</a></dt>
118<dd>Predicates describe what is true about the application domain. A predicate is identified by its name and number of arguments using the notation <CODE>&lt;name&gt;/&lt;nargs&gt;</CODE>.</dd>
119
120<dd><dl>
121
122<dt class="glossary"><a name="local_predicate">local predicate</a></dt>
123<dd>A predicate that is defined in an object (or in a category) but that is not listed in a scope directive. These predicates behave like private predicates but are invisible to the reflection methods.</dd>
124
125<dt class="glossary"><a name="metapredicate">metapredicate</a></dt>
126<dd>A predicate where one of its arguments will be called as a goal. For instance, <code>findall/3</code> and <code>call/1</code> are Prolog built-ins metapredicates.</dd>
127
128<dt class="glossary"><a name="private_predicate">private predicate</a></dt>
129<dd>A predicate that can only be called from the object that contains the scope directive.</dd>
130
131<dt class="glossary"><a name="protected_predicate">protected predicate</a></dt>
132<dd>A predicate that can only be called from the object containing the scope directive or from an object that inherits the predicate.</dd>
133
134<dt class="glossary"><a name="public_predicate">public predicate</a></dt>
135<dd>A predicate that can be called from any object.</dd>
136
137<dt class="glossary"><a name="visible_predicate">visible predicate</a></dt>
138<dd>A predicate that is declared for an object, a built-in method, or a Prolog or Logtalk built-in predicate.</dd>
139
140</dl></dd>
141
142<dt class="glossary"><a name="profiler">profiler</a></dt>
143<dd>A program that collects data about other program performance.</dd>
144
145<dt class="glossary"><a name="protocol">protocol</a></dt>
146<dd>A set of predicates directives that can be implemented by an object or a category (or extended by another protocol).</dd>
147
148<dt class="glossary"><a name="protocol">prototype</a></dt>
149<dd>A self-describing object that may extend or be extended by other objects.</dd>
150
151<dt class="glossary"><a name="self">self</a></dt>
152<dd>The original object that received the message under execution.</dd>
153
154<dt class="glossary"><a name="sender">sender</a></dt>
155<dd>An object that sends a message to other object.</dd>
156
157<dt class="glossary"><a name="specialization">specialization</a></dt>
158<dd>A class is specialized by constructing a new class that inherit its predicates and possibly add new ones.</dd>
159
160<dt class="glossary"><a name="this">this</a></dt>
161<dd>The object that contains the predicate clause under execution.</dd>
162
163</dl>
164
165<hr />
166<p class="center">
167<strong><a href="userman/index.html">User manual</a> | <a href="refman/index.html">Reference manual</a> | <a href="bibliography.html">Bibliography</a></strong>
168</p>
169<p class="center">
170Last updated on: February 10, 2001
171</p>
172<hr />
173
174</body>
175
176</html>
Note: See TracBrowser for help on using the browser.