Sophie

Sophie

distrib > Mandriva > 2010.2 > i586 > by-pkgid > def0228095a1541e2d3632b6b6da7c38 > files > 2475

gnuradio-doc-3.3.0-8mdv2010.1.i586.rpm

<!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"/>
<title>GNU Radio 3.3.0 C++ API: gr_select_handler Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.3 -->
<div class="contents">
<h1>gr_select_handler Class Reference</h1><!-- doxytag: class="gr_select_handler" -->
<p>Abstract handler for select based notification.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="gr__select__handler_8h_source.html">gr_select_handler.h</a>&gt;</code></p>

<p><a href="classgr__select__handler-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__select__handler.html#a9b80622ea03a3e6bf0fea745645b210c">~gr_select_handler</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__select__handler.html#a1855395f405a0ffd429ccd5aac7f98e8">fd</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__select__handler.html#a956166f072ade292b3f074a2817b7583">file_descriptor</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__select__handler.html#a724b67b0348d179a73c470ae7af362fe">handle_read</a> ()=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called when file_descriptor is readable.  <a href="#a724b67b0348d179a73c470ae7af362fe"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__select__handler.html#a63f2969f8e586f52b89c67ecfbe33173">handle_write</a> ()=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called when file_descriptor is writable.  <a href="#a63f2969f8e586f52b89c67ecfbe33173"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="gc__types_8h.html#a0f2b5d454b7e4dda3861032cfce91085">bool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__select__handler.html#aa7ee5d26f4e0ebf6966eadf8f180cd86">readable</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="gc__types_8h.html#a0f2b5d454b7e4dda3861032cfce91085">bool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__select__handler.html#a3d0294e3233c547a06b13ba107643045">writable</a> ()</td></tr>
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__select__handler.html#acd6f81769629190cdbfbe15e2dbedc75">gr_select_handler</a> (int file_descriptor)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Abstract handler for select based notification. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classgr__dispatcher.html" title="invoke callbacks based on select.">gr_dispatcher</a> </dd></dl>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="acd6f81769629190cdbfbe15e2dbedc75"></a><!-- doxytag: member="gr_select_handler::gr_select_handler" ref="acd6f81769629190cdbfbe15e2dbedc75" args="(int file_descriptor)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gr_select_handler::gr_select_handler </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>file_descriptor</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a9b80622ea03a3e6bf0fea745645b210c"></a><!-- doxytag: member="gr_select_handler::~gr_select_handler" ref="a9b80622ea03a3e6bf0fea745645b210c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual gr_select_handler::~gr_select_handler </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a1855395f405a0ffd429ccd5aac7f98e8"></a><!-- doxytag: member="gr_select_handler::fd" ref="a1855395f405a0ffd429ccd5aac7f98e8" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int gr_select_handler::fd </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a956166f072ade292b3f074a2817b7583"></a><!-- doxytag: member="gr_select_handler::file_descriptor" ref="a956166f072ade292b3f074a2817b7583" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int gr_select_handler::file_descriptor </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a724b67b0348d179a73c470ae7af362fe"></a><!-- doxytag: member="gr_select_handler::handle_read" ref="a724b67b0348d179a73c470ae7af362fe" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void gr_select_handler::handle_read </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Called when file_descriptor is readable. </p>
<p>Called when the dispatcher detects that file_descriptor can be read without blocking. </p>

</div>
</div>
<a class="anchor" id="a63f2969f8e586f52b89c67ecfbe33173"></a><!-- doxytag: member="gr_select_handler::handle_write" ref="a63f2969f8e586f52b89c67ecfbe33173" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void gr_select_handler::handle_write </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Called when file_descriptor is writable. </p>
<p>Called when dispatcher detects that file descriptor can be written without blocking. </p>

</div>
</div>
<a class="anchor" id="aa7ee5d26f4e0ebf6966eadf8f180cd86"></a><!-- doxytag: member="gr_select_handler::readable" ref="aa7ee5d26f4e0ebf6966eadf8f180cd86" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="gc__types_8h.html#a0f2b5d454b7e4dda3861032cfce91085">bool</a> gr_select_handler::readable </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Called each time around the dispatcher loop to determine whether this handler's file descriptor should be added to the list on which read events can occur. The default method returns true, indicating that by default, all handlers are interested in read events. </p>

</div>
</div>
<a class="anchor" id="a3d0294e3233c547a06b13ba107643045"></a><!-- doxytag: member="gr_select_handler::writable" ref="a3d0294e3233c547a06b13ba107643045" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="gc__types_8h.html#a0f2b5d454b7e4dda3861032cfce91085">bool</a> gr_select_handler::writable </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Called each time around the dispatcher loop to determine whether this handler's file descriptor should be added to the list on which write events can occur. The default method returns true, indicating that by default, all handlers are interested in write events. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="gr__select__handler_8h_source.html">gr_select_handler.h</a></li>
</ul>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Wed Dec 29 19:52:55 2010 for GNU Radio 3.3.0 C++ API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>