![]() | ![]() | ![]() | with-events-disabled | ![]() |
|
| (option*)
declaration*
form*
=> result* | [Macro] |
Purpose
Disable event signaling during evaluation of forms.
Package :gbbopen
Module :gbbopen-core
Arguments and values
| option | No options are currently supported | |
| declaration | A declare expression (not evaluated) | |
| forms | An implicit progn of forms to be evaluated | |
| results | The values returned by evaluating the last form |
Returns
The values returned by evaluating the last form.
See also
signal-event
with-events-enabled
Example
Create a hyp without signaling any events:
> (with-events-disabled ()
(make-instance 'hyp
:location (list x y)
:classification '(:car :truck)
:color ':red
:belief .85
:velocity-range '(5 35)
:supporting-hyps supporting-hyps))
#<hyp 419 (1835 4791) 0.85 [5..35]>
>
The GBBopen Project
![]() | ![]() | ![]() | with-events-disabled | ![]() |