Skip to main content

Module components

Module components 

Source
Expand description

Entity-component data types for the simulation. Entity components — the data attached to simulation entities.

Re-exports§

pub use access::AccessControl;
pub use car_call::CarCall;
pub use destination_queue::DestinationQueue;
pub use elevator::DOOR_COMMAND_QUEUE_CAP;
pub use elevator::Direction;
pub use elevator::Elevator;
pub use elevator::ElevatorPhase;
pub use hall_call::CallDirection;
pub use hall_call::HallCall;
pub use line::Line;
pub use line::Orientation;
pub use line::SpatialPosition;
pub use patience::Patience;
pub use patience::Preferences;
pub use position::Position;
pub use position::Velocity;
pub use rider::Rider;
pub use rider::RiderPhase;
pub use rider::RiderPhaseKind;
pub use route::Route;
pub use route::RouteLeg;
pub use route::TransportMode;
pub use service_mode::ServiceMode;
pub use stop::Stop;

Modules§

access
Access control for restricting rider stop access. Access control component for restricting rider stop access.
car_call
Floor buttons pressed from inside a cab. Car calls: the floor buttons riders press from inside a cab.
destination_queue
Per-elevator ordered destination queue. Per-elevator destination queue (FIFO of target stop EntityIds).
elevator
Elevator state and properties. Elevator state and configuration component.
hall_call
Hall calls: the up/down buttons at each stop. Hall calls: the “up”/“down” buttons at each stop.
line
Line (physical path) — shaft, tether, track. Line (physical path) component — shaft, tether, track, etc.
patience
Rider patience and boarding preferences. Patience and boarding preference components.
position
Position and velocity along the shaft axis. Position and velocity components along the shaft axis.
rider
Rider (passenger/cargo) core data. Rider (passenger/cargo) core data and lifecycle.
route
Multi-leg route planning. Multi-leg route planning for riders.
service_mode
Service mode component for elevator operational modes. Service mode component for elevator operational modes.
stop
Stop (floor/station) data. Stop (floor/station) component.