Package org.opentcs.drivers.peripherals
Interface PeripheralControllerPool
public interface PeripheralControllerPool
Maintains associations between locations and peripheral controllers.
-
Method Summary
Modifier and Type Method Description PeripheralControllergetPeripheralController(TCSResourceReference<Location> location)Returns the peripheral controller associated with the given location.
-
Method Details
-
getPeripheralController
@Nonnull PeripheralController getPeripheralController(TCSResourceReference<Location> location) throws java.lang.IllegalArgumentExceptionReturns 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:
java.lang.IllegalArgumentException- If no peripheral controller is associated with the given location or if the referenced location does not exist.
-