Sophie

Sophie

distrib > Mandriva > 2010.1 > i586 > by-pkgid > 4f5f2dc0f55b453456458df885792b0b > files > 531

ucommon-doc-5.0.4-1mdv2010.2.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>ucommon: ucommon/timers.h File 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="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>ucommon/timers.h File Reference</h1>
<p>Realtime timers and timer queues.  
<a href="#_details">More...</a></p>
<code>#include &lt;<a class="el" href="a00188_source.html">ucommon/linked.h</a>&gt;</code><br/>
<code>#include &lt;unistd.h&gt;</code><br/>
<code>#include &lt;<a class="el" href="a00203_source.html">sys/time.h</a>&gt;</code><br/>
<code>#include &lt;features.h&gt;</code><br/>
<code>#include &lt;bits/types.h&gt;</code><br/>
<code>#include &lt;time.h&gt;</code><br/>
<code>#include &lt;bits/time.h&gt;</code><br/>
<code>#include &lt;sys/select.h&gt;</code><br/>
<div class="dynheader">
Include dependency graph for timers.h:</div>
<div class="dynsection">
<div class="center"><img src="a00270.png" border="0" usemap="#ucommon_2timers_8h_map" alt=""/></div>
<map name="ucommon_2timers_8h_map" id="ucommon_2timers_8h">
<area shape="rect" id="node3" href="a00188.html" title="Linked objects, lists, templates, and containers." alt="" coords="611,81,792,108"/><area shape="rect" id="node5" href="a00194.html" title="Various miscellaneous platform specific headers and defines." alt="" coords="583,305,785,332"/><area shape="rect" id="node28" href="a00192.html" title="A common object base class with auto&#45;pointer support." alt="" coords="483,156,664,183"/><area shape="rect" id="node31" href="a00186.html" title="Generic templates for C++." alt="" coords="309,231,512,257"/></map>
</div>
<div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dynsection">
<div class="center"><img src="a00271.png" border="0" usemap="#ucommon_2timers_8hdep_map" alt=""/></div>
<map name="ucommon_2timers_8hdep_map" id="ucommon_2timers_8hdep">
<area shape="rect" id="node3" href="a00198.html" title="Common socket class and address manipulation." alt="" coords="43,156,224,182"/><area shape="rect" id="node9" href="a00204.html" title="Top level include file for the GNU uCommon C++ core library." alt="" coords="328,380,520,406"/><area shape="rect" id="node19" href="a00202.html" title="Thread classes and sychronization objects." alt="" coords="456,81,637,108"/><area shape="rect" id="node5" href="a00180.html" title="Classes which use the buffer protocol to stream data." alt="" coords="108,230,289,257"/><area shape="rect" id="node15" href="a00200.html" title="Any ucommon streaming classes that are built from std::streamio facilities and that..." alt="" coords="313,230,495,257"/><area shape="rect" id="node7" href="a00197.html" title="Generic shell parsing and application services." alt="" coords="191,305,361,332"/><area shape="rect" id="node11" href="a00196.html" title="This library holds basic cryptographic functions and secure socket support for use..." alt="" coords="333,454,515,481"/><area shape="rect" id="node21" href="a00181.html" title="Threadsafe object containers." alt="" coords="487,305,708,332"/><area shape="rect" id="node24" href="a00185.html" title="Thread&#45;aware file system manipulation class." alt="" coords="272,156,435,182"/><area shape="rect" id="node30" href="a00189.html" title="Support for memory mapped objects." alt="" coords="705,230,887,257"/><area shape="rect" id="node35" href="a00206.html" title="Basic array and reusable object factory heap support." alt="" coords="833,305,1015,332"/></map>
</div>

<p><a href="a00203_source.html">Go to the source code of this file.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Data Structures</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00162.html">ucommon::Timer</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="a00162.html" title="Timer class to use when scheduling realtime events.">Timer</a> class to use when scheduling realtime events.  <a href="a00162.html#_details">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00163.html">ucommon::TimerQueue</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A timer queue for timer events.  <a href="a00163.html#_details">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00164.html">ucommon::TimerQueue::event</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A timer event object that lives on a timer queue.  <a href="a00164.html#_details">More...</a><br/></td></tr>
<tr><td colspan="2"><h2>Namespaces</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">namespace &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00208.html">ucommon</a></td></tr>

<p><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><p>Common namespace for all ucommon objects. </p>
<br/></td></tr>
</p>
<tr><td colspan="2"><h2>Typedefs</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7a483fb9c3ff6160464ea641cab40f52"></a><!-- doxytag: member="timers.h::timer_t" ref="a7a483fb9c3ff6160464ea641cab40f52" args="" -->
typedef Timer&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00208.html#a7a483fb9c3ff6160464ea641cab40f52">ucommon::timer_t</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A convenience type for timers. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4717ae05df8d87c254e268bf1c81447e"></a><!-- doxytag: member="timers.h::TQEvent" ref="a4717ae05df8d87c254e268bf1c81447e" args="" -->
typedef TimerQueue::event&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00208.html#a4717ae05df8d87c254e268bf1c81447e">ucommon::TQEvent</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A convenience type for timer queue timer events. <br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Realtime timers and timer queues. </p>
<p>This offers ucommon support for realtime high-resolution threadsafe timers and timer queues. Threads may be scheduled by timers and timer queues may be used to inject timer events into callback objects or through virtuals. </p>

<p>Definition in file <a class="el" href="a00203_source.html">timers.h</a>.</p>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Thu Jul 14 16:39:16 2011 for ucommon 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>