The event-emitter Reference Manual

This is the event-emitter Reference Manual, version 0.0.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 06:03:54 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

The main system appears first, followed by any subsystem dependency.


2.1 event-emitter

Event mechanism for Common Lisp objects

Author

Eitaro Fukamachi

License

BSD 2-Clause

Version

0.0.1

Source

event-emitter.asd.

Child Component

src/event-emitter.lisp (file).


3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


3.1 Lisp


3.1.1 event-emitter/event-emitter.asd

Source

event-emitter.asd.

Parent Component

event-emitter (system).

ASDF Systems

event-emitter.

Packages

event-emitter-asd.


3.1.2 event-emitter/src/event-emitter.lisp

Source

event-emitter.asd.

Parent Component

event-emitter (system).

Packages

event-emitter.

Public Interface
Internals

4 Packages

Packages are listed by definition order.


4.1 event-emitter

Source

src/event-emitter.lisp.

Use List

common-lisp.

Public Interface
Internals

4.2 event-emitter-asd

Source

event-emitter.asd.

Use List
  • asdf/interface.
  • common-lisp.

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


5.1 Public Interface


5.1.1 Ordinary functions

Function: add-listener (object event listener)
Package

event-emitter.

Source

src/event-emitter.lisp.

Function: emit (event object &rest args)
Package

event-emitter.

Source

src/event-emitter.lisp.

Function: listener-count (object event)
Package

event-emitter.

Source

src/event-emitter.lisp.

Function: listeners (object event)
Package

event-emitter.

Source

src/event-emitter.lisp.

Function: on (event object listener)
Package

event-emitter.

Source

src/event-emitter.lisp.

Function: once (event object listener)
Package

event-emitter.

Source

src/event-emitter.lisp.

Function: remove-all-listeners (object &optional event)
Package

event-emitter.

Source

src/event-emitter.lisp.

Function: remove-listener (object event listener &key start)
Package

event-emitter.

Source

src/event-emitter.lisp.


5.1.2 Structures

Structure: event-emitter*
Package

event-emitter.

Source

src/event-emitter.lisp.

Direct superclasses

structure-object.

Direct slots
Slot: silo
Initform

(make-hash-table :test (quote eq))

Readers

event-emitter*-silo.

Writers

(setf event-emitter*-silo).


5.1.3 Classes

Class: event-emitter
Package

event-emitter.

Source

src/event-emitter.lisp.

Direct methods
Direct slots
Slot: silo
Initform

(make-hash-table :test (quote eq))

Readers

silo.

Writers

(setf silo).


5.2 Internals


5.2.1 Ordinary functions

Function: %add-listener (object event listener)
Package

event-emitter.

Source

src/event-emitter.lisp.

Function: copy-event-emitter* (instance)
Package

event-emitter.

Source

src/event-emitter.lisp.

Function: copy-listener (instance)
Package

event-emitter.

Source

src/event-emitter.lisp.

Function: event-emitter*-p (object)
Package

event-emitter.

Source

src/event-emitter.lisp.

Reader: event-emitter*-silo (instance)
Writer: (setf event-emitter*-silo) (instance)
Package

event-emitter.

Source

src/event-emitter.lisp.

Target Slot

silo.

Reader: listener-function (instance)
Writer: (setf listener-function) (instance)
Package

event-emitter.

Source

src/event-emitter.lisp.

Target Slot

function.

Reader: listener-once (instance)
Writer: (setf listener-once) (instance)
Package

event-emitter.

Source

src/event-emitter.lisp.

Target Slot

once.

Function: listener-p (object)
Package

event-emitter.

Source

src/event-emitter.lisp.

Function: make-event-emitter* (&key silo)
Package

event-emitter.

Source

src/event-emitter.lisp.

Function: make-listener (function &key once)
Package

event-emitter.

Source

src/event-emitter.lisp.


5.2.2 Generic functions

Generic Reader: silo (object)
Package

event-emitter.

Methods
Reader Method: silo ((event-emitter event-emitter))

automatically generated reader method

Source

src/event-emitter.lisp.

Target Slot

silo.

Generic Writer: (setf silo) (object)
Package

event-emitter.

Methods
Writer Method: (setf silo) ((event-emitter event-emitter))

automatically generated writer method

Source

src/event-emitter.lisp.

Target Slot

silo.


5.2.3 Structures

Structure: listener
Package

event-emitter.

Source

src/event-emitter.lisp.

Direct superclasses

structure-object.

Direct slots
Slot: function
Package

common-lisp.

Readers

listener-function.

Writers

(setf listener-function).

Slot: once
Readers

listener-once.

Writers

(setf listener-once).


Appendix A Indexes


A.1 Concepts


A.2 Functions

Jump to:   %   (  
A   C   E   F   G   L   M   O   R   S  
Index Entry  Section

%
%add-listener: Private ordinary functions

(
(setf event-emitter*-silo): Private ordinary functions
(setf listener-function): Private ordinary functions
(setf listener-once): Private ordinary functions
(setf silo): Private generic functions
(setf silo): Private generic functions

A
add-listener: Public ordinary functions

C
copy-event-emitter*: Private ordinary functions
copy-listener: Private ordinary functions

E
emit: Public ordinary functions
event-emitter*-p: Private ordinary functions
event-emitter*-silo: Private ordinary functions

F
Function, %add-listener: Private ordinary functions
Function, (setf event-emitter*-silo): Private ordinary functions
Function, (setf listener-function): Private ordinary functions
Function, (setf listener-once): Private ordinary functions
Function, add-listener: Public ordinary functions
Function, copy-event-emitter*: Private ordinary functions
Function, copy-listener: Private ordinary functions
Function, emit: Public ordinary functions
Function, event-emitter*-p: Private ordinary functions
Function, event-emitter*-silo: Private ordinary functions
Function, listener-count: Public ordinary functions
Function, listener-function: Private ordinary functions
Function, listener-once: Private ordinary functions
Function, listener-p: Private ordinary functions
Function, listeners: Public ordinary functions
Function, make-event-emitter*: Private ordinary functions
Function, make-listener: Private ordinary functions
Function, on: Public ordinary functions
Function, once: Public ordinary functions
Function, remove-all-listeners: Public ordinary functions
Function, remove-listener: Public ordinary functions

G
Generic Function, (setf silo): Private generic functions
Generic Function, silo: Private generic functions

L
listener-count: Public ordinary functions
listener-function: Private ordinary functions
listener-once: Private ordinary functions
listener-p: Private ordinary functions
listeners: Public ordinary functions

M
make-event-emitter*: Private ordinary functions
make-listener: Private ordinary functions
Method, (setf silo): Private generic functions
Method, silo: Private generic functions

O
on: Public ordinary functions
once: Public ordinary functions

R
remove-all-listeners: Public ordinary functions
remove-listener: Public ordinary functions

S
silo: Private generic functions
silo: Private generic functions