included the new revision of the TracTrac Result API

This commit is contained in:
Axel Uhl committed 2011-06-15 13:37:19 +02:00
1 parent 6d9292d1cd
commit a41d2594d7
43 files changed
+367 -247

No files matched your search

+2 -2
View File
@@ -2,13 +2,13 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
All Classes (TracTrac Result API)
</TITLE>
<META NAME="date" CONTENT="2011-06-02">
<META NAME="date" CONTENT="2011-06-15">
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
+2 -2
View File
@@ -2,13 +2,13 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
All Classes (TracTrac Result API)
</TITLE>
<META NAME="date" CONTENT="2011-06-02">
<META NAME="date" CONTENT="2011-06-15">
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
+2 -2
View File
@@ -2,13 +2,13 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
LiveResult (TracTrac Result API)
</TITLE>
<META NAME="date" CONTENT="2011-06-02">
<META NAME="date" CONTENT="2011-06-15">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
+88 -2
View File
@@ -2,13 +2,13 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
LiveResultItem (TracTrac Result API)
</TITLE>
<META NAME="date" CONTENT="2011-06-02">
<META NAME="date" CONTENT="2011-06-15">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
@@ -264,6 +264,22 @@ Class representing a competitor at any given point in time, including informatio
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/LiveResultItem.html#getVmg()">getVmg</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get VMG in knots measured at a point</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/LiveResultItem.html#getVmgAverage30s()">getVmgAverage30s</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the in knots VMG averaged over 30 seconds</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/LiveResultItem.html#isHasFinished()">isHasFinished</A></B>()</CODE>
@@ -399,6 +415,22 @@ Class representing a competitor at any given point in time, including informatio
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the UUID of the competitor</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/LiveResultItem.html#setVmg(double)">setVmg</A></B>(double&nbsp;vmg)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set VMG in knots measured at a point</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/LiveResultItem.html#setVmgAverage30s(double)">setVmgAverage30s</A></B>(double&nbsp;vmgAverage30s)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the VMG in knots averaged over 30 seconds</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
@@ -883,6 +915,60 @@ public void <B>setLongitude</B>(double&nbsp;longitude)</PRE>
<DT><B>Parameters:</B><DD><CODE>longitude</CODE> - set the longitude of the competitor in (degrees).(decimal degrees)</DL>
</DD>
</DL>
<HR>
<A NAME="getVmg()"><!-- --></A><H3>
getVmg</H3>
<PRE>
public double <B>getVmg</B>()</PRE>
<DL>
<DD>Get VMG in knots measured at a point
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the vmg</DL>
</DD>
</DL>
<HR>
<A NAME="setVmg(double)"><!-- --></A><H3>
setVmg</H3>
<PRE>
public void <B>setVmg</B>(double&nbsp;vmg)</PRE>
<DL>
<DD>Set VMG in knots measured at a point
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>vmg</CODE> - the vmg to set</DL>
</DD>
</DL>
<HR>
<A NAME="getVmgAverage30s()"><!-- --></A><H3>
getVmgAverage30s</H3>
<PRE>
public double <B>getVmgAverage30s</B>()</PRE>
<DL>
<DD>Get the in knots VMG averaged over 30 seconds
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the vmgAverage30s</DL>
</DD>
</DL>
<HR>
<A NAME="setVmgAverage30s(double)"><!-- --></A><H3>
setVmgAverage30s</H3>
<PRE>
public void <B>setVmgAverage30s</B>(double&nbsp;vmgAverage30s)</PRE>
<DL>
<DD>Set the VMG in knots averaged over 30 seconds
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>vmgAverage30s</CODE> - the vmgAverage30s to set</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
+132 -10
View File
@@ -2,13 +2,13 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
MarkResult (TracTrac Result API)
</TITLE>
<META NAME="date" CONTENT="2011-06-02">
<META NAME="date" CONTENT="2011-06-15">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
@@ -76,9 +76,9 @@ function windowTitle()
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
@@ -108,7 +108,48 @@ The resultlist for a specific mark for a specific class.
<HR>
<P>
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/MarkResult.html#LEGTYPE_DOWNWIND">LEGTYPE_DOWNWIND</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/MarkResult.html#LEGTYPE_REACHING">LEGTYPE_REACHING</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/MarkResult.html#LEGTYPE_UNKNOWN">LEGTYPE_UNKNOWN</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/MarkResult.html#LEGTYPE_UPWIND">LEGTYPE_UPWIND</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
@@ -118,10 +159,11 @@ The resultlist for a specific mark for a specific class.
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/MarkResult.html#MarkResult(java.util.List, com.maptrack.client.data.EventClass, com.tractrac.ResultAPI.MarkResult, com.maptrack.client.data.ControlPoint)">MarkResult</A></B>(java.util.List&lt;com.maptrack.client.data.CompetitorMarkPassInfo&gt;&nbsp;markPassInfo,
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/MarkResult.html#MarkResult(java.util.List, com.maptrack.client.data.EventClass, com.tractrac.ResultAPI.MarkResult, com.maptrack.client.data.ControlPoint, double)">MarkResult</A></B>(java.util.List&lt;com.maptrack.client.data.CompetitorMarkPassInfo&gt;&nbsp;markPassInfo,
com.maptrack.client.data.EventClass&nbsp;eventClass,
<A HREF="../../../com/tractrac/ResultAPI/MarkResult.html" title="class in com.tractrac.ResultAPI">MarkResult</A>&nbsp;previousMark,
com.maptrack.client.data.ControlPoint&nbsp;cp)</CODE>
com.maptrack.client.data.ControlPoint&nbsp;cp,
double&nbsp;legDirection)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor for the MarkResult.</TD>
@@ -162,6 +204,14 @@ The resultlist for a specific mark for a specific class.
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/MarkResult.html#getLegType()">getLegType</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the type of leg: LEGTYPE_UPWIND, LEGTYPE_DOWNWIND, LEGTYPE_REACHING or LEGTYPE_UNKNOWN.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/MarkResult.html#getMarkName()">getMarkName</A></B>()</CODE>
@@ -205,6 +255,55 @@ The resultlist for a specific mark for a specific class.
&nbsp;
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="LEGTYPE_UNKNOWN"><!-- --></A><H3>
LEGTYPE_UNKNOWN</H3>
<PRE>
public static final int <B>LEGTYPE_UNKNOWN</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.tractrac.ResultAPI.MarkResult.LEGTYPE_UNKNOWN">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="LEGTYPE_UPWIND"><!-- --></A><H3>
LEGTYPE_UPWIND</H3>
<PRE>
public static final int <B>LEGTYPE_UPWIND</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.tractrac.ResultAPI.MarkResult.LEGTYPE_UPWIND">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="LEGTYPE_DOWNWIND"><!-- --></A><H3>
LEGTYPE_DOWNWIND</H3>
<PRE>
public static final int <B>LEGTYPE_DOWNWIND</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.tractrac.ResultAPI.MarkResult.LEGTYPE_DOWNWIND">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="LEGTYPE_REACHING"><!-- --></A><H3>
LEGTYPE_REACHING</H3>
<PRE>
public static final int <B>LEGTYPE_REACHING</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.tractrac.ResultAPI.MarkResult.LEGTYPE_REACHING">Constant Field Values</A></DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
@@ -215,13 +314,14 @@ The resultlist for a specific mark for a specific class.
</TR>
</TABLE>
<A NAME="MarkResult(java.util.List, com.maptrack.client.data.EventClass, com.tractrac.ResultAPI.MarkResult, com.maptrack.client.data.ControlPoint)"><!-- --></A><H3>
<A NAME="MarkResult(java.util.List, com.maptrack.client.data.EventClass, com.tractrac.ResultAPI.MarkResult, com.maptrack.client.data.ControlPoint, double)"><!-- --></A><H3>
MarkResult</H3>
<PRE>
public <B>MarkResult</B>(java.util.List&lt;com.maptrack.client.data.CompetitorMarkPassInfo&gt;&nbsp;markPassInfo,
com.maptrack.client.data.EventClass&nbsp;eventClass,
<A HREF="../../../com/tractrac/ResultAPI/MarkResult.html" title="class in com.tractrac.ResultAPI">MarkResult</A>&nbsp;previousMark,
com.maptrack.client.data.ControlPoint&nbsp;cp)</PRE>
com.maptrack.client.data.ControlPoint&nbsp;cp,
double&nbsp;legDirection)</PRE>
<DL>
<DD>Constructor for the MarkResult.
<br><br><b>NOTE: Constructor is normally not used by API customers.</b>
@@ -336,6 +436,28 @@ public java.lang.String <B>getMarkShortName</B>()</PRE>
<DT><B>Returns:</B><DD>the short name of the mark the list is generated for</DL>
</DD>
</DL>
<HR>
<A NAME="getLegType()"><!-- --></A><H3>
getLegType</H3>
<PRE>
public int <B>getLegType</B>()</PRE>
<DL>
<DD>Get the type of leg: LEGTYPE_UPWIND, LEGTYPE_DOWNWIND, LEGTYPE_REACHING or LEGTYPE_UNKNOWN.
<p>
Note that legtype isn't entered as part of the course defination, but calculated using the following logic:
<ul>
<li>First leg is considered an upwind leg</li>
<li>Leg +/- 22.5 degrees compared to first leg are also considered upwind</li>
<li>Legs 180 +/- 22.5 degress compared to the first leg are considered downwind</li>
<li>All other legs are considered reaching</li>
</p>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the legType as an int</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
@@ -387,9 +509,9 @@ public java.lang.String <B>getMarkShortName</B>()</PRE>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
+5 -5
View File
@@ -2,13 +2,13 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
MarkResultItem (TracTrac Result API)
</TITLE>
<META NAME="date" CONTENT="2011-06-02">
<META NAME="date" CONTENT="2011-06-15">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
@@ -720,7 +720,7 @@ public double <B>getSOG</B>()</PRE>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the speed over ground (SOG) as measured by distance / time. NaN is returned for the start mark.</DL>
<DT><B>Returns:</B><DD>the speed over ground (SOG) in knots as measured by distance / time. NaN is returned for the start mark.</DL>
</DD>
</DL>
<HR>
@@ -747,7 +747,7 @@ public double <B>getVMG</B>()</PRE>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the VMG (velocity made good) measured as distance between marks / time used on leg. NaN is returned for the start mark.</DL>
<DT><B>Returns:</B><DD>the VMG (velocity made good) in knots measured as distance between marks / time used on leg. NaN is returned for the start mark.</DL>
</DD>
</DL>
<HR>
@@ -774,7 +774,7 @@ public double <B>getTopspeed</B>()</PRE>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the topspeed measured over 10 seconds. NaN is returned for the start mark.</DL>
<DT><B>Returns:</B><DD>the topspeed measured over 10 seconds in km/h. NaN is returned for the start mark.</DL>
</DD>
</DL>
<HR>
+8 -6
View File
@@ -2,13 +2,13 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
PerLegResult (TracTrac Result API)
</TITLE>
<META NAME="date" CONTENT="2011-06-02">
<META NAME="date" CONTENT="2011-06-15">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
@@ -118,9 +118,10 @@ A result for one class for all marks
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/PerLegResult.html#PerLegResult(com.maptrack.client.gui.IProgressDataGetter, com.maptrack.client.data.ClientEventRaceData, com.maptrack.client.data.EventClass)">PerLegResult</A></B>(com.maptrack.client.gui.IProgressDataGetter&nbsp;pdg,
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/PerLegResult.html#PerLegResult(com.maptrack.client.gui.IProgressDataGetter, com.maptrack.client.data.ClientEventRaceData, com.maptrack.client.data.EventClass, com.maptrack.clientsail.data.BoatRaceData)">PerLegResult</A></B>(com.maptrack.client.gui.IProgressDataGetter&nbsp;pdg,
com.maptrack.client.data.ClientEventRaceData&nbsp;erd,
com.maptrack.client.data.EventClass&nbsp;eventClass)</CODE>
com.maptrack.client.data.EventClass&nbsp;eventClass,
com.maptrack.clientsail.data.BoatRaceData&nbsp;brd)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constructer for the PerLegResult.</TD>
@@ -198,12 +199,13 @@ A result for one class for all marks
</TR>
</TABLE>
<A NAME="PerLegResult(com.maptrack.client.gui.IProgressDataGetter, com.maptrack.client.data.ClientEventRaceData, com.maptrack.client.data.EventClass)"><!-- --></A><H3>
<A NAME="PerLegResult(com.maptrack.client.gui.IProgressDataGetter, com.maptrack.client.data.ClientEventRaceData, com.maptrack.client.data.EventClass, com.maptrack.clientsail.data.BoatRaceData)"><!-- --></A><H3>
PerLegResult</H3>
<PRE>
public <B>PerLegResult</B>(com.maptrack.client.gui.IProgressDataGetter&nbsp;pdg,
com.maptrack.client.data.ClientEventRaceData&nbsp;erd,
com.maptrack.client.data.EventClass&nbsp;eventClass)</PRE>
com.maptrack.client.data.EventClass&nbsp;eventClass,
com.maptrack.clientsail.data.BoatRaceData&nbsp;brd)</PRE>
<DL>
<DD>The constructer for the PerLegResult.
<br><b>Note: Normally not called by API users</b>
+3 -3
View File
@@ -2,13 +2,13 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
ResultGenerator (TracTrac Result API)
</TITLE>
<META NAME="date" CONTENT="2011-06-02">
<META NAME="date" CONTENT="2011-06-15">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
@@ -286,7 +286,7 @@ public void <B>recalcuateWithWind</B>(long&nbsp;timems,
</ul>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>timems</CODE> - Time in milliseconds to calculate results for<DD><CODE>windDirectionDegrees</CODE> - The wind direction in degrees from 0 to 359</DL>
<DT><B>Parameters:</B><DD><CODE>timems</CODE> - Time in milliseconds to calculate results for<DD><CODE>windDirectionDegrees</CODE> - The wind direction (where the wind is coming from) in degrees from 0 to 359.</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
@@ -2,13 +2,13 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class com.tractrac.ResultAPI.LiveResult (TracTrac Result API)
</TITLE>
<META NAME="date" CONTENT="2011-06-02">
<META NAME="date" CONTENT="2011-06-15">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
@@ -2,13 +2,13 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class com.tractrac.ResultAPI.LiveResultItem (TracTrac Result API)
</TITLE>
<META NAME="date" CONTENT="2011-06-02">
<META NAME="date" CONTENT="2011-06-15">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
@@ -2,13 +2,13 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class com.tractrac.ResultAPI.MarkResult (TracTrac Result API)
</TITLE>
<META NAME="date" CONTENT="2011-06-02">
<META NAME="date" CONTENT="2011-06-15">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
@@ -130,10 +130,11 @@ Uses of <A HREF="../../../../com/tractrac/ResultAPI/MarkResult.html" title="clas
<TH ALIGN="left" COLSPAN="2">Constructors in <A HREF="../../../../com/tractrac/ResultAPI/package-summary.html">com.tractrac.ResultAPI</A> with parameters of type <A HREF="../../../../com/tractrac/ResultAPI/MarkResult.html" title="class in com.tractrac.ResultAPI">MarkResult</A></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/tractrac/ResultAPI/MarkResult.html#MarkResult(java.util.List, com.maptrack.client.data.EventClass, com.tractrac.ResultAPI.MarkResult, com.maptrack.client.data.ControlPoint)">MarkResult</A></B>(java.util.List&lt;com.maptrack.client.data.CompetitorMarkPassInfo&gt;&nbsp;markPassInfo,
<TD><CODE><B><A HREF="../../../../com/tractrac/ResultAPI/MarkResult.html#MarkResult(java.util.List, com.maptrack.client.data.EventClass, com.tractrac.ResultAPI.MarkResult, com.maptrack.client.data.ControlPoint, double)">MarkResult</A></B>(java.util.List&lt;com.maptrack.client.data.CompetitorMarkPassInfo&gt;&nbsp;markPassInfo,
com.maptrack.client.data.EventClass&nbsp;eventClass,
<A HREF="../../../../com/tractrac/ResultAPI/MarkResult.html" title="class in com.tractrac.ResultAPI">MarkResult</A>&nbsp;previousMark,
com.maptrack.client.data.ControlPoint&nbsp;cp)</CODE>
com.maptrack.client.data.ControlPoint&nbsp;cp,
double&nbsp;legDirection)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor for the MarkResult.</TD>
@@ -2,13 +2,13 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class com.tractrac.ResultAPI.MarkResultItem (TracTrac Result API)
</TITLE>
<META NAME="date" CONTENT="2011-06-02">
<META NAME="date" CONTENT="2011-06-15">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
@@ -2,13 +2,13 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class com.tractrac.ResultAPI.PerLegResult (TracTrac Result API)
</TITLE>
<META NAME="date" CONTENT="2011-06-02">
<META NAME="date" CONTENT="2011-06-15">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
@@ -2,13 +2,13 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class com.tractrac.ResultAPI.ResultGenerator (TracTrac Result API)
</TITLE>
<META NAME="date" CONTENT="2011-06-02">
<META NAME="date" CONTENT="2011-06-15">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
+2 -2
View File
@@ -2,13 +2,13 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
com.tractrac.ResultAPI (TracTrac Result API)
</TITLE>
<META NAME="date" CONTENT="2011-06-02">
<META NAME="date" CONTENT="2011-06-15">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
+2 -2
View File
@@ -2,13 +2,13 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
com.tractrac.ResultAPI (TracTrac Result API)
</TITLE>
<META NAME="date" CONTENT="2011-06-02">
<META NAME="date" CONTENT="2011-06-15">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
+2 -2
View File
@@ -2,13 +2,13 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
com.tractrac.ResultAPI Class Hierarchy (TracTrac Result API)
</TITLE>
<META NAME="date" CONTENT="2011-06-02">
<META NAME="date" CONTENT="2011-06-15">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
+2 -2
View File
@@ -2,13 +2,13 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Package com.tractrac.ResultAPI (TracTrac Result API)
</TITLE>
<META NAME="date" CONTENT="2011-06-02">
<META NAME="date" CONTENT="2011-06-15">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
+48 -2
View File
@@ -2,13 +2,13 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Constant Field Values (TracTrac Result API)
</TITLE>
<META NAME="date" CONTENT="2011-06-02">
<META NAME="date" CONTENT="2011-06-15">
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
@@ -85,8 +85,54 @@ Constant Field Values</H1>
</CENTER>
<HR SIZE="4" NOSHADE>
<B>Contents</B><UL>
<LI><A HREF="#com.tractrac">com.tractrac.*</A>
</UL>
<A NAME="com.tractrac"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left"><FONT SIZE="+2">
com.tractrac.*</FONT></TH>
</TR>
</TABLE>
<P>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left" COLSPAN="3">com.tractrac.ResultAPI.<A HREF="com/tractrac/ResultAPI/MarkResult.html" title="class in com.tractrac.ResultAPI">MarkResult</A></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<A NAME="com.tractrac.ResultAPI.MarkResult.LEGTYPE_DOWNWIND"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
<TD ALIGN="left"><CODE><A HREF="com/tractrac/ResultAPI/MarkResult.html#LEGTYPE_DOWNWIND">LEGTYPE_DOWNWIND</A></CODE></TD>
<TD ALIGN="right"><CODE>2</CODE></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<A NAME="com.tractrac.ResultAPI.MarkResult.LEGTYPE_REACHING"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
<TD ALIGN="left"><CODE><A HREF="com/tractrac/ResultAPI/MarkResult.html#LEGTYPE_REACHING">LEGTYPE_REACHING</A></CODE></TD>
<TD ALIGN="right"><CODE>3</CODE></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<A NAME="com.tractrac.ResultAPI.MarkResult.LEGTYPE_UNKNOWN"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
<TD ALIGN="left"><CODE><A HREF="com/tractrac/ResultAPI/MarkResult.html#LEGTYPE_UNKNOWN">LEGTYPE_UNKNOWN</A></CODE></TD>
<TD ALIGN="right"><CODE>0</CODE></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<A NAME="com.tractrac.ResultAPI.MarkResult.LEGTYPE_UPWIND"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
<TD ALIGN="left"><CODE><A HREF="com/tractrac/ResultAPI/MarkResult.html#LEGTYPE_UPWIND">LEGTYPE_UPWIND</A></CODE></TD>
<TD ALIGN="right"><CODE>1</CODE></TD>
</TR>
</FONT></TD>
</TR>
</TABLE>
<P>
<P>
<HR>
+2 -2
View File
@@ -2,13 +2,13 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Deprecated List (TracTrac Result API)
</TITLE>
<META NAME="date" CONTENT="2011-06-02">
<META NAME="date" CONTENT="2011-06-15">
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
+2 -2
View File
@@ -2,13 +2,13 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
API Help (TracTrac Result API)
</TITLE>
<META NAME="date" CONTENT="2011-06-02">
<META NAME="date" CONTENT="2011-06-15">
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
+2 -2
View File
@@ -2,13 +2,13 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
C-Index (TracTrac Result API)
</TITLE>
<META NAME="date" CONTENT="2011-06-02">
<META NAME="date" CONTENT="2011-06-15">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
+11 -2
View File
@@ -2,13 +2,13 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
G-Index (TracTrac Result API)
</TITLE>
<META NAME="date" CONTENT="2011-06-02">
<META NAME="date" CONTENT="2011-06-15">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
@@ -151,6 +151,9 @@ Method in class com.tractrac.ResultAPI.<A HREF="../com/tractrac/ResultAPI/MarkRe
<DT><A HREF="../com/tractrac/ResultAPI/MarkResultItem.html#getLegtime()"><B>getLegtime()</B></A> -
Method in class com.tractrac.ResultAPI.<A HREF="../com/tractrac/ResultAPI/MarkResultItem.html" title="class in com.tractrac.ResultAPI">MarkResultItem</A>
<DD>Get the time used on last leg
<DT><A HREF="../com/tractrac/ResultAPI/MarkResult.html#getLegType()"><B>getLegType()</B></A> -
Method in class com.tractrac.ResultAPI.<A HREF="../com/tractrac/ResultAPI/MarkResult.html" title="class in com.tractrac.ResultAPI">MarkResult</A>
<DD>Get the type of leg: LEGTYPE_UPWIND, LEGTYPE_DOWNWIND, LEGTYPE_REACHING or LEGTYPE_UNKNOWN.
<DT><A HREF="../com/tractrac/ResultAPI/ResultGenerator.html#getLiveResults()"><B>getLiveResults()</B></A> -
Method in class com.tractrac.ResultAPI.<A HREF="../com/tractrac/ResultAPI/ResultGenerator.html" title="class in com.tractrac.ResultAPI">ResultGenerator</A>
<DD>Generates a live result list for the last time recalculate was run.
@@ -223,9 +226,15 @@ Method in class com.tractrac.ResultAPI.<A HREF="../com/tractrac/ResultAPI/LiveRe
<DT><A HREF="../com/tractrac/ResultAPI/MarkResultItem.html#getUuid()"><B>getUuid()</B></A> -
Method in class com.tractrac.ResultAPI.<A HREF="../com/tractrac/ResultAPI/MarkResultItem.html" title="class in com.tractrac.ResultAPI">MarkResultItem</A>
<DD>Get the UUID of the competitor
<DT><A HREF="../com/tractrac/ResultAPI/LiveResultItem.html#getVmg()"><B>getVmg()</B></A> -
Method in class com.tractrac.ResultAPI.<A HREF="../com/tractrac/ResultAPI/LiveResultItem.html" title="class in com.tractrac.ResultAPI">LiveResultItem</A>
<DD>Get VMG in knots measured at a point
<DT><A HREF="../com/tractrac/ResultAPI/MarkResultItem.html#getVMG()"><B>getVMG()</B></A> -
Method in class com.tractrac.ResultAPI.<A HREF="../com/tractrac/ResultAPI/MarkResultItem.html" title="class in com.tractrac.ResultAPI">MarkResultItem</A>
<DD>Get the VMG for the last leg
<DT><A HREF="../com/tractrac/ResultAPI/LiveResultItem.html#getVmgAverage30s()"><B>getVmgAverage30s()</B></A> -
Method in class com.tractrac.ResultAPI.<A HREF="../com/tractrac/ResultAPI/LiveResultItem.html" title="class in com.tractrac.ResultAPI">LiveResultItem</A>
<DD>Get the in knots VMG averaged over 30 seconds
</DL>
<HR>
+2 -2
View File
@@ -2,13 +2,13 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
I-Index (TracTrac Result API)
</TITLE>
<META NAME="date" CONTENT="2011-06-02">
<META NAME="date" CONTENT="2011-06-15">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
+14 -2
View File
@@ -2,13 +2,13 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
L-Index (TracTrac Result API)
</TITLE>
<META NAME="date" CONTENT="2011-06-02">
<META NAME="date" CONTENT="2011-06-15">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
@@ -82,6 +82,18 @@ function windowTitle()
<A NAME="_L_"><!-- --></A><H2>
<B>L</B></H2>
<DL>
<DT><A HREF="../com/tractrac/ResultAPI/MarkResult.html#LEGTYPE_DOWNWIND"><B>LEGTYPE_DOWNWIND</B></A> -
Static variable in class com.tractrac.ResultAPI.<A HREF="../com/tractrac/ResultAPI/MarkResult.html" title="class in com.tractrac.ResultAPI">MarkResult</A>
<DD>&nbsp;
<DT><A HREF="../com/tractrac/ResultAPI/MarkResult.html#LEGTYPE_REACHING"><B>LEGTYPE_REACHING</B></A> -
Static variable in class com.tractrac.ResultAPI.<A HREF="../com/tractrac/ResultAPI/MarkResult.html" title="class in com.tractrac.ResultAPI">MarkResult</A>
<DD>&nbsp;
<DT><A HREF="../com/tractrac/ResultAPI/MarkResult.html#LEGTYPE_UNKNOWN"><B>LEGTYPE_UNKNOWN</B></A> -
Static variable in class com.tractrac.ResultAPI.<A HREF="../com/tractrac/ResultAPI/MarkResult.html" title="class in com.tractrac.ResultAPI">MarkResult</A>
<DD>&nbsp;
<DT><A HREF="../com/tractrac/ResultAPI/MarkResult.html#LEGTYPE_UPWIND"><B>LEGTYPE_UPWIND</B></A> -
Static variable in class com.tractrac.ResultAPI.<A HREF="../com/tractrac/ResultAPI/MarkResult.html" title="class in com.tractrac.ResultAPI">MarkResult</A>
<DD>&nbsp;
<DT><A HREF="../com/tractrac/ResultAPI/LiveResult.html" title="class in com.tractrac.ResultAPI"><B>LiveResult</B></A> - Class in <A HREF="../com/tractrac/ResultAPI/package-summary.html">com.tractrac.ResultAPI</A><DD>A class representing a live result for sailing
The result compares boats on all legs.<DT><A HREF="../com/tractrac/ResultAPI/LiveResult.html#LiveResult(com.maptrack.clientsail.data.ResultListBoat, com.maptrack.client.data.EventClass)"><B>LiveResult(ResultListBoat, EventClass)</B></A> -
+3 -3
View File
@@ -2,13 +2,13 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
M-Index (TracTrac Result API)
</TITLE>
<META NAME="date" CONTENT="2011-06-02">
<META NAME="date" CONTENT="2011-06-15">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
@@ -82,7 +82,7 @@ function windowTitle()
<A NAME="_M_"><!-- --></A><H2>
<B>M</B></H2>
<DL>
<DT><A HREF="../com/tractrac/ResultAPI/MarkResult.html" title="class in com.tractrac.ResultAPI"><B>MarkResult</B></A> - Class in <A HREF="../com/tractrac/ResultAPI/package-summary.html">com.tractrac.ResultAPI</A><DD>The resultlist for a specific mark for a specific class.<DT><A HREF="../com/tractrac/ResultAPI/MarkResult.html#MarkResult(java.util.List, com.maptrack.client.data.EventClass, com.tractrac.ResultAPI.MarkResult, com.maptrack.client.data.ControlPoint)"><B>MarkResult(List&lt;CompetitorMarkPassInfo&gt;, EventClass, MarkResult, ControlPoint)</B></A> -
<DT><A HREF="../com/tractrac/ResultAPI/MarkResult.html" title="class in com.tractrac.ResultAPI"><B>MarkResult</B></A> - Class in <A HREF="../com/tractrac/ResultAPI/package-summary.html">com.tractrac.ResultAPI</A><DD>The resultlist for a specific mark for a specific class.<DT><A HREF="../com/tractrac/ResultAPI/MarkResult.html#MarkResult(java.util.List, com.maptrack.client.data.EventClass, com.tractrac.ResultAPI.MarkResult, com.maptrack.client.data.ControlPoint, double)"><B>MarkResult(List&lt;CompetitorMarkPassInfo&gt;, EventClass, MarkResult, ControlPoint, double)</B></A> -
Constructor for class com.tractrac.ResultAPI.<A HREF="../com/tractrac/ResultAPI/MarkResult.html" title="class in com.tractrac.ResultAPI">MarkResult</A>
<DD>Constructor for the MarkResult.
<DT><A HREF="../com/tractrac/ResultAPI/MarkResultItem.html" title="class in com.tractrac.ResultAPI"><B>MarkResultItem</B></A> - Class in <A HREF="../com/tractrac/ResultAPI/package-summary.html">com.tractrac.ResultAPI</A><DD>Contains all information about a mark-rounding per competitor per mark.<DT><A HREF="../com/tractrac/ResultAPI/MarkResultItem.html#MarkResultItem()"><B>MarkResultItem()</B></A> -
+3 -3
View File
@@ -2,13 +2,13 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
P-Index (TracTrac Result API)
</TITLE>
<META NAME="date" CONTENT="2011-06-02">
<META NAME="date" CONTENT="2011-06-15">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
@@ -82,7 +82,7 @@ function windowTitle()
<A NAME="_P_"><!-- --></A><H2>
<B>P</B></H2>
<DL>
<DT><A HREF="../com/tractrac/ResultAPI/PerLegResult.html" title="class in com.tractrac.ResultAPI"><B>PerLegResult</B></A> - Class in <A HREF="../com/tractrac/ResultAPI/package-summary.html">com.tractrac.ResultAPI</A><DD>A result for one class for all marks<DT><A HREF="../com/tractrac/ResultAPI/PerLegResult.html#PerLegResult(com.maptrack.client.gui.IProgressDataGetter, com.maptrack.client.data.ClientEventRaceData, com.maptrack.client.data.EventClass)"><B>PerLegResult(IProgressDataGetter, ClientEventRaceData, EventClass)</B></A> -
<DT><A HREF="../com/tractrac/ResultAPI/PerLegResult.html" title="class in com.tractrac.ResultAPI"><B>PerLegResult</B></A> - Class in <A HREF="../com/tractrac/ResultAPI/package-summary.html">com.tractrac.ResultAPI</A><DD>A result for one class for all marks<DT><A HREF="../com/tractrac/ResultAPI/PerLegResult.html#PerLegResult(com.maptrack.client.gui.IProgressDataGetter, com.maptrack.client.data.ClientEventRaceData, com.maptrack.client.data.EventClass, com.maptrack.clientsail.data.BoatRaceData)"><B>PerLegResult(IProgressDataGetter, ClientEventRaceData, EventClass, BoatRaceData)</B></A> -
Constructor for class com.tractrac.ResultAPI.<A HREF="../com/tractrac/ResultAPI/PerLegResult.html" title="class in com.tractrac.ResultAPI">PerLegResult</A>
<DD>The constructer for the PerLegResult.
</DL>
+2 -2
View File
@@ -2,13 +2,13 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
R-Index (TracTrac Result API)
</TITLE>
<META NAME="date" CONTENT="2011-06-02">
<META NAME="date" CONTENT="2011-06-15">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
+8 -2
View File
@@ -2,13 +2,13 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
S-Index (TracTrac Result API)
</TITLE>
<META NAME="date" CONTENT="2011-06-02">
<META NAME="date" CONTENT="2011-06-15">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
@@ -173,9 +173,15 @@ Method in class com.tractrac.ResultAPI.<A HREF="../com/tractrac/ResultAPI/LiveRe
<DT><A HREF="../com/tractrac/ResultAPI/MarkResultItem.html#setUuid(java.util.UUID)"><B>setUuid(UUID)</B></A> -
Method in class com.tractrac.ResultAPI.<A HREF="../com/tractrac/ResultAPI/MarkResultItem.html" title="class in com.tractrac.ResultAPI">MarkResultItem</A>
<DD>Set the UUID of the competitor
<DT><A HREF="../com/tractrac/ResultAPI/LiveResultItem.html#setVmg(double)"><B>setVmg(double)</B></A> -
Method in class com.tractrac.ResultAPI.<A HREF="../com/tractrac/ResultAPI/LiveResultItem.html" title="class in com.tractrac.ResultAPI">LiveResultItem</A>
<DD>Set VMG in knots measured at a point
<DT><A HREF="../com/tractrac/ResultAPI/MarkResultItem.html#setVMG(double)"><B>setVMG(double)</B></A> -
Method in class com.tractrac.ResultAPI.<A HREF="../com/tractrac/ResultAPI/MarkResultItem.html" title="class in com.tractrac.ResultAPI">MarkResultItem</A>
<DD>Set the VMG of the last leg
<DT><A HREF="../com/tractrac/ResultAPI/LiveResultItem.html#setVmgAverage30s(double)"><B>setVmgAverage30s(double)</B></A> -
Method in class com.tractrac.ResultAPI.<A HREF="../com/tractrac/ResultAPI/LiveResultItem.html" title="class in com.tractrac.ResultAPI">LiveResultItem</A>
<DD>Set the VMG in knots averaged over 30 seconds
</DL>
<HR>
+2 -2
View File
@@ -2,13 +2,13 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
V-Index (TracTrac Result API)
</TITLE>
<META NAME="date" CONTENT="2011-06-02">
<META NAME="date" CONTENT="2011-06-15">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
+1 -1
View File
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Thu Jun 02 10:36:51 CEST 2011-->
<!-- Generated by javadoc on Wed Jun 15 11:41:57 CEST 2011-->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
TracTrac Result API
+2 -2
View File
@@ -2,13 +2,13 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Class Hierarchy (TracTrac Result API)
</TITLE>
<META NAME="date" CONTENT="2011-06-02">
<META NAME="date" CONTENT="2011-06-15">
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
View File
File mode changed.
View File
File mode changed.

Before

Width:  |  Height:  |  Size: 57 B

After

Width:  |  Height:  |  Size: 57 B

View File
File mode changed.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,164 +0,0 @@
/*
* Demonstration of the TracTrac Result API
*
*/
package com.tractrac;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.URL;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.TimeZone;
import com.tractrac.ResultAPI.LiveResult;
import com.tractrac.ResultAPI.LiveResultItem;
import com.tractrac.ResultAPI.MarkResult;
import com.tractrac.ResultAPI.MarkResultItem;
import com.tractrac.ResultAPI.PerLegResult;
import com.tractrac.ResultAPI.ResultGenerator;
/**
*
* @author Lasse Staffensen, TracTrac
*/
public class ResultAPITester {
// Set the time zone to UTC to correspond with the server
static {
TimeZone.setDefault(TimeZone.getTimeZone("UTC"));
}
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
try {
// Use the start-time of program to make a simply timer
long startTimeReal = System.currentTimeMillis();
// Set the start-time of the race
Calendar cal = new GregorianCalendar(111, 3, 01, 00, 20, 00);
long StartTimeRace = cal.getTimeInMillis();
// Set the speed up of the demonstration
int speedup = 10;
// Instance the resultgenerator using a URL for a specific race
ResultGenerator generator = new ResultGenerator(new URL("http://germanmaster.traclive.dk/events/event_20110308_SAPWorldCh/clientparams.php?event=event_20110308_SAPWorldCh&race=5ffe619e-4962-11e0-8236-406186cbf87c&ci=&minimize=&LiveDelaySecs="));
// Start out not using custom wind
boolean useWindDirection = false;
double windDirectionDegrees = 0;
// Set up a simply text-based GUI
while (true) {
System.out.print("Press L for live result, P for per leg result, W to set wind, Q to quit.\n:");
// open up standard input
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String command = null;
try {
command = br.readLine();
// Calculate time according to our simple timer
long time = (System.currentTimeMillis() - startTimeReal) * speedup + StartTimeRace;
System.out.println("Current time: " + new SimpleDateFormat().format(new Date(time)));
if (useWindDirection) System.out.println("Using wind directino: " + windDirectionDegrees);
else System.out.println("Not using wind direction");
if (command.equalsIgnoreCase("Q")) System.exit(0);
// Check of wind should be changed
if (command.equalsIgnoreCase("w")) {
System.out.println("\nlEnter wind. N for none or 0-359 to set wind direction.\n:");
command = br.readLine();
if (command.equalsIgnoreCase("n")) {
useWindDirection = false;
windDirectionDegrees = 0;
} else {
try {
windDirectionDegrees = Double.valueOf(command).doubleValue();
useWindDirection = true;
} catch (Exception e) {
System.out.println("Unable to interpret wind direction");
}
}
}
// Recalculate results - using or not using custom wind
if (useWindDirection) generator.recalcuateWithWind(time, windDirectionDegrees);
else generator.recalculate(time);
// Generator the live results lists
if (command.equalsIgnoreCase("L")) {
// Get a list for each class
for(LiveResult liveResult : generator.getLiveResults()) {
System.out.println("\tClass: " + liveResult.getClassName());
// Get a result item for each competitor
for (LiveResultItem item : liveResult.values()) {
System.out.println("\t\tRank: " + item.getRank());
System.out.println("\t\t\tName: " + item.getName());
System.out.println("\t\t\tShort: " + item.getShortName());
System.out.println("\t\t\tTeam: " + item.getTeam());
System.out.println("\t\t\tDescription: " + item.getDescription());
System.out.println("\t\t\tNationality: " + item.getNationality());
System.out.println("\t\t\tAfter at finish: " + item.getAfterAtFinish());
System.out.println("\t\t\tDistance to next mark: " + item.getDistNextMark());
System.out.println("\t\t\tDistance to finish: " + item.getDistToFinish());
System.out.println("\t\t\tDistance behind leader: " + item.getDistanceBehind());
System.out.println("\t\t\tHeading: " + item.getHeading());
System.out.println("\t\t\tLatitude: " + item.getLatitude());
System.out.println("\t\t\tLongitude: " + item.getLongitude());
System.out.println("\t\t\tSpeed: " + item.getSpeed());
System.out.println("\t\t\tFinished: " + item.isHasFinished());
}
}
}
// Generator the per leg result list
if (command.equalsIgnoreCase("P")) {
// Get at per leg result per class
for (PerLegResult plr : generator.getPerLegResults()) {
System.out.println("\tClass: " + plr.getClassName());
int m = 0;
// Get a result list per mark
for (MarkResult markResult : plr.values()) {
System.out.println("\tMark: " + markResult.getMarkName() + " - " + (m+1) + "/" + plr.getMarkCount());
m++;
// Get a result item per competitor
for (MarkResultItem item : markResult.values()) {
System.out.println("\t\tRank: " + item.getRank());
System.out.println("\t\t\t\tName: " + item.getName());
System.out.println("\t\t\t\tShort: " + item.getShortName());
System.out.println("\t\t\t\tTeam: " + item.getTeam());
System.out.println("\t\t\t\tDescription: " + item.getDescription());
System.out.println("\t\t\t\tNationality: " + item.getNationality());
System.out.println("\t\t\t\tAfter: " + item.getAfter());
System.out.println("\t\t\t\tDeltarank: " + item.getDeltarank());
System.out.println("\t\t\t\tLeg rank: " + item.getLegrank());
System.out.println("\t\t\t\tLeg time: " + item.getLegtime());
System.out.println("\t\t\t\tSOG: " + item.getSOG());
System.out.println("\t\t\t\tTop speed: " + item.getTopspeed());
System.out.println("\t\t\t\tTravelled distance: " + item.getTraveledDistance());
System.out.println("\t\t\t\tVMG: " + item.getVMG());
}
}
}
}
} catch (IOException ioe) {
System.out.println("IO error trying to read stdin");
System.exit(1);
}
}
} catch (Exception e) {
e.printStackTrace();
}
}
}