Skip to main content

elevator_core/components/
mod.rs

1//! Entity components — the data attached to simulation entities.
2
3/// Access control for restricting rider stop access.
4pub mod access;
5/// Floor buttons pressed from inside a cab.
6pub mod car_call;
7/// Per-elevator ordered destination queue.
8pub mod destination_queue;
9/// Elevator state and properties.
10pub mod elevator;
11/// Hall calls: the up/down buttons at each stop.
12pub mod hall_call;
13/// Line (physical path) — shaft, tether, track.
14pub mod line;
15/// Rider patience and boarding preferences.
16pub mod patience;
17/// Position and velocity along the shaft axis.
18pub mod position;
19/// Rider (passenger/cargo) core data.
20pub mod rider;
21/// Multi-leg route planning.
22pub mod route;
23/// Service mode component for elevator operational modes.
24pub mod service_mode;
25/// Stop (floor/station) data.
26pub mod stop;
27
28pub use access::AccessControl;
29pub use car_call::CarCall;
30pub use destination_queue::DestinationQueue;
31pub use elevator::{DOOR_COMMAND_QUEUE_CAP, Direction, Elevator, ElevatorPhase};
32pub use hall_call::{CallDirection, HallCall};
33pub use line::{FloorPosition, Line, Orientation};
34pub use patience::{Patience, Preferences};
35pub use position::{Position, Velocity};
36pub use rider::{Rider, RiderPhase};
37pub use route::{Route, RouteLeg, TransportMode};
38pub use service_mode::ServiceMode;
39pub use stop::Stop;