| Modifier and Type | Class and Description |
|---|---|
class |
ScenarioTracker.Target
The type Target.
|
| Constructor and Description |
|---|
ScenarioTracker() |
| Modifier and Type | Method and Description |
|---|---|
dk.dma.enav.model.geometry.BoundingBox |
boundingBox()
Get bounding box containing all movements in this scenario.
|
Target |
get(int mmsi)
Returns the latest target info for the specified MMSI number.
|
com.google.common.collect.ImmutableSet<ScenarioTracker.Target> |
getTargets()
Return all targets involved in this scenario.
|
Set<ScenarioTracker.Target> |
getTargetsHavingPositionUpdates()
Return all targets involved in this scenario and with a known location (ie. located inside of the bounding box).
|
Date |
scenarioBegin()
Get the Date of the first update in this scenario.
|
Date |
scenarioEnd()
Get the Date of the last update in this scenario.
|
int |
size()
Returns the number of targets that is being tracked.
|
void |
tagTarget(int mmsi,
Object tag)
Tag target.
|
void |
update(AisPacket p)
Update the tracker with a single AisPacket.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsubscribeToPacketReader, subscribeToPacketStreampublic Date scenarioBegin()
public Date scenarioEnd()
public dk.dma.enav.model.geometry.BoundingBox boundingBox()
public com.google.common.collect.ImmutableSet<ScenarioTracker.Target> getTargets()
public Target get(int mmsi)
Trackerpublic int size()
public Set<ScenarioTracker.Target> getTargetsHavingPositionUpdates()
public void update(AisPacket p)
Trackerpublic void tagTarget(int mmsi,
Object tag)
mmsi - the mmsitag - the tagCopyright © 2011–2019 Danish Maritime Authority. All rights reserved.