Interface VehicleControllerPool


public interface VehicleControllerPool
Maintains associations between vehicles and vehicle controllers.
  • Method Summary

    Modifier and Type Method Description
    VehicleController getVehicleController​(java.lang.String vehicleName)
    Returns the vehicle controller associated with the vehicle with the given name.
  • Method Details

    • getVehicleController

      @Nonnull VehicleController getVehicleController​(java.lang.String vehicleName)
      Returns the vehicle controller associated with the vehicle with the given name. If no vehicle controller is associated with it or if there is no vehicle with the given name, a null-object equivalent will be returned.
      Parameters:
      vehicleName - The name of the vehicle for which to return the vehicle controller.
      Returns:
      the vehicle controller associated with the vehicle with the given name, or a null-object equivalent.