Package org.opentcs.drivers.peripherals
Interface PeripheralControllerPool
public interface PeripheralControllerPool
Maintains associations between locations and peripheral controllers.
-
Method Summary
Modifier and TypeMethodDescriptiongetPeripheralController(TCSResourceReference<Location> location) Returns the peripheral controller associated with the given location.
-
Method Details
-
getPeripheralController
@Nonnull PeripheralController getPeripheralController(TCSResourceReference<Location> location) throws IllegalArgumentException Returns the peripheral controller associated with the given location.- Parameters:
location- The reference to the location.- Returns:
- The peripheral controller associated with the given location.
- Throws:
IllegalArgumentException- If no peripheral controller is associated with the given location or if the referenced location does not exist.
-