indexing
description: "Repeatedly executes a sequence of `actions' at a regular `interval'."
status: "See notice at end of class"
keywords: "timout, delay, timer, background"
date: "$Date$"
revision: "$Revision$"
class interface
EV_TIMEOUT
create
frozen default_create
EV_ANY
ensure then EV_ANY
is_coupled: implementation /= void
is_initialized: is_initialized
default_create_called_set: default_create_called
is_in_default_state: is_in_default_state
make_with_interval (an_interval: INTEGER)
an_interval
require
an_interval_not_negative: an_interval >= 0
feature
actions: EV_NOTIFY_ACTION_SEQUENCE
interval
interval
data: ANY
EV_ANY
interval: INTEGER
actions
actions
require
not_destroyed: not is_destroyed
ensure
bridge_ok: Result = implementation.interval
set_interval (an_interval: INTEGER)
an_intervalinterval
an_intervalactions
require
not_destroyed: not is_destroyed
an_interval_not_negative: an_interval >= 0
ensure
interval_assigned: interval = an_interval
count_not_changed: count = old count
feature
count: INTEGER
actions
reset_count
require
not_destroyed: not is_destroyed
ensure
bridge_ok: Result = implementation.count
feature
reset_count
count
require
not_destroyed: not is_destroyed
ensure
count_is_zero: count = 0
feature
set_data (some_data: like data)
some_datadata
EV_ANY
require EV_ANY
not_destroyed: not is_destroyed
ensure EV_ANY
data_assigned: data = some_data
feature
copy (other: like Current)
other
EV_ANY
require ANY
other_not_void: other /= void
type_identity: same_type (other)
ensure ANY
is_equal: is_equal (other)
feature
destroy
Current
EV_ANY
ensure EV_ANY
is_destroyed: is_destroyed
feature
is_destroyed: BOOLEAN
Current
EV_ANY
ensure EV_ANY
bridge_ok: Result = implementation.is_destroyed
invariant
interval_not_negative: interval >= 0
count_not_negative: count >= 0
actions_not_void: actions /= void
ANY
reflexive_equality: standard_is_equal (Current)
reflexive_conformance: conforms_to (Current)
EV_ANY
is_initialized: is_initialized
is_coupled: implementation /= void and then implementation.interface = Current
default_create_called: default_create_called
end -- EV_TIMEOUT