Skip to content

Commit

Permalink
example project directory structure
Browse files Browse the repository at this point in the history
  • Loading branch information
klavins committed Mar 12, 2019
1 parent 8f077b6 commit 2f3643d
Show file tree
Hide file tree
Showing 94 changed files with 686 additions and 545 deletions.
2 changes: 1 addition & 1 deletion docs/README_8md_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Developed by <a href="http://klavinslab.org">Eric Klavins</a> for UW ECE P 520<br>
Generated on Mon Mar 11 2019 00:40:18 for Elma by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Mar 12 2019 00:54:07 for Elma by &#160;<a href="http://www.doxygen.org/index.html">
Doxygen
</a> 1.8.8
</small></address>
Expand Down
2 changes: 1 addition & 1 deletion docs/annotated.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Developed by <a href="http://klavinslab.org">Eric Klavins</a> for UW ECE P 520<br>
Generated on Mon Mar 11 2019 00:40:19 for Elma by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Mar 12 2019 00:54:08 for Elma by &#160;<a href="http://www.doxygen.org/index.html">
Doxygen
</a> 1.8.8
</small></address>
Expand Down
2 changes: 1 addition & 1 deletion docs/basic_8cc.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Developed by <a href="http://klavinslab.org">Eric Klavins</a> for UW ECE P 520<br>
Generated on Mon Mar 11 2019 00:40:18 for Elma by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Mar 12 2019 00:54:07 for Elma by &#160;<a href="http://www.doxygen.org/index.html">
Doxygen
</a> 1.8.8
</small></address>
Expand Down
4 changes: 2 additions & 2 deletions docs/basic_8cc_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
<div class="ttc" id="classelma_1_1Manager_html"><div class="ttname"><a href="classelma_1_1Manager.html">elma::Manager</a></div><div class="ttdoc">The Process Manager class. </div><div class="ttdef"><b>Definition:</b> <a href="manager_8h_source.html#l00026">manager.h:26</a></div></div>
<div class="ttc" id="classelma_1_1Manager_html_aff7ec0e7409420c8d92a59443066738c"><div class="ttname"><a href="classelma_1_1Manager.html#aff7ec0e7409420c8d92a59443066738c">elma::Manager::schedule</a></div><div class="ttdeci">Manager &amp; schedule(Process &amp;process, high_resolution_clock::duration period)</div><div class="ttdef"><b>Definition:</b> <a href="manager_8cc_source.html#l00011">manager.cc:11</a></div></div>
<div class="ttc" id="classbasic__example_1_1BasicProcess_html_a5138630dba00f218acb13f31f7d4532f"><div class="ttname"><a href="classbasic__example_1_1BasicProcess.html#a5138630dba00f218acb13f31f7d4532f">basic_example::BasicProcess::init</a></div><div class="ttdeci">void init()</div><div class="ttdoc">Nothing to do to initialize. </div><div class="ttdef"><b>Definition:</b> <a href="basic_8cc_source.html#l00024">basic.cc:24</a></div></div>
<div class="ttc" id="classelma_1_1Manager_html_ad5df7316416ac9697d62e68e21f04758"><div class="ttname"><a href="classelma_1_1Manager.html#ad5df7316416ac9697d62e68e21f04758">elma::Manager::run</a></div><div class="ttdeci">Manager &amp; run(high_resolution_clock::duration)</div><div class="ttdef"><b>Definition:</b> <a href="manager_8cc_source.html#l00155">manager.cc:155</a></div></div>
<div class="ttc" id="classelma_1_1Manager_html_ad5df7316416ac9697d62e68e21f04758"><div class="ttname"><a href="classelma_1_1Manager.html#ad5df7316416ac9697d62e68e21f04758">elma::Manager::run</a></div><div class="ttdeci">Manager &amp; run(high_resolution_clock::duration)</div><div class="ttdef"><b>Definition:</b> <a href="manager_8cc_source.html#l00157">manager.cc:157</a></div></div>
<div class="ttc" id="classbasic__example_1_1BasicProcess_html_ae597a00726c51e7feff854f16d4886b2"><div class="ttname"><a href="classbasic__example_1_1BasicProcess.html#ae597a00726c51e7feff854f16d4886b2">basic_example::BasicProcess::start</a></div><div class="ttdeci">void start()</div><div class="ttdoc">Nothing to do to start. </div><div class="ttdef"><b>Definition:</b> <a href="basic_8cc_source.html#l00027">basic.cc:27</a></div></div>
<div class="ttc" id="classbasic__example_1_1BasicProcess_html"><div class="ttname"><a href="classbasic__example_1_1BasicProcess.html">basic_example::BasicProcess</a></div><div class="ttdoc">Example: A very basic process class. See the file examples/basic.cc for usage. </div><div class="ttdef"><b>Definition:</b> <a href="basic_8cc_source.html#l00016">basic.cc:16</a></div></div>
<div class="ttc" id="namespacestd_1_1chrono_html"><div class="ttname"><a href="namespacestd_1_1chrono.html">chrono</a></div></div>
Expand All @@ -148,7 +148,7 @@
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Developed by <a href="http://klavinslab.org">Eric Klavins</a> for UW ECE P 520<br>
Generated on Mon Mar 11 2019 00:40:18 for Elma by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Mar 12 2019 00:54:07 for Elma by &#160;<a href="http://www.doxygen.org/index.html">
Doxygen
</a> 1.8.8
</small></address>
Expand Down
2 changes: 1 addition & 1 deletion docs/channel_8cc_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Developed by <a href="http://klavinslab.org">Eric Klavins</a> for UW ECE P 520<br>
Generated on Mon Mar 11 2019 00:40:18 for Elma by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Mar 12 2019 00:54:07 for Elma by &#160;<a href="http://www.doxygen.org/index.html">
Doxygen
</a> 1.8.8
</small></address>
Expand Down
2 changes: 1 addition & 1 deletion docs/channel_8h_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Developed by <a href="http://klavinslab.org">Eric Klavins</a> for UW ECE P 520<br>
Generated on Mon Mar 11 2019 00:40:18 for Elma by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Mar 12 2019 00:54:07 for Elma by &#160;<a href="http://www.doxygen.org/index.html">
Doxygen
</a> 1.8.8
</small></address>
Expand Down
45 changes: 23 additions & 22 deletions docs/classbasic__example_1_1BasicProcess-members.html
Original file line number Diff line number Diff line change
Expand Up @@ -98,32 +98,33 @@
<tr><td class="entry"><a class="el" href="classelma_1_1Process.html#ab392ade636276d047634df7605970164">channel</a>(string name)</td><td class="entry"><a class="el" href="classelma_1_1Process.html">elma::Process</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classelma_1_1Process.html#ae2c6efe05132c558fe44c0cf301113e2">delta</a>()</td><td class="entry"><a class="el" href="classelma_1_1Process.html">elma::Process</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>emit</b>(const Event &amp;event) (defined in <a class="el" href="classelma_1_1Process.html">elma::Process</a>)</td><td class="entry"><a class="el" href="classelma_1_1Process.html">elma::Process</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>http_get</b>(std::string url, std::function&lt; void(json &amp;)&gt; handler) (defined in <a class="el" href="classelma_1_1Process.html">elma::Process</a>)</td><td class="entry"><a class="el" href="classelma_1_1Process.html">elma::Process</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classbasic__example_1_1BasicProcess.html#a5138630dba00f218acb13f31f7d4532f">init</a>()</td><td class="entry"><a class="el" href="classbasic__example_1_1BasicProcess.html">basic_example::BasicProcess</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classelma_1_1Process.html#a809b1e38a5504600d252f8f62a8bf487">last_update</a>()</td><td class="entry"><a class="el" href="classelma_1_1Process.html">elma::Process</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classelma_1_1Process.html#a713075c26ec23e09576ec966fb4be6ea">milli_time</a>()</td><td class="entry"><a class="el" href="classelma_1_1Process.html">elma::Process</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classelma_1_1Process.html#a7ce946a55e71578bc1d33cf0a826c0de">name</a>()</td><td class="entry"><a class="el" href="classelma_1_1Process.html">elma::Process</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classelma_1_1Process.html#a8da013223752f15787a3ff5ed2190211">num_updates</a>()</td><td class="entry"><a class="el" href="classelma_1_1Process.html">elma::Process</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classelma_1_1Process.html#ad210b775ce04da6d89fdc75435bab15f">period</a>()</td><td class="entry"><a class="el" href="classelma_1_1Process.html">elma::Process</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classelma_1_1Process.html#a2252f8767f4f437297c8a342b60b484e">previous_update</a>()</td><td class="entry"><a class="el" href="classelma_1_1Process.html">elma::Process</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classelma_1_1Process.html#a4445d9a192df2eedfda7fe82a626dac9">Process</a>(int n=0)</td><td class="entry"><a class="el" href="classelma_1_1Process.html">elma::Process</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classelma_1_1Process.html#a27a2b4642c368f48d1a7e35e92ae8ae4">Process</a>(std::string name, int n=0)</td><td class="entry"><a class="el" href="classelma_1_1Process.html">elma::Process</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>RUNNING</b> enum value (defined in <a class="el" href="classelma_1_1Process.html">elma::Process</a>)</td><td class="entry"><a class="el" href="classelma_1_1Process.html">elma::Process</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classbasic__example_1_1BasicProcess.html#ae597a00726c51e7feff854f16d4886b2">start</a>()</td><td class="entry"><a class="el" href="classbasic__example_1_1BasicProcess.html">basic_example::BasicProcess</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classelma_1_1Process.html#a347b1fd6fd7501bfd4b3ac63a9ee811e">start_time</a>()</td><td class="entry"><a class="el" href="classelma_1_1Process.html">elma::Process</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classelma_1_1Process.html#ae43200bae94b94df1ec5cc10ff6b191b">status</a>()</td><td class="entry"><a class="el" href="classelma_1_1Process.html">elma::Process</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classelma_1_1Process.html#a355d4150a5de734fcb8ff654b7eabf3e">status_type</a> enum name</td><td class="entry"><a class="el" href="classelma_1_1Process.html">elma::Process</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classbasic__example_1_1BasicProcess.html#a08fe736552a1c6b3f01d572d13bc4ca9">stop</a>()</td><td class="entry"><a class="el" href="classbasic__example_1_1BasicProcess.html">basic_example::BasicProcess</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>STOPPED</b> enum value (defined in <a class="el" href="classelma_1_1Process.html">elma::Process</a>)</td><td class="entry"><a class="el" href="classelma_1_1Process.html">elma::Process</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>UNINITIALIZED</b> enum value (defined in <a class="el" href="classelma_1_1Process.html">elma::Process</a>)</td><td class="entry"><a class="el" href="classelma_1_1Process.html">elma::Process</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classbasic__example_1_1BasicProcess.html#a69c033d32c509410a734956ea44cadbf">update</a>()</td><td class="entry"><a class="el" href="classbasic__example_1_1BasicProcess.html">basic_example::BasicProcess</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>watch</b>(string event_name, std::function&lt; void(Event &amp;)&gt; handler) (defined in <a class="el" href="classelma_1_1Process.html">elma::Process</a>)</td><td class="entry"><a class="el" href="classelma_1_1Process.html">elma::Process</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>~Process</b>()=default (defined in <a class="el" href="classelma_1_1Process.html">elma::Process</a>)</td><td class="entry"><a class="el" href="classelma_1_1Process.html">elma::Process</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>halt</b>() (defined in <a class="el" href="classelma_1_1Process.html">elma::Process</a>)</td><td class="entry"><a class="el" href="classelma_1_1Process.html">elma::Process</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>http_get</b>(std::string url, std::function&lt; void(json &amp;)&gt; handler) (defined in <a class="el" href="classelma_1_1Process.html">elma::Process</a>)</td><td class="entry"><a class="el" href="classelma_1_1Process.html">elma::Process</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classbasic__example_1_1BasicProcess.html#a5138630dba00f218acb13f31f7d4532f">init</a>()</td><td class="entry"><a class="el" href="classbasic__example_1_1BasicProcess.html">basic_example::BasicProcess</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="classelma_1_1Process.html#a809b1e38a5504600d252f8f62a8bf487">last_update</a>()</td><td class="entry"><a class="el" href="classelma_1_1Process.html">elma::Process</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classelma_1_1Process.html#a713075c26ec23e09576ec966fb4be6ea">milli_time</a>()</td><td class="entry"><a class="el" href="classelma_1_1Process.html">elma::Process</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classelma_1_1Process.html#a7ce946a55e71578bc1d33cf0a826c0de">name</a>()</td><td class="entry"><a class="el" href="classelma_1_1Process.html">elma::Process</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classelma_1_1Process.html#a8da013223752f15787a3ff5ed2190211">num_updates</a>()</td><td class="entry"><a class="el" href="classelma_1_1Process.html">elma::Process</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classelma_1_1Process.html#ad210b775ce04da6d89fdc75435bab15f">period</a>()</td><td class="entry"><a class="el" href="classelma_1_1Process.html">elma::Process</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classelma_1_1Process.html#a2252f8767f4f437297c8a342b60b484e">previous_update</a>()</td><td class="entry"><a class="el" href="classelma_1_1Process.html">elma::Process</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classelma_1_1Process.html#a4445d9a192df2eedfda7fe82a626dac9">Process</a>(int n=0)</td><td class="entry"><a class="el" href="classelma_1_1Process.html">elma::Process</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classelma_1_1Process.html#a27a2b4642c368f48d1a7e35e92ae8ae4">Process</a>(std::string name, int n=0)</td><td class="entry"><a class="el" href="classelma_1_1Process.html">elma::Process</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>RUNNING</b> enum value (defined in <a class="el" href="classelma_1_1Process.html">elma::Process</a>)</td><td class="entry"><a class="el" href="classelma_1_1Process.html">elma::Process</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classbasic__example_1_1BasicProcess.html#ae597a00726c51e7feff854f16d4886b2">start</a>()</td><td class="entry"><a class="el" href="classbasic__example_1_1BasicProcess.html">basic_example::BasicProcess</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="classelma_1_1Process.html#a347b1fd6fd7501bfd4b3ac63a9ee811e">start_time</a>()</td><td class="entry"><a class="el" href="classelma_1_1Process.html">elma::Process</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classelma_1_1Process.html#ae43200bae94b94df1ec5cc10ff6b191b">status</a>()</td><td class="entry"><a class="el" href="classelma_1_1Process.html">elma::Process</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classelma_1_1Process.html#a355d4150a5de734fcb8ff654b7eabf3e">status_type</a> enum name</td><td class="entry"><a class="el" href="classelma_1_1Process.html">elma::Process</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classbasic__example_1_1BasicProcess.html#a08fe736552a1c6b3f01d572d13bc4ca9">stop</a>()</td><td class="entry"><a class="el" href="classbasic__example_1_1BasicProcess.html">basic_example::BasicProcess</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>STOPPED</b> enum value (defined in <a class="el" href="classelma_1_1Process.html">elma::Process</a>)</td><td class="entry"><a class="el" href="classelma_1_1Process.html">elma::Process</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>UNINITIALIZED</b> enum value (defined in <a class="el" href="classelma_1_1Process.html">elma::Process</a>)</td><td class="entry"><a class="el" href="classelma_1_1Process.html">elma::Process</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classbasic__example_1_1BasicProcess.html#a69c033d32c509410a734956ea44cadbf">update</a>()</td><td class="entry"><a class="el" href="classbasic__example_1_1BasicProcess.html">basic_example::BasicProcess</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>watch</b>(string event_name, std::function&lt; void(Event &amp;)&gt; handler) (defined in <a class="el" href="classelma_1_1Process.html">elma::Process</a>)</td><td class="entry"><a class="el" href="classelma_1_1Process.html">elma::Process</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>~Process</b>()=default (defined in <a class="el" href="classelma_1_1Process.html">elma::Process</a>)</td><td class="entry"><a class="el" href="classelma_1_1Process.html">elma::Process</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Developed by <a href="http://klavinslab.org">Eric Klavins</a> for UW ECE P 520<br>
Generated on Mon Mar 11 2019 00:40:18 for Elma by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Mar 12 2019 00:54:08 for Elma by &#160;<a href="http://www.doxygen.org/index.html">
Doxygen
</a> 1.8.8
</small></address>
Expand Down
Loading

0 comments on commit 2f3643d

Please sign in to comment.