home
wiki
classes/clusters list
class information
+
Point of view
EVENT_CATCHER
ANY
VISION
EVENT_CATCHER
INTERNALS_HANDLER
All features
class VISION_LOOP_STACK
Summary
top
It's some loop_stack (see lib/sequencer)
EVENT_CATCHER
as
"special job"
. Use it like
LOOP_STACK
.
Direct parents
inherit list:
LOOP_STACK
Overview
top
creation features
make
exported features
event_catcher_stack
:
FAST_ARRAY
[
EVENT_CATCHER
]
new_loop
create new loop with graphic events management and push it on the stack
push_loop
(l:
LOOP_ITEM
)
l
is restarted and pushed on the stack Use
push_loop
to reuse some loop (reuse the same modal window).
break
Exit current loop
stop
:
BOOLEAN
run
run
current_loop
(ie execute it's jobs)
add_job
(j:
JOB
)
Add some job to the current loop
exit_all
TODO: Really needed feature ?
current_loop
:
LOOP_ITEM
TODO: change this function into an attribute to be more efficient
event_catcher_stack
:
FAST_ARRAY
[
EVENT_CATCHER
]
writable attribute
top
new_loop
effective procedure
top
create new loop with graphic events management and push it on the stack
push_loop
(l:
LOOP_ITEM
)
effective procedure
top
l
is restarted and pushed on the stack Use
push_loop
to reuse some loop (reuse the same modal window).
require
l /= Void
ensure
current_loop = l
break
effective procedure
top
Exit current loop
require
current_loop /= Void
ensure
current_loop /= old current_loop
stop
:
BOOLEAN
writable attribute
top
run
effective procedure
top
run
current_loop
(ie execute it's jobs)
require
current_loop
/= Void
add_job
(j:
JOB
)
effective procedure
top
Add some job to the current loop
require
j /= Void
exit_all
effective procedure
top
TODO: Really needed feature ?
require
stop
= False
ensure
stop
= True
current_loop
:
LOOP_ITEM
effective function
top
TODO: change this function into an attribute to be more efficient