<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DFNgen: hotkey.h File Reference</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="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</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">DFNgen
   &#160;<span id="projectnumber">2.0</span>
   </div>
   <div id="projectbrief">DFN Model Generator</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('hotkey_8h.html','');});
</script>
<div id="doc-content">
<!-- 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="summary">
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">hotkey.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="hotkey_8h__dep__incl.png" border="0" usemap="#hotkey_8hdep" alt=""/></div>
<map name="hotkey_8hdep" id="hotkey_8hdep">
<area shape="rect" id="node2" href="_d_f_nmain_8cpp.html" title="DFNmain.cpp" alt="" coords="5,80,109,107"/>
<area shape="rect" id="node3" href="hotkey_8cpp.html" title="hotkey.cpp" alt="" coords="134,80,220,107"/>
</map>
</div>
</div>
<p><a href="hotkey_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ac8373d63f264c2e956b071b5bd2588a1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="hotkey_8h.html#ac8373d63f264c2e956b071b5bd2588a1">reset_terminal_mode</a> ()</td></tr>
<tr class="separator:ac8373d63f264c2e956b071b5bd2588a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49d261c1ea17ddedcc836585c758e3b2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="hotkey_8h.html#a49d261c1ea17ddedcc836585c758e3b2">set_conio_terminal_mode</a> ()</td></tr>
<tr class="separator:a49d261c1ea17ddedcc836585c758e3b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5451da499ab9d3907da8dd7060ab677"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="hotkey_8h.html#ad5451da499ab9d3907da8dd7060ab677">kbhit</a> ()</td></tr>
<tr class="separator:ad5451da499ab9d3907da8dd7060ab677"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a160f6d2893bb6b89ab3ad5d863c20e3d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="hotkey_8h.html#a160f6d2893bb6b89ab3ad5d863c20e3d">getch</a> ()</td></tr>
<tr class="separator:a160f6d2893bb6b89ab3ad5d863c20e3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a1705dee0e4e822859804bec377506fb5"><td class="memItemLeft" align="right" valign="top">struct termios&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="hotkey_8h.html#a1705dee0e4e822859804bec377506fb5">orig_termios</a></td></tr>
<tr class="separator:a1705dee0e4e822859804bec377506fb5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="a160f6d2893bb6b89ab3ad5d863c20e3d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a160f6d2893bb6b89ab3ad5d863c20e3d">&sect;&nbsp;</a></span>getch()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int getch </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get char of key press. Returns char as int. </p>

<p>Definition at line <a class="el" href="hotkey_8cpp_source.html#l00057">57</a> of file <a class="el" href="hotkey_8cpp_source.html">hotkey.cpp</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="hotkey_8h_a160f6d2893bb6b89ab3ad5d863c20e3d_icgraph.png" border="0" usemap="#hotkey_8h_a160f6d2893bb6b89ab3ad5d863c20e3d_icgraph" alt=""/></div>
<map name="hotkey_8h_a160f6d2893bb6b89ab3ad5d863c20e3d_icgraph" id="hotkey_8h_a160f6d2893bb6b89ab3ad5d863c20e3d_icgraph">
<area shape="rect" id="node2" href="_d_f_nmain_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="109,5,160,32"/>
</map>
</div>

</div>
</div>
<a id="ad5451da499ab9d3907da8dd7060ab677"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad5451da499ab9d3907da8dd7060ab677">&sect;&nbsp;</a></span>kbhit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int kbhit </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Check if a key has been pressed. Returns non-zero on key press. </p>

<p>Definition at line <a class="el" href="hotkey_8cpp_source.html#l00044">44</a> of file <a class="el" href="hotkey_8cpp_source.html">hotkey.cpp</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="hotkey_8h_ad5451da499ab9d3907da8dd7060ab677_icgraph.png" border="0" usemap="#hotkey_8h_ad5451da499ab9d3907da8dd7060ab677_icgraph" alt=""/></div>
<map name="hotkey_8h_ad5451da499ab9d3907da8dd7060ab677_icgraph" id="hotkey_8h_ad5451da499ab9d3907da8dd7060ab677_icgraph">
<area shape="rect" id="node2" href="_d_f_nmain_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="104,5,155,32"/>
</map>
</div>

</div>
</div>
<a id="ac8373d63f264c2e956b071b5bd2588a1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac8373d63f264c2e956b071b5bd2588a1">&sect;&nbsp;</a></span>reset_terminal_mode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void reset_terminal_mode </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Restores original terminal settings </p>

<p>Definition at line <a class="el" href="hotkey_8cpp_source.html#l00012">12</a> of file <a class="el" href="hotkey_8cpp_source.html">hotkey.cpp</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="hotkey_8h_ac8373d63f264c2e956b071b5bd2588a1_icgraph.png" border="0" usemap="#hotkey_8h_ac8373d63f264c2e956b071b5bd2588a1_icgraph" alt=""/></div>
<map name="hotkey_8h_ac8373d63f264c2e956b071b5bd2588a1_icgraph" id="hotkey_8h_ac8373d63f264c2e956b071b5bd2588a1_icgraph">
<area shape="rect" id="node2" href="_d_f_nmain_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="200,5,251,32"/>
</map>
</div>

</div>
</div>
<a id="a49d261c1ea17ddedcc836585c758e3b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a49d261c1ea17ddedcc836585c758e3b2">&sect;&nbsp;</a></span>set_conio_terminal_mode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void set_conio_terminal_mode </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets custom terminal settings. This allows us to listen for a key press without halting execution of program </p>

<p>Definition at line <a class="el" href="hotkey_8cpp_source.html#l00023">23</a> of file <a class="el" href="hotkey_8cpp_source.html">hotkey.cpp</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="hotkey_8h_a49d261c1ea17ddedcc836585c758e3b2_icgraph.png" border="0" usemap="#hotkey_8h_a49d261c1ea17ddedcc836585c758e3b2_icgraph" alt=""/></div>
<map name="hotkey_8h_a49d261c1ea17ddedcc836585c758e3b2_icgraph" id="hotkey_8h_a49d261c1ea17ddedcc836585c758e3b2_icgraph">
<area shape="rect" id="node2" href="_d_f_nmain_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="229,5,280,32"/>
</map>
</div>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a id="a1705dee0e4e822859804bec377506fb5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1705dee0e4e822859804bec377506fb5">&sect;&nbsp;</a></span>orig_termios</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct termios orig_termios</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_d_f_nmain_8cpp_source.html#l00036">36</a> of file <a class="el" href="_d_f_nmain_8cpp_source.html">DFNmain.cpp</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="hotkey_8h.html">hotkey.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.12 </li>
  </ul>
</div>
</body>
</html>
