Module openrailwaymap_exporter::simulation::events
source · Expand description
This module contains types related to simulation events in railway simulations.
Simulation events are used to represent specific occurrences during the execution of a simulation, such as a train changing its action or reaching a target.
The module provides a SimulationEvent
trait that defines the interface for all simulation events. The
RailMovableEvent
and TargetReachedEvent
structs are example implementations of this trait, representing a
change in a RailMovableAction
and a target being reached, respectively.
Structs
- A
RailMovableEvent
represents a change in aRailMovableAction
during a simulation. - A
TargetReachedEvent
represents a target being reached during a simulation.
Traits
- The
SimulationEvent
trait defines the interface for all simulation events.