⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 classfg__timer.html

📁 《道法自然》书的源码FishGUI,一个跨平台的界面库
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=gb2312"><title>FishGUI: FG_Timer class Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- 制作者 Doxygen 1.3.6 --><div class="qindex"><a class="qindex" href="main.html">首页</a> | <a class="qindex" href="modules.html">模块</a> | <a class="qindex" href="hierarchy.html">类继承关系</a> | <a class="qindex" href="classes.html">按字典顺序排序的列表</a> | <a class="qindex" href="annotated.html">组合类型列表</a> | <a class="qindex" href="files.html">文件列表</a> | <a class="qindex" href="functions.html">组合类型成员</a> | <a class="qindex" href="globals.html">文件成员</a></div><h1>FG_Timer类参考<br><small>[<a class="el" href="group__Framework.html">框架层</a>]</small></h1><code>#include &lt;<a class="el" href="FG__TimerManager_8h-source.html">FG_TimerManager.h</a>&gt;</code><p>FG_Timer合作图:<p><center><img src="classFG__Timer__coll__graph.png" border="0" usemap="#FG__Timer__coll__map" alt="Collaboration graph"></center><map name="FG__Timer__coll__map"><area href="classFG__Object.html" shape="rect" coords="6,17,132,657" alt=""></map><center><font size="2">[<a target="top" href="graph_legend.html">图例</a>]</font></center><a href="classFG__Timer-members.html">所有成员的列表。</a><hr><a name="_details"></a><h2>详细描述</h2>定时器类 <p>管理定时器的标识、到期时间、申请该定时器的窗口元素等信息 <p><p>在文件<a class="el" href="FG__TimerManager_8h-source.html">FG_TimerManager.h</a>第<a class="el" href="FG__TimerManager_8h-source.html#l00051">51</a>行定义。<table border=0 cellpadding=0 cellspacing=0><tr><td></td></tr><tr><td colspan=2><br><h2>公有成员</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFG__Timer.html#a0">FG_Timer</a> (<a class="el" href="classFG__Object.html">FG_Object</a> *pTarget, <a class="el" href="group__Utility.html#ga0">BYTE</a> timerID, <a class="el" href="group__Utility.html#ga2">DWORD</a> dwInterval)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">构造函数  <a href="#a0"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFG__Timer.html#a1">Tick</a> (void)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">定时器嘀嗒处理函数  <a href="#a1"></a><br><br></td></tr><tr><td colspan=2><br><h2>公有属性</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__Utility.html#ga0">BYTE</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFG__Timer.html#o0">m_TimerID</a></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__Utility.html#ga2">DWORD</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFG__Timer.html#o1">m_dwInterval</a></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__Utility.html#ga2">DWORD</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFG__Timer.html#o2">m_dwCount</a></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classFG__Object.html">FG_Object</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFG__Timer.html#o3">m_pTarget</a></td></tr></table><hr><h2>构造及析构函数文档</h2><a class="anchor" name="a0" doxytag="FG_Timer::FG_Timer" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> FG_Timer::FG_Timer </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classFG__Object.html">FG_Object</a> *&nbsp;</td>          <td class="mdname" nowrap> <em>pTarget</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap><a class="el" href="group__Utility.html#ga0">BYTE</a>&nbsp;</td>          <td class="mdname" nowrap> <em>timerID</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap><a class="el" href="group__Utility.html#ga2">DWORD</a>&nbsp;</td>          <td class="mdname" nowrap> <em>dwInterval</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>构造函数 <p><dl compact><dt><b>参数:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>pTarget</em>&nbsp;</td><td>申请定时器的窗口元素 </td></tr>    <tr><td valign=top><em>timerID</em>&nbsp;</td><td>定时器的唯一标识 </td></tr>    <tr><td valign=top><em>dwInterval</em>&nbsp;</td><td>定时器的到期时间 </td></tr>  </table></dl><p>在文件<a class="el" href="FG__TimerManager_8h-source.html">FG_TimerManager.h</a>第<a class="el" href="FG__TimerManager_8h-source.html#l00061">61</a>行定义。<p>参考 <a class="el" href="FG__Common_8h-source.html#l00051">BYTE</a>、<a class="el" href="FG__Common_8h-source.html#l00059">DWORD</a>、<a class="el" href="FG__TimerManager_8h-source.html#l00078">m_dwCount</a>、<a class="el" href="FG__TimerManager_8h-source.html#l00076">m_dwInterval</a>及<a class="el" href="FG__TimerManager_8h-source.html#l00074">m_TimerID</a>.    </td>  </tr></table><hr><h2>成员函数文档</h2><a class="anchor" name="a1" doxytag="FG_Timer::Tick" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> void FG_Timer::Tick </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">void&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>定时器嘀嗒处理函数 <p>检查该定时器是否到期,如果到期,发送定时器消息给对应的窗口元素 <p>在文件<a class="el" href="FG__TimerManager_8cpp-source.html">FG_TimerManager.cpp</a>第<a class="el" href="FG__TimerManager_8cpp-source.html#l00057">57</a>行定义。<p>参考 <a class="el" href="group__Utility.html#gga12a22">FG_MSG_TIMER</a>、<a class="el" href="FG__TimerManager_8h-source.html#l00078">m_dwCount</a>、<a class="el" href="FG__TimerManager_8h-source.html#l00076">m_dwInterval</a>、<a class="el" href="FG__TimerManager_8h-source.html#l00074">m_TimerID</a>及<a class="el" href="FG__Object_8cpp-source.html#l00170">FG_Object::Message()</a>.    </td>  </tr></table><p>Here is the call graph for this function:<p><center><img src="classFG__Timer_a1_cgraph.png" border="0" usemap="#classFG__Timer_a1_cgraph_map" alt=""></center><map name="classFG__Timer_a1_cgraph_map"><area href="classFG__Object.html#a20" shape="rect" coords="165,57,296,84" alt=""><area href="group__OSAdaptor.html#ga1" shape="rect" coords="396,7,495,33" alt=""><area href="structFG__MSGMAP.html#a0" shape="rect" coords="345,57,545,84" alt=""><area href="classFG__Object.html#b5" shape="rect" coords="356,108,535,135" alt=""><area href="classFG__OSAdaptor.html#e0" shape="rect" coords="595,7,765,33" alt=""></map><hr><h2>成员数据文档</h2><a class="anchor" name="o2" doxytag="FG_Timer::m_dwCount" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="group__Utility.html#ga2">DWORD</a> <a class="el" href="classFG__Timer.html#o2">FG_Timer::m_dwCount</a>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>当前计数器 <p>在文件<a class="el" href="FG__TimerManager_8h-source.html">FG_TimerManager.h</a>第<a class="el" href="FG__TimerManager_8h-source.html#l00078">78</a>行定义。<p>参考自 <a class="el" href="FG__TimerManager_8h-source.html#l00061">FG_Timer()</a>及<a class="el" href="FG__TimerManager_8cpp-source.html#l00057">Tick()</a>.    </td>  </tr></table><a class="anchor" name="o1" doxytag="FG_Timer::m_dwInterval" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="group__Utility.html#ga2">DWORD</a> <a class="el" href="classFG__Timer.html#o1">FG_Timer::m_dwInterval</a>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>定时器的到期时间(单位:毫秒) <p>在文件<a class="el" href="FG__TimerManager_8h-source.html">FG_TimerManager.h</a>第<a class="el" href="FG__TimerManager_8h-source.html#l00076">76</a>行定义。<p>参考自 <a class="el" href="FG__TimerManager_8h-source.html#l00061">FG_Timer()</a>及<a class="el" href="FG__TimerManager_8cpp-source.html#l00057">Tick()</a>.    </td>  </tr></table><a class="anchor" name="o3" doxytag="FG_Timer::m_pTarget" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="classFG__Object.html">FG_Object</a>* <a class="el" href="classFG__Timer.html#o3">FG_Timer::m_pTarget</a>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>申请定时器的窗口元素,定时器到期消息会被发送给该窗口元素 <p>在文件<a class="el" href="FG__TimerManager_8h-source.html">FG_TimerManager.h</a>第<a class="el" href="FG__TimerManager_8h-source.html#l00080">80</a>行定义。<p>参考自 <a class="el" href="FG__TimerManager_8h-source.html#l00174">FG_CheckTimer::FindIt()</a>.    </td>  </tr></table><a class="anchor" name="o0" doxytag="FG_Timer::m_TimerID" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="group__Utility.html#ga0">BYTE</a> <a class="el" href="classFG__Timer.html#o0">FG_Timer::m_TimerID</a>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>定时器的唯一标识(对于同一个窗口元素唯一) <p>在文件<a class="el" href="FG__TimerManager_8h-source.html">FG_TimerManager.h</a>第<a class="el" href="FG__TimerManager_8h-source.html#l00074">74</a>行定义。<p>参考自 <a class="el" href="FG__TimerManager_8h-source.html#l00061">FG_Timer()</a>、<a class="el" href="FG__TimerManager_8h-source.html#l00174">FG_CheckTimer::FindIt()</a>及<a class="el" href="FG__TimerManager_8cpp-source.html#l00057">Tick()</a>.    </td>  </tr></table><hr>该类的文档由以下文件生成:<ul><li><a class="el" href="FG__TimerManager_8h-source.html">FG_TimerManager.h</a><li><a class="el" href="FG__TimerManager_8cpp-source.html">FG_TimerManager.cpp</a></ul><hr><center>由 DoxyGen 1.3.6 于 Wed Jun 9 22:36:58 2004 生成<br>版权所有 (C) 2003,2004 王咏武</body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -