Generic Function add-dependent
metaobject dependent => unspecified
Arguments and Values
- metaobject -- A class or a generic function metaobject.
- dependent -- An object.
Arguments
The metaobject argument is a class or generic function metaobject.
The dependent argument is an object.
Values
The value returned by this generic function is unspecified.
Description
This generic function adds dependent to the dependents of metaobject. If dependent is already in the set of dependents it is not added again (no error is signaled).
The generic function map-dependents can be called to access the set of dependents of a class or generic function. The generic function remove-dependent can be called to remove an object from the set of dependents of a class or generic function. The effect of calling add-dependent or remove-dependent while a call to map-dependents on the same class or generic function is in progress is unspecified.
The situations in which add-dependent is called are not specified.
Methods
- add-dependent (class standard-class) dependent
- add-dependent (class funcallable-standard-class) dependent
- add-dependent (generic-function standard-generic-function) dependent
Method add-dependent
(class standard-class) dependent => unspecified
Description
No behavior is specified for this method beyond that which is specified for the generic function.
This method cannot be overridden unless the following methods are overridden as well:
Method add-dependent
(class funcallable-standard-class) dependent => unspecified
Description
No behavior is specified for this method beyond that which is specified for the generic function.
This method cannot be overridden unless the following methods are overridden as well:
Method add-dependent
(generic-function standard-generic-function) dependent => unspecified
Description
No behavior is specified for this method beyond that which is specified for the generic function.
This method cannot be overridden unless the following methods are overridden as well:
Remarks
See the Dependent Maintenance Protocol
section for remarks about the use of this facility.