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

📄 classfg__application.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_Application 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_Application类参考<br><small>[<a class="el" href="group__Framework.html">框架层</a>]</small></h1><code>#include &lt;<a class="el" href="FG__Application_8h-source.html">FG_Application.h</a>&gt;</code><p><p>继承图,类FG_Application<p><center><img src="classFG__Application.png" usemap="#FG_Application_map" border="0" alt=""></center><map name="FG_Application_map"><area href="classFG__OSMsgObserver.html" alt="FG_OSMsgObserver" shape="rect" coords="0,0,132,24"><area href="classMyApp.html" alt="MyApp" shape="rect" coords="0,112,132,136"></map>FG_Application合作图:<p><center><img src="classFG__Application__coll__graph.png" border="0" usemap="#FG__Application__coll__map" alt="Collaboration graph"></center><map name="FG__Application__coll__map"><area href="classFG__OSMsgObserver.html" shape="rect" coords="7,17,161,113" alt=""></map><center><font size="2">[<a target="top" href="graph_legend.html">图例</a>]</font></center><a href="classFG__Application-members.html">所有成员的列表。</a><hr><a name="_details"></a><h2>详细描述</h2>应用程序抽象类. <p>应用层应该定义该类的派生类,实现<a class="el" href="classFG__Application.html#a2">FG_Application::InitApplication</a>函数<br> 并且定义一个唯一的<a class="el" href="group__Application.html#ga0">theApp</a>,来生成该类的唯一的实例对象 <p><p>在文件<a class="el" href="FG__Application_8h-source.html">FG_Application.h</a>第<a class="el" href="FG__Application_8h-source.html#l00050">50</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__Application.html#a0">FG_Application</a> ()</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__Application.html#a1">OSMessage</a> (<a class="el" href="structFG__Message.html">FG_Message</a> *pMsg)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">实现操作系统消息的接收接口.  <a href="#a1"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFG__Application.html#a2">InitApplication</a> ()=0</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">初始化应用程序接口  <a href="#a2"></a><br><br></td></tr></table><hr><h2>构造及析构函数文档</h2><a class="anchor" name="a0" doxytag="FG_Application::FG_Application" ></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_Application::FG_Application </td>          <td class="md" valign="top">(&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>注册为<a class="el" href="group__Utility.html#gga12a17">FG_MSG_STARTUP</a>和<a class="el" href="group__Utility.html#gga12a18">FG_MSG_HALT</a>消息的观察者 <p>在文件<a class="el" href="FG__Application_8cpp-source.html">FG_Application.cpp</a>第<a class="el" href="FG__Application_8cpp-source.html#l00045">45</a>行定义。<p>参考 <a class="el" href="FG__OSAdaptor_8cpp-source.html#l00061">FG_GetAdaptor()</a>、<a class="el" href="group__Utility.html#gga12a18">FG_MSG_HALT</a>、<a class="el" href="group__Utility.html#gga12a17">FG_MSG_STARTUP</a>及<a class="el" href="FG__OSAdaptor_8cpp-source.html#l00098">FG_OSAdaptor::SetMsgObserver()</a>.    </td>  </tr></table><p>Here is the call graph for this function:<p><center><img src="classFG__Application_a0_cgraph.png" border="0" usemap="#classFG__Application_a0_cgraph_map" alt=""></center><map name="classFG__Application_a0_cgraph_map"><area href="group__OSAdaptor.html#ga1" shape="rect" coords="312,6,411,33" alt=""><area href="classFG__OSAdaptor.html#a1" shape="rect" coords="260,57,463,84" alt=""><area href="classFG__OSAdaptor.html#e0" shape="rect" coords="512,6,683,33" alt=""></map><hr><h2>成员函数文档</h2><a class="anchor" name="a2" doxytag="FG_Application::InitApplication" ></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"> virtual void FG_Application::InitApplication </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [pure virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>初始化应用程序接口 <p>该函数为模板方法,派生类必须实现该接口,执行应用程序的初始化工作,如创建主窗口等 <p>Implemented in <a class="el" href="classMyApp.html#a0">MyApp</a>.<p>参考自 <a class="el" href="FG__Application_8cpp-source.html#l00053">OSMessage()</a>.    </td>  </tr></table><a class="anchor" name="a1" doxytag="FG_Application::OSMessage" ></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_Application::OSMessage </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="structFG__Message.html">FG_Message</a> *&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>pMsg</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>实现操作系统消息的接收接口. <p><ul><li>对于<a class="el" href="group__Utility.html#gga12a17">FG_MSG_STARTUP</a>消息<ul><li>通过访问公共访问点,创建<a class="el" href="classFG__Screen.html">FG_Screen</a>的唯一实例</li><li>通过访问公共访问点,创建<a class="el" href="classFG__TimerManager.html">FG_TimerManager</a>的唯一实例</li><li>调用模板方法<a class="el" href="classFG__Application.html#a2">InitApplication</a></li></ul></li><li>对于<a class="el" href="group__Utility.html#gga12a18">FG_MSG_HALT</a>消息<ul><li>删除<a class="el" href="classFG__Screen.html">FG_Screen</a>的唯一实例</li><li>删除<a class="el" href="classFG__TimerManager.html">FG_TimerManager</a>的唯一实例</li></ul></li></ul><p><dl compact><dt><b>参数:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>pMsg</em>&nbsp;</td><td>发送给应用程序的系统消息 </td></tr>  </table></dl><p>Implements <a class="el" href="classFG__OSMsgObserver.html#a1">FG_OSMsgObserver</a>.<p>在文件<a class="el" href="FG__Application_8cpp-source.html">FG_Application.cpp</a>第<a class="el" href="FG__Application_8cpp-source.html#l00053">53</a>行定义。<p>参考 <a class="el" href="FG__Screen_8cpp-source.html#l00094">FG_Screen::DeleteScreen()</a>、<a class="el" href="FG__TimerManager_8cpp-source.html#l00086">FG_TimerManager::DeleteTimerManager()</a>、<a class="el" href="FG__Screen_8cpp-source.html#l00059">FG_GetScreen()</a>、<a class="el" href="FG__TimerManager_8cpp-source.html#l00051">FG_GetTimerManager()</a>、<a class="el" href="group__Utility.html#gga12a17">FG_MSG_STARTUP</a>、<a class="el" href="classFG__Application.html#a2">InitApplication()</a>及<a class="el" href="FG__Message_8h-source.html#l00192">FG_Message::wType</a>.    </td>  </tr></table><p>Here is the call graph for this function:<p><center><img src="classFG__Application_a1_cgraph.png" border="0" usemap="#classFG__Application_a1_cgraph_map" alt=""></center><map name="classFG__Application_a1_cgraph_map"><area href="classFG__Screen.html#e1" shape="rect" coords="285,7,445,33" alt=""><area href="classFG__TimerManager.html#e1" shape="rect" coords="244,57,487,84" alt=""><area href="group__Framework.html#ga0" shape="rect" coords="319,108,412,135" alt=""><area href="classFG__Application.html#a2" shape="rect" coords="272,159,459,185" alt=""><area href="classFG__Screen.html#e0" shape="rect" coords="535,108,679,135" alt=""><area href="classFG__Screen.html#b3" shape="rect" coords="728,108,875,135" alt=""></map><hr>该类的文档由以下文件生成:<ul><li><a class="el" href="FG__Application_8h-source.html">FG_Application.h</a><li><a class="el" href="FG__Application_8cpp-source.html">FG_Application.cpp</a></ul><hr><center>由 DoxyGen 1.3.6 于 Wed Jun 9 22:36:46 2004 生成<br>版权所有 (C) 2003,2004 王咏武</body></html>

⌨️ 快捷键说明

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