Package org.opentcs.drivers.vehicle
Class DefaultVehicleCommAdapterDescription
java.lang.Object
org.opentcs.drivers.vehicle.VehicleCommAdapterDescription
org.opentcs.drivers.vehicle.DefaultVehicleCommAdapterDescription
- All Implemented Interfaces:
Serializable
The default implementation of
VehicleCommAdapterDescription.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultVehicleCommAdapterDescription(String description, boolean isSimVehicleCommAdapter) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionReturns the description for a vehicle comm adapter.booleanWhether the comm adapter is a simulating one.Methods inherited from class org.opentcs.drivers.vehicle.VehicleCommAdapterDescription
equals, hashCode
-
Constructor Details
-
DefaultVehicleCommAdapterDescription
public DefaultVehicleCommAdapterDescription(@Nonnull String description, boolean isSimVehicleCommAdapter) Creates a new instance.- Parameters:
description- The description.isSimVehicleCommAdapter- Whether the comm adapter is a simulating one.
-
-
Method Details
-
getDescription
Description copied from class:VehicleCommAdapterDescriptionReturns the description for a vehicle comm adapter.- Specified by:
getDescriptionin classVehicleCommAdapterDescription- Returns:
- The description for a vehicle comm adapter.
-
isSimVehicleCommAdapter
public boolean isSimVehicleCommAdapter()Description copied from class:VehicleCommAdapterDescriptionWhether the comm adapter is a simulating one.- Specified by:
isSimVehicleCommAdapterin classVehicleCommAdapterDescription- Returns:
trueif, and only if, the vehicle is a simulating one.
-