Package org.opentcs.drivers.peripherals
Schnittstelle PeripheralCommAdapterFactory
- Alle Superschnittstellen:
Lifecycle
Provides communication adapter instances for peripheral devices to be controlled.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibunggetAdapterFor
(Location location) Returns a communication adapter for controlling the given location/peripheral device.Returns aPeripheralCommAdapterDescription
for the factory/the adapters provided.boolean
providesAdapterFor
(Location location) Checks whether this factory can provide a communication adapter for the given location/peripheral device.Von Schnittstelle geerbte Methoden org.opentcs.components.Lifecycle
initialize, isInitialized, terminate
-
Methodendetails
-
getDescription
Returns aPeripheralCommAdapterDescription
for the factory/the adapters provided.- Gibt zurück:
- A
PeripheralCommAdapterDescription
for the factory/the adapters provided.
-
providesAdapterFor
Checks whether this factory can provide a communication adapter for the given location/peripheral device.- Parameter:
location
- The location to check for.- Gibt zurück:
true
if, and only if, this factory can provide a communication adapter to control the given location/peripheral device.
-
getAdapterFor
Returns a communication adapter for controlling the given location/peripheral device.- Parameter:
location
- The location/peripheral device to be controlled.- Gibt zurück:
- A communication adapter for controlling the given location/peripheral device, or
null
, if this factory cannot provide an adapter for it.
-