<!-- iframe showing the search results (closed by default) -->
<divid="MSearchResultsWindow">
<iframesrc="javascript:void(0)"frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<divclass="header">
<divclass="summary">
<ahref="#func-members">Functions</a></div>
<divclass="headertitle">
<divclass="title">Getters and setters<divclass="ingroups"><aclass="el"href="../../d9/d80/group__higherlevel.html">Higher level methods, setters and getters</a></div></div></div>
<trclass="memdesc:gae8b8c0ab24ccb572281785aeca8541e1"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns true if the racer was stopped at minimum distance. This set to false each time start_stop_at_min_distance() is called. <ahref="#gae8b8c0ab24ccb572281785aeca8541e1">More...</a><br/></td></tr>
<trclass="memdesc:ga33dcd96e9b12dec794c56be85ec1ee05"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Return true if the racer is driving - forward or backward. <ahref="#ga33dcd96e9b12dec794c56be85ec1ee05">More...</a><br/></td></tr>
<trclass="memdesc:gaf04fd16ca0e2ace656f9549c43d16459"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the duration of time that is internally stored and used for turning the racer left. <ahref="#gaf04fd16ca0e2ace656f9549c43d16459">More...</a><br/></td></tr>
<trclass="memdesc:gac0698f02f6a21d9d1f5b9cf2820306cf"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the duration of time that is internally stored and used for turning the racer left. <ahref="#gac0698f02f6a21d9d1f5b9cf2820306cf">More...</a><br/></td></tr>
<trclass="memdesc:ga62f1c0eea56e27d0853cb58f30eb140d"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Sets the coderracer_active state to inactive. If start_stop() is used - the inactive mode will be entered. <ahref="#ga62f1c0eea56e27d0853cb58f30eb140d">More...</a><br/></td></tr>
<trclass="memdesc:ga415c69930f291d5e06b7211b31843310"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Sets the coderracer_active state to active. If start_stop() is used - the active mode will be entered. <ahref="#ga415c69930f291d5e06b7211b31843310">More...</a><br/></td></tr>
<trclass="memdesc:gaa0ab4d6a754a23ea13664a553bcc8ff2"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Checks if coderracer_activ is set. <ahref="#gaa0ab4d6a754a23ea13664a553bcc8ff2">More...</a><br/></td></tr>
<p>Returns true if the racer was stopped at minimum distance. This set to false each time start_stop_at_min_distance() is called. </p>
<dlclass="section return"><dt>Returns</dt><dd>True if stopped. </dd></dl>
<pclass="definition">Definition at line <aclass="el"href="../../d4/da7/_code_racer_8cpp_source.html#l00380">380</a> of file <aclass="el"href="../../d4/da7/_code_racer_8cpp_source.html">CodeRacer.cpp</a>.</p>
<divclass="fragment"><divclass="line"><aname="l00380"></a><spanclass="lineno"> 380</span>  {</div><divclass="line"><aname="l00381"></a><spanclass="lineno"> 381</span> <spanclass="keywordflow">return</span>(_coderacer_stopped_at_min_distance);</div><divclass="line"><aname="l00382"></a><spanclass="lineno"> 382</span> }</div></div><!-- fragment -->
<p>Return true if the racer is driving - forward or backward. </p>
<dlclass="section return"><dt>Returns</dt><dd>True if driving forward or backward </dd></dl>
<pclass="definition">Definition at line <aclass="el"href="../../d4/da7/_code_racer_8cpp_source.html#l00387">387</a> of file <aclass="el"href="../../d4/da7/_code_racer_8cpp_source.html">CodeRacer.cpp</a>.</p>
<divclass="fragment"><divclass="line"><aname="l00387"></a><spanclass="lineno"> 387</span>  {</div><divclass="line"><aname="l00388"></a><spanclass="lineno"> 388</span> <spanclass="keywordflow">return</span>(_drive);</div><divclass="line"><aname="l00389"></a><spanclass="lineno"> 389</span> }</div></div><!-- fragment -->
<tdclass="memname">unsigned long CodeRacer::turn_left_for_ms </td>
<td>(</td>
<tdclass="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><divclass="memdoc">
<p>Returns the duration of time that is internally stored and used for turning the racer left. </p>
<dlclass="section return"><dt>Returns</dt><dd>Time to turn left in ms </dd></dl>
<pclass="definition">Definition at line <aclass="el"href="../../d4/da7/_code_racer_8cpp_source.html#l00394">394</a> of file <aclass="el"href="../../d4/da7/_code_racer_8cpp_source.html">CodeRacer.cpp</a>.</p>
<divclass="fragment"><divclass="line"><aname="l00394"></a><spanclass="lineno"> 394</span>  {</div><divclass="line"><aname="l00395"></a><spanclass="lineno"> 395</span> <spanclass="keywordflow">return</span>(_turn_left_for_ms);</div><divclass="line"><aname="l00396"></a><spanclass="lineno"> 396</span> }</div></div><!-- fragment -->
<tdclass="memname">unsigned long CodeRacer::turn_right_for_ms </td>
<td>(</td>
<tdclass="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><divclass="memdoc">
<p>Returns the duration of time that is internally stored and used for turning the racer left. </p>
<dlclass="section return"><dt>Returns</dt><dd>Time to turn left in ms </dd></dl>
<pclass="definition">Definition at line <aclass="el"href="../../d4/da7/_code_racer_8cpp_source.html#l00401">401</a> of file <aclass="el"href="../../d4/da7/_code_racer_8cpp_source.html">CodeRacer.cpp</a>.</p>
<divclass="fragment"><divclass="line"><aname="l00401"></a><spanclass="lineno"> 401</span>  {</div><divclass="line"><aname="l00402"></a><spanclass="lineno"> 402</span> <spanclass="keywordflow">return</span>(_turn_right_for_ms);</div><divclass="line"><aname="l00403"></a><spanclass="lineno"> 403</span> }</div></div><!-- fragment -->
<pclass="definition">Definition at line <aclass="el"href="../../d4/da7/_code_racer_8cpp_source.html#l00408">408</a> of file <aclass="el"href="../../d4/da7/_code_racer_8cpp_source.html">CodeRacer.cpp</a>.</p>
<divclass="fragment"><divclass="line"><aname="l00408"></a><spanclass="lineno"> 408</span>  {</div><divclass="line"><aname="l00409"></a><spanclass="lineno"> 409</span>  coderracer_activ = <spanclass="keyword">false</span>;</div><divclass="line"><aname="l00410"></a><spanclass="lineno"> 410</span> }</div></div><!-- fragment -->
<pclass="definition">Definition at line <aclass="el"href="../../d4/da7/_code_racer_8cpp_source.html#l00415">415</a> of file <aclass="el"href="../../d4/da7/_code_racer_8cpp_source.html">CodeRacer.cpp</a>.</p>
<divclass="fragment"><divclass="line"><aname="l00415"></a><spanclass="lineno"> 415</span>  {</div><divclass="line"><aname="l00416"></a><spanclass="lineno"> 416</span>  coderracer_activ = <spanclass="keyword">true</span>;</div><divclass="line"><aname="l00417"></a><spanclass="lineno"> 417</span> }</div></div><!-- fragment -->
<p>coderracer_activ is toggled each time the button is pressed. After power on coderracer_activ is set to False. </p><dlclass="section return"><dt>Returns</dt><dd>True id coderracer_activ is set - False if not. </dd></dl>
<pclass="definition">Definition at line <aclass="el"href="../../d4/da7/_code_racer_8cpp_source.html#l00424">424</a> of file <aclass="el"href="../../d4/da7/_code_racer_8cpp_source.html">CodeRacer.cpp</a>.</p>
<divclass="fragment"><divclass="line"><aname="l00424"></a><spanclass="lineno"> 424</span>  {</div><divclass="line"><aname="l00425"></a><spanclass="lineno"> 425</span> <spanclass="keywordflow">return</span>(coderracer_activ);</div><divclass="line"><aname="l00426"></a><spanclass="lineno"> 426</span> }</div></div><!-- fragment -->
</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<divid="nav-path"class="navpath"><!-- id is needed for treeview function! -->