Commit 71f24c26 authored by Tobias Meuser's avatar Tobias Meuser
Browse files

Integrated hybrid communication component

parent 681cc6df
......@@ -26,6 +26,10 @@ import java.util.Set;
import de.tudarmstadt.maki.simonstrator.api.Host;
import de.tudarmstadt.maki.simonstrator.api.common.graph.INodeID;
import de.tudarmstadt.maki.simonstrator.api.component.ComponentNotAvailableException;
import de.tudarmstadt.maki.simonstrator.api.component.sensor.location.AttractionPoint;
import de.tudarmstadt.maki.simonstrator.api.component.sensor.location.Location;
import de.tudarmstadt.maki.simonstrator.api.component.sensor.location.LocationListener;
import de.tudarmstadt.maki.simonstrator.api.component.sensor.location.LocationRequest;
import de.tudarmstadt.maki.simonstrator.api.component.sensor.route.Route;
import de.tudarmstadt.maki.simonstrator.api.component.sis.SiSComponent;
import de.tudarmstadt.maki.simonstrator.api.component.sis.SiSDataCallback;
......@@ -243,4 +247,29 @@ public class DefaultVehicleInformationComponent implements VehicleInformationCom
throw new UnsupportedOperationException();
}
@Override
public Location getLastLocation() {
return controller.getVehiclePosition(vehicleID);
}
@Override
public void requestLocationUpdates(LocationRequest pRequest, LocationListener pListener) {
throw new UnsupportedOperationException();
}
@Override
public void removeLocationUpdates(LocationListener pListener) {
throw new UnsupportedOperationException();
}
@Override
public LocationRequest getLocationRequest() {
throw new UnsupportedOperationException();
}
@Override
public AttractionPoint getCurrentTargetAttractionPoint() {
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