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

📄 classpmapraw.html

📁 美国COPLEY驱动器,程序开发工具之一.
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>Copley Motion Library: PmapRaw Class Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.4.4 --><div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div><h1>PmapRaw Class Reference</h1><!-- doxytag: class="PmapRaw" --><!-- doxytag: inherits="Pmap" --><p>Inheritance diagram for PmapRaw:<p><center><img src="classPmapRaw.png" usemap="#PmapRaw_map" border="0" alt=""></center><map name="PmapRaw_map"><area href="classPmap.html" alt="Pmap" shape="rect" coords="0,0,67,24"></map><a href="classPmapRaw-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>This is the most generic <a class="el" href="classPDO.html">PDO</a> variable mapping class. <p>It doesn't do any special formatting, just holds up to 8 bytes of raw data.<p><p>Definition at line <a class="el" href="CML__PDO_8h-source.html#l00151">151</a> of file <a class="el" href="CML__PDO_8h-source.html">CML_PDO.h</a>.<table border="0" cellpadding="0" cellspacing="0"><tr><td></td></tr><tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a0"></a><!-- doxytag: member="PmapRaw::PmapRaw" ref="a0" args="()" -->&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPmapRaw.html#a0">PmapRaw</a> ()</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor. <br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPmapRaw.html#a1">PmapRaw</a> (<a class="el" href="CML__Utils_8h.html#a8">uint16</a> <a class="el" href="classPmap.html#p0">index</a>, <a class="el" href="CML__Utils_8h.html#a2">byte</a> <a class="el" href="classPmap.html#p1">sub</a>, <a class="el" href="CML__Utils_8h.html#a2">byte</a> <a class="el" href="classPmap.html#p2">bits</a>)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a new mapping object.  <a href="#a1"></a><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="classPmapRaw.html#a2">Get</a> (<a class="el" href="CML__Utils_8h.html#a2">byte</a> *cptr)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Copy the current value of this variable into the passed character array.  <a href="#a2"></a><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="classPmapRaw.html#a3">Set</a> (<a class="el" href="CML__Utils_8h.html#a2">byte</a> *cptr)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Update the value of this variable based on the data passed in a character array.  <a href="#a3"></a><br></td></tr></table><hr><h2>Constructor &amp; Destructor Documentation</h2><a class="anchor" name="a1"></a><!-- doxytag: member="PmapRaw::PmapRaw" ref="a1" args="(uint16 index, byte sub, byte bits)" --><p><table class="mdTable" 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="classPmapRaw.html">PmapRaw</a>           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="CML__Utils_8h.html#a8">uint16</a>&nbsp;</td>          <td class="mdname" nowrap> <em>index</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap><a class="el" href="CML__Utils_8h.html#a2">byte</a>&nbsp;</td>          <td class="mdname" nowrap> <em>sub</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap><a class="el" href="CML__Utils_8h.html#a2">byte</a>&nbsp;</td>          <td class="mdname" nowrap> <em>bits</em></td>        </tr>        <tr>          <td class="md"></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>Create a new mapping object. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>index</em>&nbsp;</td><td>Object index associated with this variable </td></tr>    <tr><td valign="top"></td><td valign="top"><em>sub</em>&nbsp;</td><td>Object sub-index </td></tr>    <tr><td valign="top"></td><td valign="top"><em>bits</em>&nbsp;</td><td>The size of the variable in bits </td></tr>  </table></dl><p>Definition at line <a class="el" href="CML__PDO_8h-source.html#l00164">164</a> of file <a class="el" href="CML__PDO_8h-source.html">CML_PDO.h</a>.    </td>  </tr></table><hr><h2>Member Function Documentation</h2><a class="anchor" name="a2"></a><!-- doxytag: member="PmapRaw::Get" ref="a2" args="(byte *cptr)" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">virtual void Get           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="CML__Utils_8h.html#a2">byte</a> *&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>cptr</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [inline, virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Copy the current value of this variable into the passed character array. <p>This function is called when a receive <a class="el" href="classPDO.html">PDO</a> is about to be transmitted to a node. <dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>cptr</em>&nbsp;</td><td>A character pointer that references a char array large enough to hold this objects data. </td></tr>  </table></dl><p>Reimplemented from <a class="el" href="classPmap.html#a4">Pmap</a>.<p>Definition at line <a class="el" href="CML__PDO_8h-source.html#l00174">174</a> of file <a class="el" href="CML__PDO_8h-source.html">CML_PDO.h</a>.    </td>  </tr></table><a class="anchor" name="a3"></a><!-- doxytag: member="PmapRaw::Set" ref="a3" args="(byte *cptr)" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">virtual void Set           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="CML__Utils_8h.html#a2">byte</a> *&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>cptr</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [inline, virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Update the value of this variable based on the data passed in a character array. <p>This function is called when a transmit <a class="el" href="classPDO.html">PDO</a> that this variable is mapped to is received. <dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>cptr</em>&nbsp;</td><td>A pointer to the received data. </td></tr>  </table></dl><p>Reimplemented from <a class="el" href="classPmap.html#a5">Pmap</a>.<p>Definition at line <a class="el" href="CML__PDO_8h-source.html#l00185">185</a> of file <a class="el" href="CML__PDO_8h-source.html">CML_PDO.h</a>.    </td>  </tr></table><hr>The documentation for this class was generated from the following file:<ul><li><a class="el" href="CML__PDO_8h-source.html">CML_PDO.h</a></ul><hr><address style="align: right;"><small>Copley Motion Library, Copyright (c) 2002-2003<a href="http://www.copleycontrols.com"><img src="CCC_logo.gif" alt="Copley Controls Corp." align="middle" border=0 ></a></small></address></body></html>

⌨️ 快捷键说明

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