Domain Events¶
This module contains the definition of the available domain events that are emitted by the simulation framework.
-
class
gsf.core.events.domain_events.DomainEvents(value)¶ Bases:
str,enum.EnumContains the constants of the emitted events.
-
OUTPUT_SAVED= 'OUTPUT_SAVED'¶ Emitted when an output is saved in the reports module.
-
SIMULATION_FINISHED= 'SIMULATION_FINISHED'¶ Emitted when simulation is finished.
-
SIMULATION_PAUSED= 'SIMULATION_PAUSED'¶ Emitted when simulation was paused.
-
SIMULATION_STATUS= 'SIMULATION_STATUS'¶ Emitted when the status of the simulation change after every iteration.
-
SIMULATION_STOPPED= 'SIMULATION_STOPPED'¶ Emitted when simulation was stopped.
-
_generate_next_value_(start, count, last_values)¶ Generate the next value when not given.
name: the name of the member start: the initial start value or None count: the number of existing members last_value: the last value assigned or None
-