category

subject

Smalltalk dependent handling predicates.

Availability:
logtalk_load(dependents(loader))
Author: Paulo Moura
Version: 1:0:0
Date: 2003-02-09
Compilation flags:
static
Dependencies:
(none)
Remarks:
(none)
Inherited public predicates:
(none)

Public predicates

changed/0

Receiver changed in some way. Notify all dependents.

Compilation flags:
static
Mode and number of proofs:
changed - one

changed/1

Receiver changed as specified in the argument. Notify all dependents.

Compilation flags:
static
Template:
changed(Change)
Mode and number of proofs:
changed(?nonvar) - one

dependents/1

Returns a list of all dependent objects.

Compilation flags:
static
Template:
dependents(Dependents)
Mode and number of proofs:
dependents(-list) - one

addDependent/1

Adds a new dependent object.

Compilation flags:
static
Template:
addDependent(Dependent)
Mode and number of proofs:
addDependent(@object) - one

removeDependent/1

Removes a dependent object.

Compilation flags:
static
Template:
removeDependent(Dependent)
Mode and number of proofs:
removeDependent(?object) - zero_or_more

Protected predicates

(none)

Private predicates

dependent_/1

Table of dependent objects.

Compilation flags:
dynamic
Template:
dependent_(Dependent)
Mode and number of proofs:
dependent_(?object) - zero_or_more

Operators

(none)

See also

observer