+
Point of view
All features
class SIGNAL_1 [E]
Summary
Class invariant
Overview
creation features
  • make
    Initialize new signal object
features
callbacks: FAST_ARRAY[PROCEDURE[TUPLE[TUPLE 1[E]]]]
writable attribute
index: INTEGER_32
writable attribute
work to do while emit is between index and last.
last: INTEGER_32
writable attribute
work to do while emit is between index and last.
make
effective procedure
Initialize new signal object
connect (p: PROCEDURE[TUPLE[TUPLE 1[E]]])
effective procedure
Connect procedure to be called when signal is emitted See also last_connect_id
emit (val: E)
effective procedure
Emit signal, ie.
last_connect_id: PROCEDURE[TUPLE[TUPLE 1[E]]]
effective function
return identifier on the last connect which may be used for disconnect (unregister procedure)
disconnect (connect_identifier: PROCEDURE[TUPLE[TUPLE 1[E]]])
effective procedure
Unregister procedure for this signal.
is_empty: BOOLEAN
effective function
return True if no callback is registred for this signal