📄 cml_8h.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: CML.h File 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 Page</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div><div class="nav"><a class="el" href="dir_000001.html">inc</a></div><h1>CML.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>Top level include file for the CML libraries. <p>This file serves two purposes; it includes all the other CML header files and it defines the CML object. The CML object contains a number of utility methods dealing with the library as a whole.<p>Definition in file <a class="el" href="CML_8h-source.html">CML.h</a>.<p><p><a href="CML_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"><tr><td></td></tr><tr><td colspan="2"><br><h2>Classes</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classCopleyMotionLibrary.html">CopleyMotionLibrary</a></td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Copley Motion Libraries utility object. <a href="classCopleyMotionLibrary.html#_details">More...</a><br></td></tr><tr><td colspan="2"><br><h2>Enumerations</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="CML_8h.html#a8">CML_LOG_LEVEL</a> { <br> <a class="el" href="CML_8h.html#a8a1">LOG_NONE</a> = 0, <br> <a class="el" href="CML_8h.html#a8a2">LOG_ERRORS</a> = 1, <br> <a class="el" href="CML_8h.html#a8a3">LOG_WARNINGS</a> = 2, <br> <a class="el" href="CML_8h.html#a8a4">LOG_DEBUG</a> = 3, <br> <a class="el" href="CML_8h.html#a8a5">LOG_FILT_CAN</a> = 5, <br> <a class="el" href="CML_8h.html#a8a6">LOG_CAN</a> = 6, <br> <a class="el" href="CML_8h.html#a8a7">LOG_EVERYTHING</a> = 99<br> }</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Copley Motion Libraries debug logging level. <a href="CML_8h.html#a8">More...</a><br></td></tr><tr><td colspan="2"><br><h2>Variables</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a0"></a><!-- doxytag: member="CML.h::cml" ref="a0" args="" --><a class="el" href="classCopleyMotionLibrary.html">CopleyMotionLibrary</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="CML_8h.html#a0">cml</a></td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Global CML object. <br></td></tr></table><hr><h2>Enumeration Type Documentation</h2><a class="anchor" name="a8"></a><!-- doxytag: member="CML.h::CML_LOG_LEVEL" ref="a8" args="" --><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">enum <a class="el" href="CML_8h.html#a8">CML_LOG_LEVEL</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Copley Motion Libraries debug logging level. <p>The CML libraries may be configured to generate a log file for use in debugging system problems. This feature is turned off by default, but may be enabled by calling the method <a class="el" href="classCopleyMotionLibrary.html#a3">CopleyMotionLibrary::SetDebugLevel</a> of the global cml object.<p><div class="fragment"><pre class="fragment"> <a class="code" href="CML_8h.html#a0">cml</a>.<a class="code" href="classCopleyMotionLibrary.html#a3">SetDebugLevel</a>( <a class="code" href="CML_8h.html#a8a7">LOG_EVERYTHING</a> );</pre></div><p>This enumeration gives the logging levels that may be passed to the SetDebugLevel function. Debug logging levels are cumulative, so enabling a high level of logging will cause all messages that would have been logged at a lower level to be written to the log as well. For example, setting the log level to LOG_DEBUG will cause all debug messages to be written to the log, as well as all warnings and errors.<dl compact><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0"><tr><td valign="top"><em><a class="anchor" name="a8a1"></a><!-- doxytag: member="LOG_NONE" ref="a8a1" args="" -->LOG_NONE</em> </td><td>Debug logging is disabled. </td></tr><tr><td valign="top"><em><a class="anchor" name="a8a2"></a><!-- doxytag: member="LOG_ERRORS" ref="a8a2" args="" -->LOG_ERRORS</em> </td><td>Log serious errors only. </td></tr><tr><td valign="top"><em><a class="anchor" name="a8a3"></a><!-- doxytag: member="LOG_WARNINGS" ref="a8a3" args="" -->LOG_WARNINGS</em> </td><td>Log warning messages and errors. </td></tr><tr><td valign="top"><em><a class="anchor" name="a8a4"></a><!-- doxytag: member="LOG_DEBUG" ref="a8a4" args="" -->LOG_DEBUG</em> </td><td>Log some debugging info. </td></tr><tr><td valign="top"><em><a class="anchor" name="a8a5"></a><!-- doxytag: member="LOG_FILT_CAN" ref="a8a5" args="" -->LOG_FILT_CAN</em> </td><td>Log most CAN messages. A few common messages are filtered out. </td></tr><tr><td valign="top"><em><a class="anchor" name="a8a6"></a><!-- doxytag: member="LOG_CAN" ref="a8a6" args="" -->LOG_CAN</em> </td><td>Log all CAN messages. </td></tr><tr><td valign="top"><em><a class="anchor" name="a8a7"></a><!-- doxytag: member="LOG_EVERYTHING" ref="a8a7" args="" -->LOG_EVERYTHING</em> </td><td>Log everything. </td></tr></table></dl><p>Definition at line <a class="el" href="CML_8h-source.html#l00068">68</a> of file <a class="el" href="CML_8h-source.html">CML.h</a>. </td> </tr></table><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 + -