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
71f24c26
Commit
71f24c26
authored
Aug 30, 2018
by
Tobias Meuser
Browse files
Integrated hybrid communication component
parent
681cc6df
Changes
1
Show whitespace changes
Inline
Side-by-side
src/de/tud/kom/p2psim/impl/vehicular/DefaultVehicleInformationComponent.java
View file @
71f24c26
...
...
@@ -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
();
}
}
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