Commit c51fbc4f authored by Björn Richerzhagen's avatar Björn Richerzhagen Committed by Jose Ignacio Monreal Bailey
Browse files

Dummy-implementations for routeListener

parent 1282e302
...@@ -23,6 +23,7 @@ package de.tud.kom.p2psim.impl.vehicular; ...@@ -23,6 +23,7 @@ package de.tud.kom.p2psim.impl.vehicular;
import java.util.List; import java.util.List;
import de.tudarmstadt.maki.simonstrator.api.Host; import de.tudarmstadt.maki.simonstrator.api.Host;
import de.tudarmstadt.maki.simonstrator.api.component.sensor.route.Route;
import de.tudarmstadt.maki.simonstrator.api.component.vehicular.VehicleInformationComponent; import de.tudarmstadt.maki.simonstrator.api.component.vehicular.VehicleInformationComponent;
import de.tudarmstadt.maki.simonstrator.api.component.vehicular.api.SimulationSetupExtractor; import de.tudarmstadt.maki.simonstrator.api.component.vehicular.api.SimulationSetupExtractor;
import de.tudarmstadt.maki.simonstrator.api.component.vehicular.api.VehicleController; import de.tudarmstadt.maki.simonstrator.api.component.vehicular.api.VehicleController;
...@@ -114,5 +115,30 @@ public class DefaultVehicleInformationComponent implements VehicleInformationCom ...@@ -114,5 +115,30 @@ public class DefaultVehicleInformationComponent implements VehicleInformationCom
public double getCurrentSpeed() { public double getCurrentSpeed() {
return controller.getVehicleSpeed(vehicleID); return controller.getVehicleSpeed(vehicleID);
} }
@Override
public void addRouteListener(RouteListener listener) {
throw new UnsupportedOperationException();
}
@Override
public void removeRouteListener(RouteListener listener) {
throw new UnsupportedOperationException();
}
@Override
public void addRouteSegmentListener(RouteSegmentListener listener) {
throw new UnsupportedOperationException();
}
@Override
public void removeRouteSegmentListener(RouteSegmentListener listener) {
throw new UnsupportedOperationException();
}
@Override
public Route getRoute() {
throw new UnsupportedOperationException();
}
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment