base

Class summary
event
monitor
Method summary
activate-monitor-method monitor &optional active
active monitor
active-monitors event
error-occured-during-initialization monitor
event-ids monitor
id monitor
id event
init-arguments monitor
initialize-instance (monitor monitor) &key id documentation source-file
initialize-instance (event event) &key id parameters source-file
monitor-documentation monitor
parameters event
print-object (monitor monitor) stream
print-object (event event) stream
source-file monitor
source-file event
toggle-monitor-method monitor
Function summary
get-event id
get-monitor id
make-event-handler monitor-id event-id body &key method-qualifier
make-event-unless-already-defined id parameters
make-file-name-with-experiment-class file-name experiment-class
make-file-name-with-time file-name
make-file-name-with-time-and-experiment-class file-name experiment-class
make-monitor-unless-already-defined id class &optional init-arguments
subscribe-to-event monitor-id event-id
Macro summary
intern-in-package-of variable name
monitor    [Class]

Listens to a list of events. Is notified when only when it is active

:id    [Initarg]
:documentation    [Initarg]
:source-file    [Initarg]
:init-arguments    [Initarg]
id    [Slot]

A unique monitor id

event-ids    [Slot]

The ids of the events the monitor is listening to

active    [Slot]

If true, then this monitor is notified on its events

documentation    [Slot]

To help the user to guess the purpose of the monitor

source-file    [Slot]

The file in that the monitor was defined

init-arguments    [Slot]

The keword parameter list with that the monitor was defined

error-occured-during-initialization    [Slot]

When t, an error occured during the initialization

error-occured-during-initialization   monitor  [Generic function]

Returns and (with setf) changes the error-occured-during-initialization of the specified monitor

init-arguments   monitor  [Generic function]

Returns the init-arguments of the specified monitor

source-file   monitor  [Generic function]

Returns the source-file of the specified monitor

monitor-documentation   monitor  [Generic function]

Returns the documentation of the specified monitor

active   monitor  [Generic function]

Returns and (with setf) changes the active of the specified monitor

event-ids   monitor  [Generic function]

Returns and (with setf) changes the event-ids of the specified monitor

id   monitor  [Generic function]

Returns the id of the specified monitor

event    [Class]

Represents an event with its parameters and which monitors are listening to the event.

:id    [Initarg]
:source-file    [Initarg]
:parameters    [Initarg]
id    [Slot]

An unique event id

active-monitors    [Slot]

The list of monitors that are notified

source-file    [Slot]

The file in that the event was defined

parameters    [Slot]

A list of (name type) parameter definitions, used for method generation

parameters   event  [Generic function]

Returns the parameters of the specified event

source-file   event  [Generic function]

Returns the source-file of the specified event

active-monitors   event  [Generic function]

Returns and (with setf) changes the active-monitors of the specified event

id   event  [Generic function]

Returns the id of the specified event

*monitors*    [Variable]

All registered monitors.

*events*    [Variable]

All registered events

*monitor-notifications-disabled*    [Variable]

when t, monitor notifications generated by the notify macro below won't do anything

*disable-activation-of-monitors*    [Variable]
activate-monitor-method   monitor &optional active  [Generic function]

Changes the activation of a monitor

toggle-monitor-method   monitor  [Generic function]
initialize-instance   (monitor monitor) &key id documentation source-file  [Around method]

Creates a monitor and automatically adds it to the monitor list.

initialize-instance   (event event) &key id parameters source-file  [Around method]

Creates an event and automatically adds it to the list.

print-object   (monitor monitor) stream  [Method]

prints a monitor on one line

print-object   (event event) stream  [Method]

prints an event in a readable way

get-monitor   id  [Function]

returns the monitor for 'id'

get-event   id  [Function]

returns the monitor for 'id'

make-monitor-unless-already-defined   id class &optional init-arguments  [Function]

Makes a new monitor (only when there is no previously defined monitor with these paramters).

subscribe-to-event   monitor-id event-id  [Function]
make-event-unless-already-defined   id parameters  [Function]

Makes an event (only when it is not defined yet or when parameters changed).

make-event-handler   monitor-id event-id body &key method-qualifier  [Function]

Makes an event handler.

make-file-name-with-experiment-class   file-name experiment-class  [Function]

A helper function for making file-names that contains the experiment class

make-file-name-with-time-and-experiment-class   file-name experiment-class  [Function]

A helper function for making file-names that contain the time and the experiment class

make-file-name-with-time   file-name  [Function]

A helper function for making file-names that contain the time

intern-in-package-of   variable name  [Macro]

interns a new symbol 'name' in the package of 'variable'