<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.18"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>VizBlocks: Behaviours.h Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/searchdata.js"></script> <script type="text/javascript" src="search/search.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">VizBlocks </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.18 --> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ var searchBox = new SearchBox("searchBox", "search",false,'Search'); /* @license-end */ </script> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(function() { initMenu('',true,false,'search.php','Search'); $(document).ready(function() { init_search(); }); }); /* @license-end */</script> <div id="main-nav"></div> </div><!-- top --> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> </div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <div class="header"> <div class="headertitle"> <div class="title">Behaviours.h</div> </div> </div><!--header--> <div class="contents"> <a href="_behaviours_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#ifndef BEHAVIOUR_h</span></div> <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#define BEHAVIOUR_h</span></div> <div class="line"><a name="l00003"></a><span class="lineno"> 3</span>  </div> <div class="line"><a name="l00004"></a><span class="lineno"><a class="line" href="class_behaviour.html"> 4</a></span> <span class="keyword">class </span><a class="code" href="class_behaviour.html">Behaviour</a> {</div> <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="keyword">protected</span>:</div> <div class="line"><a name="l00006"></a><span class="lineno"><a class="line" href="class_behaviour.html#ab26c8020df403d81ff28d13e22b61c81"> 6</a></span>  <span class="keywordtype">boolean</span> <a class="code" href="class_behaviour.html#ab26c8020df403d81ff28d13e22b61c81">_interruptable</a> = <span class="keyword">true</span>;</div> <div class="line"><a name="l00007"></a><span class="lineno"><a class="line" href="class_behaviour.html#acbe345ebc552c4f6875ec845d2697f9f"> 7</a></span>  <span class="keywordtype">boolean</span> <a class="code" href="class_behaviour.html#acbe345ebc552c4f6875ec845d2697f9f">_temp</a> = <span class="keyword">false</span>;</div> <div class="line"><a name="l00008"></a><span class="lineno"><a class="line" href="class_behaviour.html#af1f8d319677a6935c28acbbea643c46c"> 8</a></span>  <span class="keywordtype">boolean</span> <a class="code" href="class_behaviour.html#af1f8d319677a6935c28acbbea643c46c">_priority</a> = <span class="keyword">false</span>;</div> <div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="class_behaviour.html#a4397ea529500c0c3259777ffa4a6bad2"> 9</a></span>  <span class="keywordtype">boolean</span> <a class="code" href="class_behaviour.html#a4397ea529500c0c3259777ffa4a6bad2">_running</a> = <span class="keyword">false</span>;</div> <div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="class_behaviour.html#a93c2dc62b373e7d4b58c7cebded12f16"> 10</a></span>  <span class="keywordtype">boolean</span> <a class="code" href="class_behaviour.html#a93c2dc62b373e7d4b58c7cebded12f16">_background</a> = <span class="keyword">false</span>;</div> <div class="line"><a name="l00011"></a><span class="lineno"><a class="line" href="class_behaviour.html#ad6628fb93079b0f8e2ef4412a9046416"> 11</a></span>  String <a class="code" href="class_behaviour.html#ad6628fb93079b0f8e2ef4412a9046416">_name</a> = <span class="stringliteral">"name"</span>;</div> <div class="line"><a name="l00012"></a><span class="lineno"> 12</span>  </div> <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="keyword">public</span>:</div> <div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="class_behaviour.html#aa09d1af17d15fa0c204f2b713e46fba0"> 14</a></span>  <a class="code" href="class_behaviour.html#aa09d1af17d15fa0c204f2b713e46fba0">Behaviour</a>(String <a class="code" href="class_behaviour.html#a766009be6f0ed1acd74d4ba5c138a7bd">name</a>) : <a class="code" href="class_behaviour.html#ad6628fb93079b0f8e2ef4412a9046416">_name</a>(<a class="code" href="class_behaviour.html#a766009be6f0ed1acd74d4ba5c138a7bd">name</a>) {};</div> <div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="class_behaviour.html#ab9099279876aa70410ab96ca589531df"> 15</a></span>  <a class="code" href="class_behaviour.html#ab9099279876aa70410ab96ca589531df">~Behaviour</a>() {};</div> <div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  </div> <div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  <span class="comment">//Can this behaviour be interruped</span></div> <div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="class_behaviour.html#a6194e394bab5d264e333b6962173064d"> 18</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">boolean</span> <a class="code" href="class_behaviour.html#a6194e394bab5d264e333b6962173064d">is_interruptable</a>() { <span class="keywordflow">return</span> <a class="code" href="class_behaviour.html#ab26c8020df403d81ff28d13e22b61c81">_interruptable</a>; };</div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  <span class="comment">//Can this behaviour be run quickly without stopping what's going on (e.g. comms, debug)</span></div> <div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="class_behaviour.html#a0d07ba942e21d9d368c5e3837de068b3"> 20</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">boolean</span> <a class="code" href="class_behaviour.html#a0d07ba942e21d9d368c5e3837de068b3">is_temp</a>() { <span class="keywordflow">return</span> <a class="code" href="class_behaviour.html#acbe345ebc552c4f6875ec845d2697f9f">_temp</a>; };</div> <div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  <span class="comment">//Should this behaviour override others</span></div> <div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="class_behaviour.html#a2c47f0e25b4084939bd5cb5f78012385"> 22</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">boolean</span> <a class="code" href="class_behaviour.html#a2c47f0e25b4084939bd5cb5f78012385">is_priority</a>() { <span class="keywordflow">return</span> <a class="code" href="class_behaviour.html#af1f8d319677a6935c28acbbea643c46c">_priority</a>; };</div> <div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  <span class="comment">//Is the behaviour running</span></div> <div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="class_behaviour.html#a629c91d3771c7938b22ff393b95518ef"> 24</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">boolean</span> <a class="code" href="class_behaviour.html#a629c91d3771c7938b22ff393b95518ef">is_running</a>() { <span class="keywordflow">return</span> <a class="code" href="class_behaviour.html#a4397ea529500c0c3259777ffa4a6bad2">_running</a>; };</div> <div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <span class="comment">//What's the name of this behaviour</span></div> <div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="class_behaviour.html#a0f976beeea75cc999f4ce5cbdc889d54"> 26</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">boolean</span> <a class="code" href="class_behaviour.html#a0f976beeea75cc999f4ce5cbdc889d54">is_background</a>() { <span class="keywordflow">return</span> <a class="code" href="class_behaviour.html#a93c2dc62b373e7d4b58c7cebded12f16">_background</a>; };</div> <div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <span class="comment">//What's the name of this behaviour</span></div> <div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="class_behaviour.html#a766009be6f0ed1acd74d4ba5c138a7bd"> 28</a></span>  <span class="keyword">virtual</span> String <a class="code" href="class_behaviour.html#a766009be6f0ed1acd74d4ba5c138a7bd">name</a>() { <span class="keywordflow">return</span> <a class="code" href="class_behaviour.html#ad6628fb93079b0f8e2ef4412a9046416">_name</a>; };</div> <div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="comment">//What arguments does the behaviour take? Override this to document your behaviour</span></div> <div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="class_behaviour.html#ad5aa6388bf5b47911ae801ebbf82e35d"> 30</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">char</span>* <a class="code" href="class_behaviour.html#ad5aa6388bf5b47911ae801ebbf82e35d">args</a>() { <span class="keywordflow">return</span> <span class="stringliteral">"null"</span>; };</div> <div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="comment">//Start the behaviour, with arguments (don't know why this can't be virtual?)</span></div> <div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="class_behaviour.html#ab4bc4b2d9d9ec727fd84796c6c6d44b3"> 32</a></span>  <span class="keyword">virtual</span> String <a class="code" href="class_behaviour.html#ab4bc4b2d9d9ec727fd84796c6c6d44b3">start</a>(String <a class="code" href="class_behaviour.html#ad5aa6388bf5b47911ae801ebbf82e35d">args</a>) { Serial.println(<span class="stringliteral">"Base start called <"</span>+<a class="code" href="class_behaviour.html#ad5aa6388bf5b47911ae801ebbf82e35d">args</a>+<span class="stringliteral">">"</span>); };</div> <div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="comment">//Update the behaviour periodically</span></div> <div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="class_behaviour.html#a4b8190a1a262ab969fd7706cc55906c6"> 34</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_behaviour.html#a4b8190a1a262ab969fd7706cc55906c6">update</a>() { };</div> <div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="comment">//Start the behaviour, with arguments (don't know why this can't be virtual?)</span></div> <div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="class_behaviour.html#a56f7e55bee64010414c07deb79426a9b"> 36</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_behaviour.html#a56f7e55bee64010414c07deb79426a9b">stop</a>() { <a class="code" href="class_behaviour.html#a4397ea529500c0c3259777ffa4a6bad2">_running</a> = <span class="keyword">false</span>; };</div> <div class="line"><a name="l00037"></a><span class="lineno"> 37</span> };</div> <div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  </div> <div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="comment">/*</span></div> <div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="comment"> * Example way to make a simple behaviour</span></div> <div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="comment"> */</span></div> <div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="class_test_behaviour.html"> 42</a></span> <span class="keyword">class </span><a class="code" href="class_test_behaviour.html">TestBehaviour</a> : <span class="keyword">public</span> <a class="code" href="class_behaviour.html">Behaviour</a> {</div> <div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="keyword">public</span>:</div> <div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="class_test_behaviour.html#a5afea3d7ff816836e2344ae76592dbb2"> 44</a></span>  <a class="code" href="class_test_behaviour.html#a5afea3d7ff816836e2344ae76592dbb2">TestBehaviour</a>(String n) : <a class="code" href="class_behaviour.html">Behaviour</a>(n) {}</div> <div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="class_test_behaviour.html#a683ca283ac33cd8e13e4ef17e67c803a"> 45</a></span>  String <a class="code" href="class_test_behaviour.html#a683ca283ac33cd8e13e4ef17e67c803a">start</a>(String <a class="code" href="class_behaviour.html#ad5aa6388bf5b47911ae801ebbf82e35d">args</a>) {</div> <div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keywordflow">return</span> <span class="stringliteral">"Test behaviour "</span> + <a class="code" href="class_behaviour.html#ad6628fb93079b0f8e2ef4412a9046416">_name</a> + <span class="stringliteral">" with ("</span> + <a class="code" href="class_behaviour.html#ad5aa6388bf5b47911ae801ebbf82e35d">args</a> + <span class="stringliteral">")"</span>;</div> <div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  }</div> <div class="line"><a name="l00048"></a><span class="lineno"> 48</span> };</div> <div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  </div> <div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  </div> <div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="class_behaviour_table.html"> 51</a></span> <span class="keyword">class </span><a class="code" href="class_behaviour_table.html">BehaviourTable</a> {</div> <div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <a class="code" href="class_behaviour.html">Behaviour</a>* behaviours[40];</div> <div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  </div> <div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <span class="keyword">public</span>:</div> <div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="class_behaviour_table.html#ad9d97706571921853ee9264a4c8b5002"> 55</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_behaviour_table.html#ad9d97706571921853ee9264a4c8b5002">num</a> = 0;</div> <div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  </div> <div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="class_behaviour_table.html#a418f3281a4015f9aee5bf96f04bbc7e2"> 57</a></span>  <a class="code" href="class_behaviour_table.html#a418f3281a4015f9aee5bf96f04bbc7e2">BehaviourTable</a>() {}</div> <div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  </div> <div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="class_behaviour_table.html#a96ee4c7c933eb504cec5869f32b685af"> 59</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_behaviour_table.html#a96ee4c7c933eb504cec5869f32b685af">add</a>(<a class="code" href="class_behaviour.html">Behaviour</a> *b) {</div> <div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  behaviours[<a class="code" href="class_behaviour_table.html#ad9d97706571921853ee9264a4c8b5002">num</a>] = b;</div> <div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <a class="code" href="class_behaviour_table.html#ad9d97706571921853ee9264a4c8b5002">num</a>++;</div> <div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  }</div> <div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  </div> <div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="class_behaviour_table.html#ad5d8a74149039069429b8220bd20387a"> 64</a></span>  <a class="code" href="class_behaviour.html">Behaviour</a>* <a class="code" href="class_behaviour_table.html#ad5d8a74149039069429b8220bd20387a">get</a>(String n) {</div> <div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keywordflow">for</span>( <span class="keywordtype">int</span> i = 0; i < <a class="code" href="class_behaviour_table.html#ad9d97706571921853ee9264a4c8b5002">num</a>; i++ ) {</div> <div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keywordflow">if</span>( behaviours[i]->name() == n) { <span class="keywordflow">return</span> behaviours[i]; }</div> <div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  }</div> <div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keywordflow">return</span> <span class="keyword">nullptr</span>;</div> <div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  }</div> <div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  </div> <div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="class_behaviour_table.html#a9032dcf2ef997e471bb24f1d5a01b526"> 71</a></span>  <a class="code" href="class_behaviour.html">Behaviour</a>* <a class="code" href="class_behaviour_table.html#a9032dcf2ef997e471bb24f1d5a01b526">get_by_num</a>(<span class="keywordtype">int</span> n) {</div> <div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keywordflow">return</span> behaviours[n];</div> <div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  }</div> <div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  </div> <div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="class_behaviour_table.html#a54ee378244ccb20084f6d9f3e629cce9"> 75</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_behaviour_table.html#a54ee378244ccb20084f6d9f3e629cce9">get_num_behaviours</a>() {</div> <div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keywordflow">return</span> <a class="code" href="class_behaviour_table.html#ad9d97706571921853ee9264a4c8b5002">num</a>;</div> <div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  }</div> <div class="line"><a name="l00078"></a><span class="lineno"> 78</span> };</div> <div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  </div> <div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <span class="preprocessor">#endif</span></div> </div><!-- fragment --></div><!-- contents --> <div class="ttc" id="aclass_behaviour_table_html"><div class="ttname"><a href="class_behaviour_table.html">BehaviourTable</a></div><div class="ttdef"><b>Definition:</b> Behaviours.h:51</div></div> <div class="ttc" id="aclass_behaviour_html_a93c2dc62b373e7d4b58c7cebded12f16"><div class="ttname"><a href="class_behaviour.html#a93c2dc62b373e7d4b58c7cebded12f16">Behaviour::_background</a></div><div class="ttdeci">boolean _background</div><div class="ttdef"><b>Definition:</b> Behaviours.h:10</div></div> <div class="ttc" id="aclass_behaviour_html_a766009be6f0ed1acd74d4ba5c138a7bd"><div class="ttname"><a href="class_behaviour.html#a766009be6f0ed1acd74d4ba5c138a7bd">Behaviour::name</a></div><div class="ttdeci">virtual String name()</div><div class="ttdef"><b>Definition:</b> Behaviours.h:28</div></div> <div class="ttc" id="aclass_behaviour_html_ad5aa6388bf5b47911ae801ebbf82e35d"><div class="ttname"><a href="class_behaviour.html#ad5aa6388bf5b47911ae801ebbf82e35d">Behaviour::args</a></div><div class="ttdeci">virtual char * args()</div><div class="ttdef"><b>Definition:</b> Behaviours.h:30</div></div> <div class="ttc" id="aclass_behaviour_html_a4b8190a1a262ab969fd7706cc55906c6"><div class="ttname"><a href="class_behaviour.html#a4b8190a1a262ab969fd7706cc55906c6">Behaviour::update</a></div><div class="ttdeci">virtual void update()</div><div class="ttdef"><b>Definition:</b> Behaviours.h:34</div></div> <div class="ttc" id="aclass_behaviour_table_html_a9032dcf2ef997e471bb24f1d5a01b526"><div class="ttname"><a href="class_behaviour_table.html#a9032dcf2ef997e471bb24f1d5a01b526">BehaviourTable::get_by_num</a></div><div class="ttdeci">Behaviour * get_by_num(int n)</div><div class="ttdef"><b>Definition:</b> Behaviours.h:71</div></div> <div class="ttc" id="aclass_behaviour_html_a6194e394bab5d264e333b6962173064d"><div class="ttname"><a href="class_behaviour.html#a6194e394bab5d264e333b6962173064d">Behaviour::is_interruptable</a></div><div class="ttdeci">virtual boolean is_interruptable()</div><div class="ttdef"><b>Definition:</b> Behaviours.h:18</div></div> <div class="ttc" id="aclass_behaviour_table_html_a418f3281a4015f9aee5bf96f04bbc7e2"><div class="ttname"><a href="class_behaviour_table.html#a418f3281a4015f9aee5bf96f04bbc7e2">BehaviourTable::BehaviourTable</a></div><div class="ttdeci">BehaviourTable()</div><div class="ttdef"><b>Definition:</b> Behaviours.h:57</div></div> <div class="ttc" id="aclass_behaviour_table_html_ad5d8a74149039069429b8220bd20387a"><div class="ttname"><a href="class_behaviour_table.html#ad5d8a74149039069429b8220bd20387a">BehaviourTable::get</a></div><div class="ttdeci">Behaviour * get(String n)</div><div class="ttdef"><b>Definition:</b> Behaviours.h:64</div></div> <div class="ttc" id="aclass_behaviour_html_ad6628fb93079b0f8e2ef4412a9046416"><div class="ttname"><a href="class_behaviour.html#ad6628fb93079b0f8e2ef4412a9046416">Behaviour::_name</a></div><div class="ttdeci">String _name</div><div class="ttdef"><b>Definition:</b> Behaviours.h:11</div></div> <div class="ttc" id="aclass_behaviour_html"><div class="ttname"><a href="class_behaviour.html">Behaviour</a></div><div class="ttdef"><b>Definition:</b> Behaviours.h:4</div></div> <div class="ttc" id="aclass_behaviour_html_ab26c8020df403d81ff28d13e22b61c81"><div class="ttname"><a href="class_behaviour.html#ab26c8020df403d81ff28d13e22b61c81">Behaviour::_interruptable</a></div><div class="ttdeci">boolean _interruptable</div><div class="ttdef"><b>Definition:</b> Behaviours.h:6</div></div> <div class="ttc" id="aclass_behaviour_html_acbe345ebc552c4f6875ec845d2697f9f"><div class="ttname"><a href="class_behaviour.html#acbe345ebc552c4f6875ec845d2697f9f">Behaviour::_temp</a></div><div class="ttdeci">boolean _temp</div><div class="ttdef"><b>Definition:</b> Behaviours.h:7</div></div> <div class="ttc" id="aclass_behaviour_table_html_ad9d97706571921853ee9264a4c8b5002"><div class="ttname"><a href="class_behaviour_table.html#ad9d97706571921853ee9264a4c8b5002">BehaviourTable::num</a></div><div class="ttdeci">int num</div><div class="ttdef"><b>Definition:</b> Behaviours.h:55</div></div> <div class="ttc" id="aclass_behaviour_html_ab4bc4b2d9d9ec727fd84796c6c6d44b3"><div class="ttname"><a href="class_behaviour.html#ab4bc4b2d9d9ec727fd84796c6c6d44b3">Behaviour::start</a></div><div class="ttdeci">virtual String start(String args)</div><div class="ttdef"><b>Definition:</b> Behaviours.h:32</div></div> <div class="ttc" id="aclass_behaviour_html_a0d07ba942e21d9d368c5e3837de068b3"><div class="ttname"><a href="class_behaviour.html#a0d07ba942e21d9d368c5e3837de068b3">Behaviour::is_temp</a></div><div class="ttdeci">virtual boolean is_temp()</div><div class="ttdef"><b>Definition:</b> Behaviours.h:20</div></div> <div class="ttc" id="aclass_test_behaviour_html_a5afea3d7ff816836e2344ae76592dbb2"><div class="ttname"><a href="class_test_behaviour.html#a5afea3d7ff816836e2344ae76592dbb2">TestBehaviour::TestBehaviour</a></div><div class="ttdeci">TestBehaviour(String n)</div><div class="ttdef"><b>Definition:</b> Behaviours.h:44</div></div> <div class="ttc" id="aclass_behaviour_html_a56f7e55bee64010414c07deb79426a9b"><div class="ttname"><a href="class_behaviour.html#a56f7e55bee64010414c07deb79426a9b">Behaviour::stop</a></div><div class="ttdeci">virtual void stop()</div><div class="ttdef"><b>Definition:</b> Behaviours.h:36</div></div> <div class="ttc" id="aclass_behaviour_table_html_a54ee378244ccb20084f6d9f3e629cce9"><div class="ttname"><a href="class_behaviour_table.html#a54ee378244ccb20084f6d9f3e629cce9">BehaviourTable::get_num_behaviours</a></div><div class="ttdeci">int get_num_behaviours()</div><div class="ttdef"><b>Definition:</b> Behaviours.h:75</div></div> <div class="ttc" id="aclass_test_behaviour_html_a683ca283ac33cd8e13e4ef17e67c803a"><div class="ttname"><a href="class_test_behaviour.html#a683ca283ac33cd8e13e4ef17e67c803a">TestBehaviour::start</a></div><div class="ttdeci">String start(String args)</div><div class="ttdef"><b>Definition:</b> Behaviours.h:45</div></div> <div class="ttc" id="aclass_test_behaviour_html"><div class="ttname"><a href="class_test_behaviour.html">TestBehaviour</a></div><div class="ttdef"><b>Definition:</b> Behaviours.h:42</div></div> <div class="ttc" id="aclass_behaviour_html_aa09d1af17d15fa0c204f2b713e46fba0"><div class="ttname"><a href="class_behaviour.html#aa09d1af17d15fa0c204f2b713e46fba0">Behaviour::Behaviour</a></div><div class="ttdeci">Behaviour(String name)</div><div class="ttdef"><b>Definition:</b> Behaviours.h:14</div></div> <div class="ttc" id="aclass_behaviour_html_a4397ea529500c0c3259777ffa4a6bad2"><div class="ttname"><a href="class_behaviour.html#a4397ea529500c0c3259777ffa4a6bad2">Behaviour::_running</a></div><div class="ttdeci">boolean _running</div><div class="ttdef"><b>Definition:</b> Behaviours.h:9</div></div> <div class="ttc" id="aclass_behaviour_html_a629c91d3771c7938b22ff393b95518ef"><div class="ttname"><a href="class_behaviour.html#a629c91d3771c7938b22ff393b95518ef">Behaviour::is_running</a></div><div class="ttdeci">virtual boolean is_running()</div><div class="ttdef"><b>Definition:</b> Behaviours.h:24</div></div> <div class="ttc" id="aclass_behaviour_table_html_a96ee4c7c933eb504cec5869f32b685af"><div class="ttname"><a href="class_behaviour_table.html#a96ee4c7c933eb504cec5869f32b685af">BehaviourTable::add</a></div><div class="ttdeci">void add(Behaviour *b)</div><div class="ttdef"><b>Definition:</b> Behaviours.h:59</div></div> <div class="ttc" id="aclass_behaviour_html_a2c47f0e25b4084939bd5cb5f78012385"><div class="ttname"><a href="class_behaviour.html#a2c47f0e25b4084939bd5cb5f78012385">Behaviour::is_priority</a></div><div class="ttdeci">virtual boolean is_priority()</div><div class="ttdef"><b>Definition:</b> Behaviours.h:22</div></div> <div class="ttc" id="aclass_behaviour_html_a0f976beeea75cc999f4ce5cbdc889d54"><div class="ttname"><a href="class_behaviour.html#a0f976beeea75cc999f4ce5cbdc889d54">Behaviour::is_background</a></div><div class="ttdeci">virtual boolean is_background()</div><div class="ttdef"><b>Definition:</b> Behaviours.h:26</div></div> <div class="ttc" id="aclass_behaviour_html_af1f8d319677a6935c28acbbea643c46c"><div class="ttname"><a href="class_behaviour.html#af1f8d319677a6935c28acbbea643c46c">Behaviour::_priority</a></div><div class="ttdeci">boolean _priority</div><div class="ttdef"><b>Definition:</b> Behaviours.h:8</div></div> <div class="ttc" id="aclass_behaviour_html_ab9099279876aa70410ab96ca589531df"><div class="ttname"><a href="class_behaviour.html#ab9099279876aa70410ab96ca589531df">Behaviour::~Behaviour</a></div><div class="ttdeci">~Behaviour()</div><div class="ttdef"><b>Definition:</b> Behaviours.h:15</div></div> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.18 </small></address> </body> </html>