All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opentcs.virtualvehicle.LoopbackCommunicationAdapterDescription Maven / Gradle / Ivy

The newest version!
/**
 * 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.virtualvehicle;

import static org.opentcs.virtualvehicle.I18nLoopbackCommAdapter.BUNDLE_PATH;

import java.util.ResourceBundle;
import org.opentcs.drivers.vehicle.VehicleCommAdapterDescription;

/**
 * The loopback adapter's {@link VehicleCommAdapterDescription}.
 */
public class LoopbackCommunicationAdapterDescription
    extends
      VehicleCommAdapterDescription {

  /**
   * Creates a new instance.
   */
  public LoopbackCommunicationAdapterDescription() {
  }

  @Override
  public String getDescription() {
    return ResourceBundle.getBundle(BUNDLE_PATH)
        .getString("loopbackCommunicationAdapterDescription.description");
  }

  @Override
  public boolean isSimVehicleCommAdapter() {
    return true;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy