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/// Physical quantity newtypes (Weight, Speed, Accel).
28pub mod units;
29
30pub use access::AccessControl;
31pub use car_call::CarCall;
32pub use destination_queue::DestinationQueue;
33pub use elevator::{DOOR_COMMAND_QUEUE_CAP, Direction, Elevator, ElevatorPhase};
34pub use hall_call::{CallDirection, HallCall};
35pub use line::{Line, Orientation, SpatialPosition};
36pub use patience::{Patience, Preferences};
37pub use position::{Position, Velocity};
38pub use rider::{Rider, RiderPhase, RiderPhaseKind};
39pub use route::{Route, RouteLeg, TransportMode};
40pub use service_mode::ServiceMode;
41pub use stop::Stop;
42pub use units::{Accel, Speed, UnitError, Weight};