Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Simonstrator
PeerfactSim.KOM
Commits
c51fbc4f
Commit
c51fbc4f
authored
Sep 19, 2017
by
Björn Richerzhagen
Committed by
Jose Ignacio Monreal Bailey
Aug 20, 2019
Browse files
Dummy-implementations for routeListener
parent
1282e302
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/de/tud/kom/p2psim/impl/vehicular/DefaultVehicleInformationComponent.java
View file @
c51fbc4f
...
@@ -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
();
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment