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

📄 classwgui_1_1cvaluemessage.html

📁 一个小巧的嵌入式图形系统wGUI, 可以用VC编译
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title> TemplatewGui::CValueMessage&lt; T &gt; class Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.2.18 --><center><a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Data Structures</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Data Fields</a> &nbsp; </center><hr><h1>wGui::CValueMessage&lt; T &gt; Class Template Reference</h1><code>#include &lt;<a class="el" href="wg__message_8h-source.html">wg_message.h</a>&gt;</code><p><p>Inheritance diagram for wGui::CValueMessage&lt; T &gt;:<p><center><img src="classwGui_1_1CValueMessage.png" usemap="#wGui::CValueMessage< T >_map" border="0" alt=""></center><map name="wGui::CValueMessage< T >_map"><area href="classwGui_1_1CMessage.html" alt="wGui::CMessage" shape="rect" coords="0,0,170,24"></map><h2>Public Methods</h2><ul><li><a class="el" href="classwGui_1_1CValueMessage.html#a0">CValueMessage</a> (const <a class="el" href="classwGui_1_1CMessage.html#s16">EMessageType</a> MessageType, const <a class="el" href="classwGui_1_1CMessageClient.html">CMessageClient</a> *pDestination, const <a class="el" href="classwGui_1_1CMessageClient.html">CMessageClient</a> *pSource, const T &amp;Value)<li>const T &amp; <a class="el" href="classwGui_1_1CValueMessage.html#a1">Value</a> (void)<li>void <a class="el" href="classwGui_1_1CValueMessage.html#a2">SetValue</a> (const T &amp;Value)</ul><h2>Protected Attributes</h2><ul><li><a name="n0" doxytag="wGui::CValueMessage::m_Value"></a>T <a class="el" href="classwGui_1_1CValueMessage.html#n0">m_Value</a><dl class="el"><dd><font size=-1><em>The internal value.<br><br></em></font></dl></ul><hr><a name="_details"></a><h2>Detailed Description</h2><h3>template&lt;typename T&gt;<br> class wGui::CValueMessage&lt; T &gt;</h3>A template for messages that contain values Type T must have a valid copy constructor and assignment operator <p><p>Definition at line <a class="el" href="wg__message_8h-source.html#l00166">166</a> of file <a class="el" href="wg__message_8h-source.html">wg_message.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2><a name="a0" doxytag="wGui::CValueMessage::CValueMessage"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" colspan="4">template&lt;typename T&gt; </td>        </tr>        <tr>          <td class="md" nowrap valign="top"> wGui::CValueMessage&lt; T &gt;::CValueMessage </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="classwGui_1_1CMessage.html#s16">EMessageType</a>&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>MessageType</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="classwGui_1_1CMessageClient.html">CMessageClient</a> *&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>pDestination</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="classwGui_1_1CMessageClient.html">CMessageClient</a> *&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>pSource</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>const T &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>Value</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>Construct a new template based Value message <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>MessageType</em>&nbsp;</td><td>The type of message being created </td></tr><tr><td valign=top><em>pDestination</em>&nbsp;</td><td>A pointer to the window that the message is destined for (0 for no specific destination, or to broadcast to all) </td></tr><tr><td valign=top><em>pSource</em>&nbsp;</td><td>A pointer to the control that triggered the message </td></tr><tr><td valign=top><em>Value</em>&nbsp;</td><td>A template type data the user has </td></tr></table></dl><p>Definition at line <a class="el" href="wg__message_8h-source.html#l00175">175</a> of file <a class="el" href="wg__message_8h-source.html">wg_message.h</a>.<p>References <a class="el" href="wg__message_8h-source.html#l00048">wGui::CMessage::EMessageType</a>, <a class="el" href="wg__message_8h-source.html#l00191">wGui::CValueMessage&lt; T &gt;::m_Value</a>, <a class="el" href="wg__message_8h-source.html#l00078">wGui::CMessage::MessageType()</a>, and <a class="el" href="wg__message_8h-source.html#l00182">wGui::CValueMessage&lt; T &gt;::Value()</a>.    </td>  </tr></table><hr><h2>Member Function Documentation</h2><a name="a2" doxytag="wGui::CValueMessage::SetValue"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" colspan="4">template&lt;typename T&gt; </td>        </tr>        <tr>          <td class="md" nowrap valign="top"> void wGui::CValueMessage&lt; T &gt;::SetValue </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const T &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>Value</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap><code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Sets the value of the message <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>Value</em>&nbsp;</td><td>The value </td></tr></table></dl><p>Definition at line <a class="el" href="wg__message_8h-source.html#l00186">186</a> of file <a class="el" href="wg__message_8h-source.html">wg_message.h</a>.<p>References <a class="el" href="wg__message_8h-source.html#l00191">wGui::CValueMessage&lt; T &gt;::m_Value</a>, and <a class="el" href="wg__message_8h-source.html#l00182">wGui::CValueMessage&lt; T &gt;::Value()</a>.    </td>  </tr></table><a name="a1" doxytag="wGui::CValueMessage::Value"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" colspan="4">template&lt;typename T&gt; </td>        </tr>        <tr>          <td class="md" nowrap valign="top"> const T&amp; wGui::CValueMessage&lt; T &gt;::Value </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">void&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap><code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Returns the value of the message <dl compact><dt><b>Returns: </b></dt><dd>A constant reference to the internal value </dl><p>Definition at line <a class="el" href="wg__message_8h-source.html#l00182">182</a> of file <a class="el" href="wg__message_8h-source.html">wg_message.h</a>.<p>References <a class="el" href="wg__message_8h-source.html#l00191">wGui::CValueMessage&lt; T &gt;::m_Value</a>.<p>Referenced by <a class="el" href="wg__message_8h-source.html#l00175">wGui::CValueMessage&lt; T &gt;::CValueMessage()</a>, and <a class="el" href="wg__message_8h-source.html#l00186">wGui::CValueMessage&lt; T &gt;::SetValue()</a>.    </td>  </tr></table><hr>The documentation for this class was generated from the following file:<ul><li><a class="el" href="wg__message_8h-source.html">wg_message.h</a></ul><hr><address style="align: right;"><small>Generated on Sat Oct 25 12:43:29 2003 for wGui by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.18 </small></address></body></html>

⌨️ 快捷键说明

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