All Manuals > CAPI User Guide and Reference Manual > 21 CAPI Reference Entries

NextPrevUpTopContentsIndex

destroy-dependent-object

Generic Function
Summary

A mechanism to destroy objects when a pinboard-layout is destroyed.

Package

capi

Signature

destroy-dependent-object object

Method signatures

destroy-dependent-object pinboard-layout ( object cl:cons)

destroy-dependent-object pinboard-layout ( object mp:process)

Arguments

pinboard-layout

A pinboard-layout.

object

A Lisp object.

Description

The generic function destroy-dependent-object is part of a mechanism for destroying objects when a pinboard-layout is destroyed.

Objects may be registered for destruction by calling record-dependent-object and unregistered by calling unrecord-dependent-object.

The predefined destroy-dependent-object method specializing on cl:cons expects a list where the car is a function and the cdr are its arguments. It applies the function to the arguments. The predefined method specializing on mp:process calls mp:process-terminate on the process object .

See also

pinboard-layout
record-dependent-object
unrecord-dependent-object


CAPI User Guide and Reference Manual (Unix version) - 25 Feb 2015

NextPrevUpTopContentsIndex