Added ChessClockWizard class
[chessclock] / www / html / turninformation_8cpp_source.html
index beb3f50..227e7da 100644 (file)
@@ -83,29 +83,30 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
 <a name="l00040"></a><a class="code" href="class_turn_information.html#ab8d3aa0183f400b64b217d39e920bb69">00040</a> <span class="keywordtype">void</span> <a class="code" href="class_turn_information.html#ab8d3aa0183f400b64b217d39e920bb69">TurnInformation::addPause</a>(<span class="keywordtype">int</span> msecs)
 <a name="l00041"></a>00041 {
 <a name="l00042"></a>00042     <span class="keywordflow">if</span>( !<a class="code" href="class_turn_information.html#a8e0a6eb69455755152da7705e46e1f48" title="time available after this turn in msecs">turnReady_</a> )
-<a name="l00043"></a>00043         pause_ += msecs;
-<a name="l00044"></a>00044 }
-<a name="l00045"></a>00045 
-<a name="l00046"></a><a class="code" href="class_turn_information.html#a8820646aa51dd407d909fa08b55d52c5">00046</a> <span class="keywordtype">void</span> <a class="code" href="class_turn_information.html#a8820646aa51dd407d909fa08b55d52c5" title="Mark turn ready.">TurnInformation::turnReady</a>(<span class="keywordtype">int</span> msecs)
-<a name="l00047"></a>00047 {
-<a name="l00048"></a>00048     <a class="code" href="class_turn_information.html#a5516d055dd81c55b75567247b8293cde" title="duration of pauses in msecs">timeAfter_</a> = msecs;
-<a name="l00049"></a>00049     <a class="code" href="class_turn_information.html#a8e0a6eb69455755152da7705e46e1f48" title="time available after this turn in msecs">turnReady_</a> = <span class="keyword">true</span>;
-<a name="l00050"></a>00050 }
-<a name="l00051"></a>00051 
-<a name="l00052"></a><a class="code" href="class_turn_information.html#ad8f3352abc78dfdc7cc1715912602dbb">00052</a> <span class="keywordtype">int</span> <a class="code" href="class_turn_information.html#ad8f3352abc78dfdc7cc1715912602dbb" title="Time available for this player after this turn.">TurnInformation::getTimeAfter</a>()
-<a name="l00053"></a>00053 {
-<a name="l00054"></a>00054     <span class="keywordflow">if</span>( <a class="code" href="class_turn_information.html#a8e0a6eb69455755152da7705e46e1f48" title="time available after this turn in msecs">turnReady_</a> )
-<a name="l00055"></a>00055         <span class="keywordflow">return</span> <a class="code" href="class_turn_information.html#a5516d055dd81c55b75567247b8293cde" title="duration of pauses in msecs">timeAfter_</a>;
-<a name="l00056"></a>00056     <span class="keywordflow">else</span>
-<a name="l00057"></a>00057         <span class="keywordflow">return</span> 0;
-<a name="l00058"></a>00058 }
+<a name="l00043"></a>00043         <a class="code" href="class_turn_information.html#a045f9d3fb6faea111cb6bc1e798ca40d" title="duration of turn in msecs">paused_</a> += msecs;
+<a name="l00044"></a>00044 
+<a name="l00045"></a>00045 }
+<a name="l00046"></a>00046 
+<a name="l00047"></a><a class="code" href="class_turn_information.html#a8820646aa51dd407d909fa08b55d52c5">00047</a> <span class="keywordtype">void</span> <a class="code" href="class_turn_information.html#a8820646aa51dd407d909fa08b55d52c5" title="Mark turn ready.">TurnInformation::turnReady</a>(<span class="keywordtype">int</span> msecs)
+<a name="l00048"></a>00048 {
+<a name="l00049"></a>00049     <a class="code" href="class_turn_information.html#a5516d055dd81c55b75567247b8293cde" title="duration of pauses in msecs">timeAfter_</a> = msecs;
+<a name="l00050"></a>00050     <a class="code" href="class_turn_information.html#a8e0a6eb69455755152da7705e46e1f48" title="time available after this turn in msecs">turnReady_</a> = <span class="keyword">true</span>;
+<a name="l00051"></a>00051 }
+<a name="l00052"></a>00052 
+<a name="l00053"></a><a class="code" href="class_turn_information.html#acca895a029b03caa72115aed776e3070">00053</a> <span class="keywordtype">int</span> <a class="code" href="class_turn_information.html#acca895a029b03caa72115aed776e3070" title="Time available for this player after this turn.">TurnInformation::getTimeAfter</a>()<span class="keyword"> const</span>
+<a name="l00054"></a>00054 <span class="keyword"></span>{
+<a name="l00055"></a>00055     <span class="keywordflow">if</span>( <a class="code" href="class_turn_information.html#a8e0a6eb69455755152da7705e46e1f48" title="time available after this turn in msecs">turnReady_</a> )
+<a name="l00056"></a>00056         <span class="keywordflow">return</span> <a class="code" href="class_turn_information.html#a5516d055dd81c55b75567247b8293cde" title="duration of pauses in msecs">timeAfter_</a>;
+<a name="l00057"></a>00057     <span class="keywordflow">else</span>
+<a name="l00058"></a>00058         <span class="keywordflow">return</span> 0;
+<a name="l00059"></a>00059 }
 </pre></div></div>
 <!--- window showing the filter options -->
 <div id="MSearchSelectWindow"
      onmouseover="return searchBox.OnSearchSelectShow()"
      onmouseout="return searchBox.OnSearchSelectHide()"
      onkeydown="return searchBox.OnSearchSelectKey(event)">
-<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Variables</a></div>
+<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Enumerator</a></div>
 
 <!-- iframe showing the search results (closed by default) -->
 <div id="MSearchResultsWindow">
@@ -114,7 +115,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
 </iframe>
 </div>
 
-<hr class="footer"/><address style="text-align: right;"><small>Generated on Fri Aug 13 22:27:27 2010 for Chess Clock by&nbsp;
+<hr class="footer"/><address style="text-align: right;"><small>Generated on Sat Aug 14 01:28:48 2010 for Chess Clock by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
 </body>