![]() | ![]() | ![]() | reset-gbbopen | ![]() |
|
| &key disable-events | [Function] |
Purpose
Unconditionally delete all unit and
space instances, remove all event functions, and disable event
printing.
Package :gbbopen
Module :gbbopen-core
Arguments and values
| disable-events | A generalized boolean (default is t)
|
Events
If disable-events is nil, the following events may be signaled (in
order) as unit instances and space instances are deleted:
delete-instance-event
unlink-event
remove-instance-from-space-instance-event
instance-deleted-event
Description
Calling reset-gbbopen deletes all
unit instances and space instances, disables all event
printing, removes all event functions, and resets all unit-class
instance-name counters to their initial values. Reset-gbbopen does
not undefine any class definitions, functions, methods, etc.
See also
confirm-if-blackboard-repository-not-empty-p
delete-all-space-instances
delete-instance
delete-space-instance
define-ks-class
define-ksa-class
define-space-class
define-unit-class
initial-class-instance-number
reset-gbbopen
reset-unit-class
Example
Prepare for a new application by resetting GBBopen:
> (reset-gbbopen) t >
Note
This function and delete-blackboard-repository are the only
GBBopen functions that disable event signaling by default. This
conflicts with the normal use of with-events-disabled
and with-events-enabled macros for controlling
event signaling, but having events disabled is the desired
behavior in almost every reset situation.
The GBBopen Project
![]() | ![]() | ![]() | reset-gbbopen | ![]() |