org.opentcs.kernel.peripherals.PeripheralControllerFactory Maven / Gradle / Ivy
/**
* Copyright (c) The openTCS Authors.
*
* This program is free software and subject to the MIT license. (For details,
* see the licensing information (LICENSE.txt) you should have received with
* this copy of the software.)
*/
package org.opentcs.kernel.peripherals;
import org.opentcs.data.model.Location;
import org.opentcs.data.model.TCSResourceReference;
import org.opentcs.drivers.peripherals.PeripheralCommAdapter;
import org.opentcs.drivers.peripherals.PeripheralController;
/**
* A factory for {@link PeripheralController} instances.
*/
public interface PeripheralControllerFactory {
/**
* Creates a new peripheral controller for the given location and communication adapter.
*
* @param location The location.
* @param commAdapter The communication adapter.
* @return A new peripheral controller.
*/
DefaultPeripheralController createPeripheralController(
TCSResourceReference location,
PeripheralCommAdapter commAdapter
);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy