1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 2<html> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> 5 <title>File Index</title> 6 <link href="doxygen.css" rel="stylesheet" type="text/css"> 7 </head> 8 <body> 9<!-- Generated by Doxygen 1.7.4 --> 10 <div id="navrow1" class="tabs"> 11 <ul class="tablist"> 12 <li><a href="index.html"><span>Main Page</span></a></li> 13 <li><a href="annotated.html"><span>Data Structures</span></a></li> 14 <li class="current"><a href="files.html"><span>Files</span></a></li> 15 </ul> 16 </div> 17 <div id="navrow2" class="tabs2"> 18 <ul class="tablist"> 19 <li><a href="files.html"><span>File List</span></a></li> 20 <li><a href="globals.html"><span>Globals</span></a></li> 21 </ul> 22 </div> 23</div> 24<div id="side-nav" class="ui-resizable side-nav-resizable"> 25 <div id="nav-tree"> 26 <div id="nav-tree-contents"> 27 </div> 28 </div> 29 <div id="splitbar" style="-moz-user-select:none;" 30 class="ui-resizable-handle"> 31 </div> 32</div> 33<script type="text/javascript"> 34 initNavTree('dmxsigio_8h.html',''); 35</script> 36<div id="doc-content"> 37<div class="header"> 38 <div class="summary"> 39<a href="#func-members">Functions</a> </div> 40 <div class="headertitle"> 41<div class="title">dmxsigio.h File Reference</div> </div> 42</div> 43<div class="contents"> 44 45<p><a href="dmxsigio_8h_source.html">Go to the source code of this file.</a></p> 46<table class="memberdecls"> 47<tr><td colspan="2"><h2><a name="func-members"></a> 48Functions</h2></td></tr> 49<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxsigio_8h.html#a0ab74a514a7e18842b085aa001553137">dmxSigioBlock</a> (void)</td></tr> 50<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxsigio_8h.html#aadc7d1d3b885b68d326ccc8ae1c17d11">dmxSigioUnblock</a> (void)</td></tr> 51<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxsigio_8h.html#a86b07a489751508e422ce60fc4ad332d">dmxSigioEnableInput</a> (void)</td></tr> 52<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxsigio_8h.html#aea86e1800e644fac954c6bbf6012c7aa">dmxSigioDisableInput</a> (void)</td></tr> 53<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxsigio_8h.html#ac3cccb6a8d72aaa0c7ac64f061d0b877">dmxSigioRegister</a> (<a class="el" href="struct__DMXInputInfo.html">DMXInputInfo</a> *dmxInput, int fd)</td></tr> 54<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxsigio_8h.html#ac447ef5c9a3aa88a5cb049ea0beecfd2">dmxSigioUnregister</a> (<a class="el" href="struct__DMXInputInfo.html">DMXInputInfo</a> *dmxInput)</td></tr> 55</table> 56<hr/><a name="details" id="details"></a><h2>Detailed Description</h2> 57<div class="textblock"><p>Interface to SIGIO handling support. </p> 58<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="dmxsigio_8c.html">dmxsigio.c</a> </dd></dl> 59</div><hr/><h2>Function Documentation</h2> 60<a class="anchor" id="a0ab74a514a7e18842b085aa001553137"></a><!-- doxytag: member="dmxsigio.h::dmxSigioBlock" ref="a0ab74a514a7e18842b085aa001553137" args="(void)" --> 61<div class="memitem"> 62<div class="memproto"> 63 <table class="memname"> 64 <tr> 65 <td class="memname">void dmxSigioBlock </td> 66 <td>(</td> 67 <td class="paramtype">void </td> 68 <td class="paramname"></td><td>)</td> 69 <td></td> 70 </tr> 71 </table> 72</div> 73<div class="memdoc"> 74<p>Block SIGIO handling. </p> 75 76<p>Referenced by <a class="el" href="dmxevents_8c.html#adf2928cf693dab61adafad503e81d2dc">dmxCoreMotion()</a>, <a class="el" href="dmxevents_8c.html#a8463e76279fff9479a552b69c4754273">dmxExtMotion()</a>, and <a class="el" href="dmxevents_8c.html#ae0083a2b1547708473cbc75ebf0006ae">dmxTranslateAndEnqueueExtEvent()</a>.</p> 77 78</div> 79</div> 80<a class="anchor" id="aea86e1800e644fac954c6bbf6012c7aa"></a><!-- doxytag: member="dmxsigio.h::dmxSigioDisableInput" ref="aea86e1800e644fac954c6bbf6012c7aa" args="(void)" --> 81<div class="memitem"> 82<div class="memproto"> 83 <table class="memname"> 84 <tr> 85 <td class="memname">void dmxSigioDisableInput </td> 86 <td>(</td> 87 <td class="paramtype">void </td> 88 <td class="paramname"></td><td>)</td> 89 <td></td> 90 </tr> 91 </table> 92</div> 93<div class="memdoc"> 94<p>Disable SIGIO handling. This removes the hanlder from the OS. </p> 95 96<p>References <a class="el" href="dmxsigio_8c.html#ace65587735b6bff523a064f6ad1f978f">dmxInputEnabled</a>, <a class="el" href="dmxinit_8c.html#a067017d9e67716c251357e9edf917e59">dmxInputs</a>, <a class="el" href="dmxinit_8c.html#a7c8f7f00098aec51d56c188a26747d9f">dmxNumInputs</a>, and <a class="el" href="dmxsigio_8c.html#a9d563164ebc1ef320b68136f69bec3aa">dmxSigioRemove()</a>.</p> 97 98<p>Referenced by <a class="el" href="dmxinputinit_8c.html#a812e98c3ae4436f403739fc6f58eda6c">dmxWakeupHandler()</a>.</p> 99 100</div> 101</div> 102<a class="anchor" id="a86b07a489751508e422ce60fc4ad332d"></a><!-- doxytag: member="dmxsigio.h::dmxSigioEnableInput" ref="a86b07a489751508e422ce60fc4ad332d" args="(void)" --> 103<div class="memitem"> 104<div class="memproto"> 105 <table class="memname"> 106 <tr> 107 <td class="memname">void dmxSigioEnableInput </td> 108 <td>(</td> 109 <td class="paramtype">void </td> 110 <td class="paramname"></td><td>)</td> 111 <td></td> 112 </tr> 113 </table> 114</div> 115<div class="memdoc"> 116<p>Enable SIGIO handling. This instantiates the handler with the OS. </p> 117 118<p>References <a class="el" href="dmxsigio_8c.html#ace65587735b6bff523a064f6ad1f978f">dmxInputEnabled</a>, <a class="el" href="dmxinit_8c.html#a067017d9e67716c251357e9edf917e59">dmxInputs</a>, <a class="el" href="dmxinit_8c.html#a7c8f7f00098aec51d56c188a26747d9f">dmxNumInputs</a>, and <a class="el" href="dmxsigio_8c.html#a6651a6fe035f3ba2d8f09a730bc9c0cb">dmxSigioAdd()</a>.</p> 119 120<p>Referenced by <a class="el" href="dmxinputinit_8c.html#a72e77569074807987e358e4eda38c044">dmxSwitchReturn()</a>.</p> 121 122</div> 123</div> 124<a class="anchor" id="ac3cccb6a8d72aaa0c7ac64f061d0b877"></a><!-- doxytag: member="dmxsigio.h::dmxSigioRegister" ref="ac3cccb6a8d72aaa0c7ac64f061d0b877" args="(DMXInputInfo *dmxInput, int fd)" --> 125<div class="memitem"> 126<div class="memproto"> 127 <table class="memname"> 128 <tr> 129 <td class="memname">void dmxSigioRegister </td> 130 <td>(</td> 131 <td class="paramtype"><a class="el" href="struct__DMXInputInfo.html">DMXInputInfo</a> * </td> 132 <td class="paramname"><em>dmxInput</em>, </td> 133 </tr> 134 <tr> 135 <td class="paramkey"></td> 136 <td></td> 137 <td class="paramtype">int </td> 138 <td class="paramname"><em>fd</em> </td> 139 </tr> 140 <tr> 141 <td></td> 142 <td>)</td> 143 <td></td><td></td> 144 </tr> 145 </table> 146</div> 147<div class="memdoc"> 148<p>Make a note that the input device described in <em>dmxInput</em> will be using the file descriptor <em>fd</em> for SIGIO signals. Calls AddEnabledDevice ifi SIGIO handling has been enabled with <a class="el" href="dmxsigio_8c.html#a86b07a489751508e422ce60fc4ad332d">dmxSigioEnableInput()</a>. </p> 149 150<p>References <a class="el" href="dmxinput_8h.html#afc9c4f441bc6bd7d6ba0226d1415031c">DMX_MAX_SIGIO_FDS</a>, <a class="el" href="dmxinput_8h.html#abdcaa3561e4107b3e133d221a881fdd4a602a53cb181b839ee55e077c20588608">DMX_USESIGIO</a>, <a class="el" href="dmxlog_8h.html#aeed612a5c0be196e23bd6b71b76b917fa4d84ad320675a046536d76c0820abc70">dmxFatal</a>, <a class="el" href="dmxsigio_8c.html#ace65587735b6bff523a064f6ad1f978f">dmxInputEnabled</a>, <a class="el" href="dmxlog_8c.html#ab6259430a57c3cffdfc9f6259df0ad23">dmxLog()</a>, <a class="el" href="dmxsigio_8c.html#a6651a6fe035f3ba2d8f09a730bc9c0cb">dmxSigioAdd()</a>, <a class="el" href="struct__DMXInputInfo.html#a2d75d5540ff0a95d822bbb8dfbec197b">_DMXInputInfo::sigioFd</a>, <a class="el" href="struct__DMXInputInfo.html#a0ba936a9c99af68fa838e45eb7af1c68">_DMXInputInfo::sigioFdCount</a>, and <a class="el" href="struct__DMXInputInfo.html#ab7e0499d483754c4a1a9c567edb1c167">_DMXInputInfo::sigioState</a>.</p> 151 152<p>Referenced by <a class="el" href="dmxinputinit_8c.html#aee6196e74882c16d5cd939d88b3b6fdc">dmxDeviceOnOff()</a>.</p> 153 154</div> 155</div> 156<a class="anchor" id="aadc7d1d3b885b68d326ccc8ae1c17d11"></a><!-- doxytag: member="dmxsigio.h::dmxSigioUnblock" ref="aadc7d1d3b885b68d326ccc8ae1c17d11" args="(void)" --> 157<div class="memitem"> 158<div class="memproto"> 159 <table class="memname"> 160 <tr> 161 <td class="memname">void dmxSigioUnblock </td> 162 <td>(</td> 163 <td class="paramtype">void </td> 164 <td class="paramname"></td><td>)</td> 165 <td></td> 166 </tr> 167 </table> 168</div> 169<div class="memdoc"> 170<p>Unblock SIGIO handling. </p> 171 172<p>Referenced by <a class="el" href="dmxevents_8c.html#adf2928cf693dab61adafad503e81d2dc">dmxCoreMotion()</a>, <a class="el" href="dmxevents_8c.html#a8463e76279fff9479a552b69c4754273">dmxExtMotion()</a>, and <a class="el" href="dmxevents_8c.html#ae0083a2b1547708473cbc75ebf0006ae">dmxTranslateAndEnqueueExtEvent()</a>.</p> 173 174</div> 175</div> 176<a class="anchor" id="ac447ef5c9a3aa88a5cb049ea0beecfd2"></a><!-- doxytag: member="dmxsigio.h::dmxSigioUnregister" ref="ac447ef5c9a3aa88a5cb049ea0beecfd2" args="(DMXInputInfo *dmxInput)" --> 177<div class="memitem"> 178<div class="memproto"> 179 <table class="memname"> 180 <tr> 181 <td class="memname">void dmxSigioUnregister </td> 182 <td>(</td> 183 <td class="paramtype"><a class="el" href="struct__DMXInputInfo.html">DMXInputInfo</a> * </td> 184 <td class="paramname"><em>dmxInput</em></td><td>)</td> 185 <td></td> 186 </tr> 187 </table> 188</div> 189<div class="memdoc"> 190<p>Remove the notes that <em>dmxInput</em> is using any file descriptors for SIGIO signals. Calls RemoveEnabledDevice. </p> 191 192<p>References <a class="el" href="dmxinput_8h.html#abdcaa3561e4107b3e133d221a881fdd4a3332aab1a0fa6ab7dbb69ff402b0d596">DMX_NOSIGIO</a>, <a class="el" href="dmxsigio_8c.html#a9d563164ebc1ef320b68136f69bec3aa">dmxSigioRemove()</a>, <a class="el" href="struct__DMXInputInfo.html#a0ba936a9c99af68fa838e45eb7af1c68">_DMXInputInfo::sigioFdCount</a>, and <a class="el" href="struct__DMXInputInfo.html#ab7e0499d483754c4a1a9c567edb1c167">_DMXInputInfo::sigioState</a>.</p> 193 194<p>Referenced by <a class="el" href="dmxinputinit_8c.html#aee6196e74882c16d5cd939d88b3b6fdc">dmxDeviceOnOff()</a>.</p> 195 196</div> 197</div> 198</div> 199</div> 200 <div id="nav-path" class="navpath"> 201 <ul> 202 <li class="navelem"><a class="el" href="dmxsigio_8h.html">dmxsigio.h</a> </li> 203 <hr> 204 <address> 205 <small> 206 Generated June 29, 2004 for <a 207 href="http://dmx.sourceforge.net">Distributed Multihead X</a> by 208 <a href="http://www.doxygen.org/index.html">doxygen</a> 209 1.3.4. 210 </small> 211 </addres> 212 </hr> 213 </body> 214</html> 215