mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-05 20:03:52 +00:00
added missing file
This commit is contained in:
1 parent
557619696e
commit
0f6fea93ea
1 file changed
+38
+38
@@ -0,0 +1,38 @@
|
||||
package com.sap.sailing.domain.tracking;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.MalformedURLException;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
import com.sap.sailing.domain.base.RaceDefinition;
|
||||
|
||||
public interface RaceTracker {
|
||||
/**
|
||||
* Stops tracking the race and removes the {@link TrackedRace} object one gets from calling
|
||||
* {@link #getTrackedEvent()}.{@link TrackedEvent#getTrackedRace(RaceDefinition) getTrackedRace(}{@link #getRaces() getRaces())}
|
||||
* from the {@link #getTrackedEvent() tracked event}.
|
||||
*/
|
||||
void stop() throws MalformedURLException, IOException, InterruptedException;
|
||||
|
||||
com.sap.sailing.domain.base.Event getEvent();
|
||||
|
||||
/**
|
||||
* Non-blocking call that returns <code>null</code> if the {@link RaceDefinition} for the TracTrac Event
|
||||
* hasn't been created yet, e.g., because the course definition hasn't been received yet or the listener
|
||||
* for receiving course information hasn't been registered (yet).
|
||||
*/
|
||||
Set<RaceDefinition> getRaces();
|
||||
|
||||
RaceHandle getRaceHandle();
|
||||
|
||||
DynamicTrackedEvent getTrackedEvent();
|
||||
|
||||
WindStore getWindStore();
|
||||
|
||||
/**
|
||||
* returns a unique key for this tracker which can, e.g., be used as a key in a {@link Map}
|
||||
*/
|
||||
Object getID();
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user