📄 classpdo.html
字号:
</table><a class="anchor" name="a10"></a><!-- doxytag: member="PDO::GetMapCodes" ref="a10" args="(uint32 codes[])" --><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 int GetMapCodes </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="CML__Utils_8h.html#a10">uint32</a> </td> <td class="mdname1" valign="top" nowrap> <em>codes</em>[] </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline, virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Fill the array of 32-bit ints with the PDO mapping codes used by this PDO. <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>codes</em> </td><td>An array of at least PDO_MAP_LEN 32-bit ints. The mapping codes will be stored here </td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>The number of elements mapped into this PDO. </dd></dl><p>Definition at line <a class="el" href="CML__PDO_8h-source.html#l00571">571</a> of file <a class="el" href="CML__PDO_8h-source.html">CML_PDO.h</a>. </td> </tr></table><a class="anchor" name="a9"></a><!-- doxytag: member="PDO::GetRtrOk" ref="a9" args="(void)" --><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 int GetRtrOk </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline, virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Return non-zero if RTR requests are OK for this PDO. <p>Note that this only really makes sense for transmit PDOs <dl compact><dt><b>Returns:</b></dt><dd>zero if RTR not allowed, non-zero if allowed. </dd></dl><p>Definition at line <a class="el" href="CML__PDO_8h-source.html#l00562">562</a> of file <a class="el" href="CML__PDO_8h-source.html">CML_PDO.h</a>. </td> </tr></table><a class="anchor" name="a6"></a><!-- doxytag: member="PDO::GetType" ref="a6" args="(void)" --><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 <a class="el" href="CML__Utils_8h.html#a2">byte</a> GetType </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline, virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Return the PDO transmission type associated with this PDO. <p><dl compact><dt><b>Returns:</b></dt><dd>The 8-bit type code </dd></dl><p>Definition at line <a class="el" href="CML__PDO_8h-source.html#l00546">546</a> of file <a class="el" href="CML__PDO_8h-source.html">CML_PDO.h</a>. </td> </tr></table><a class="anchor" name="a2"></a><!-- doxytag: member="PDO::Init" ref="a2" args="(void)" --><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 const <a class="el" href="classError.html">Error</a>* Init </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline, virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Initialize the PDO. <p><dl compact><dt><b>Returns:</b></dt><dd>A pointer to an error object, or NULL on success </dd></dl><p>Reimplemented in <a class="el" href="classRPDO__LinkCtrl.html#a1">RPDO_LinkCtrl</a>.<p>Definition at line <a class="el" href="CML__PDO_8h-source.html#l00519">519</a> of file <a class="el" href="CML__PDO_8h-source.html">CML_PDO.h</a>. </td> </tr></table><a class="anchor" name="a5"></a><!-- doxytag: member="PDO::SetType" ref="a5" args="(byte t)" --><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 const <a class="el" href="classError.html">Error</a>* SetType </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="CML__Utils_8h.html#a2">byte</a> </td> <td class="mdname1" valign="top" nowrap> <em>t</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline, virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Set the PDO transmission type code. <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>t</em> </td><td>Transmission type code </td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>An error object. </dd></dl><p>Definition at line <a class="el" href="CML__PDO_8h-source.html#l00539">539</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 files:<ul><li><a class="el" href="CML__PDO_8h-source.html">CML_PDO.h</a><li><a class="el" href="PDO_8cpp-source.html">PDO.cpp</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 + -