<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <!-- $Id: header.html 8799 2010-06-28 04:12:42Z jpgr87 $ --> <HEAD> <meta HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=utf-8"> <meta name="keywords" content="stage, robot, simulation, player, player/stage"> <link href="doxygen.css" rel="stylesheet" type="text/css"> <style type="text/css"> .floatright { float: right; margin: 0 0 1em 1em; } body { font-family: sans-serif; #font-family: Geneva, Verdana, Helvetica, Arial, sans-serif; background-color: #FFF; color:#000; } a:link { color: #A00; } a:visited { color: #800; } a { text-decoration: none; } a:hover { text-decoration: underline; } .timestamp { text-align:right; background-color: #DDD; font-size:75%;} h1 { font-size:160%; } h2 { font-size:110%; #color: #FFF; #background-color: #666; #padding:3px; } h3 { text-align:left; } img { border: 0; } ul.menu { position:relative; left:-2.5em; margin-bottom:0px; margin-top:0px; } ul.menu1 { position:relative; left:-2.1em; margin-bottom:0px; margin-top:0px; } li.menu { list-style-type: none; position:relative; #left:-0.5em; } #sidebar { position: absolute; left:0px; padding:2em; top:0em; width:12em;} #content { position: absolute; left:12em; top:0em; padding-left:3em; padding-right:3em; padding-bottom:2em; margin-top:1em; margin-right:2em; } div.box { background-color:#EEE; border: 1px solid #000; padding: 0.5ex 0.4em 0.5ex 0.6em; margin:1em; } div.title { font-weight:bold; background-color:#eee; margin-bottom:2px;} div.topbar { position: absolute; top:0px; left:9em; margin:1em; } </style> <TITLE>Player Manual</TITLE> </HEAD> <body> <div id="sidebar"> <h2 style="text-align:center;"> <a href="index.html"> <img width=140 src="http://playerstage.sourceforge.net/images/player_button_v3.png" alt="Player logo"><br></a> </h2> <div class="box"> <div class=title>Player</div> <ul class=menu> <li class=menu><a href="index.html">Frontpage</a> <li class=menu><a href="modules.html">Contents</a> </ul> </div> <div class="box"> <div class=title>User</div> <ul class=menu> <li class=menu><a href="install.html">Installation</a> <li class=menu><a href="start.html">Quick start</a> <li class=menu><a href="supported_hardware.html">Supported devices</a> <li class=menu><a href="group__tutorials.html">Tutorials</a> <li class=menu><a href="group__utils.html">Utilities</a> <li class=menu><a href="group__clientlibs.html">Client libraries</a> <li class=menu><a href="http://playerstage.sourceforge.net/wiki/Basic_FAQ">FAQ</a> <li class=menu><a href="help.html">Help</a> </ul> </div> <div class=box> <div class="title">Developer</div> <ul class=menu> <li class=menu><a href="architecture.html">Architecture</a> <li class=menu><a href="group__libplayercore.html">libplayercore</a> <ul class=menu1> <li class=menu><a href="group__interfaces.html">interfaces</a></li> </ul> <li class=menu><a href="group__libplayerdrivers.html">libplayerdrivers</a> <ul class=menu1> <li class=menu><a href="group__drivers.html">drivers</a></li> </ul> <li class=menu><a href="group__libplayercommon.html">libplayercommon</a> <li class=menu><a href="group__libplayerutils.html">libplayerutils</a> <li class=menu><a href="group__libplayersd.html">libplayersd</a> <li class=menu><a href="group__libplayertcp.html">libplayertcp</a> <li class=menu><a href="group__libplayerxdr.html">libplayerxdr</a> <li class=menu><a href="todo.html">TODO</a> </ul> </div> <div class=box> <!-- <a href="http://sourceforge.net"><img border=0 src="http://sourceforge.net/sflogo.php?group_id=42445&type=1"></a> --> <div class="title">Online</div> <a href="http://playerstage.sourceforge.net">Homepage</a><br> <a href="http://sourceforge.net/project/showfiles.php?group_id=42445">Download</a><br> <a href="http://sourceforge.net/projects/playerstage">Project</a><br> <a href="http://sourceforge.net/tracker/?group_id=42445">Bugs</a><br> <a href="http://sourceforge.net/mail/?group_id=42445">Help</a> </div> </div> <div id="content" > <!-- Generated by Doxygen 1.7.1 --> <div class="header"> <div class="headertitle"> <h1>libplayercommon</h1> </div> </div> <div class="contents"> <p>This C library provides error-reporting and debug output facilities. <a href="#_details">More...</a></p> <table class="memberdecls"> <tr><td colspan="2"><p><a class="anchor" id="amgrpd41d8cd98f00b204e9800998ecf8427e"></a> </p> <br/><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__libplayercommon.html#ga037512b044a9b748088953b8229daf7e">PLAYER_ERROR</a>(msg) ErrorPrint(PLAYER_ERR_ERR, 0, __FILE__, __LINE__, "error : " msg "\n")</td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__libplayercommon.html#ga1b2436798c6df244fe23a1354698b430">PLAYER_ERROR1</a>(msg, a) ErrorPrint(PLAYER_ERR_ERR, 0, __FILE__, __LINE__, "error : " msg "\n", a)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__libplayercommon.html#gac9dda8a4806b885d9e37a44f263e7bb6">PLAYER_ERROR2</a>(msg, a, b) ErrorPrint(PLAYER_ERR_ERR, 0, __FILE__, __LINE__, "error : " msg "\n", a, b)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__libplayercommon.html#ga836efa989f22f243a786392145b13e62">PLAYER_ERROR3</a>(msg, a, b, c) ErrorPrint(PLAYER_ERR_ERR, 0, __FILE__, __LINE__, "error : " msg "\n", a, b, c)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__libplayercommon.html#gadf30b54c1ba4a78c4104c363e6515a67">PLAYER_ERROR4</a>(msg, a, b, c, d) ErrorPrint(PLAYER_ERR_ERR, 0, __FILE__, __LINE__, "error : " msg "\n", a, b, c, d)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__libplayercommon.html#gaadd58fa3701d3e9aff37a91e55d81114">PLAYER_ERROR5</a>(msg, a, b, c, d, e) ErrorPrint(PLAYER_ERR_ERR, 0, __FILE__, __LINE__, "error : " msg "\n", a, b, c, d, e)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga107ea47b28d5a6293b328ece093a91db"></a><!-- doxytag: member="libplayercommon::PLAYER_WARN" ref="ga107ea47b28d5a6293b328ece093a91db" args="(msg)" --> #define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__libplayercommon.html#ga107ea47b28d5a6293b328ece093a91db">PLAYER_WARN</a>(msg) ErrorPrint(PLAYER_ERR_WARN, 0, __FILE__, __LINE__, "warning : " msg "\n")</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Warning message macros. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__libplayercommon.html#ga65a614d6a5e549ca15019bcc8aa7f931">PLAYER_WARN1</a>(msg, a) ErrorPrint(PLAYER_ERR_WARN, 0, __FILE__, __LINE__, "warning : " msg "\n", a)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__libplayercommon.html#ga6f6ae6e397b4da882314f78dc2665d35">PLAYER_WARN2</a>(msg, a, b) ErrorPrint(PLAYER_ERR_WARN, 0, __FILE__, __LINE__, "warning : " msg "\n", a, b)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__libplayercommon.html#ga69709c72e0a6560841cdf8ee3f5876c2">PLAYER_WARN3</a>(msg, a, b, c) ErrorPrint(PLAYER_ERR_WARN, 0, __FILE__, __LINE__, "warning : " msg "\n", a, b, c)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__libplayercommon.html#gaff1df23a6aa0120c674958117af23031">PLAYER_WARN4</a>(msg, a, b, c, d) ErrorPrint(PLAYER_ERR_WARN, 0, __FILE__, __LINE__, "warning : " msg "\n", a, b, c, d)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__libplayercommon.html#gaa9e99d8a3580f39a7eb12db7ae08f0ae">PLAYER_WARN5</a>(msg, a, b, c, d, e) ErrorPrint(PLAYER_ERR_WARN, 0, __FILE__, __LINE__, "warning : " msg "\n", a, b, c, d, e)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__libplayercommon.html#ga2feb3b413f9733726430313dc1ab7863">PLAYER_WARN6</a>(msg, a, b, c, d, e, f) ErrorPrint(PLAYER_ERR_WARN, 0, __FILE__, __LINE__, "warning : " msg "\n", a, b, c, d, e, f)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__libplayercommon.html#gac9dd7d1f720f7b9493159eeef5d1a0d5">PLAYER_WARN7</a>(msg, a, b, c, d, e, f, g) ErrorPrint(PLAYER_ERR_WARN, 0, __FILE__, __LINE__, "warning : " msg "\n", a, b, c, d, e, f, g)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__libplayercommon.html#gae7553e0b3d58ba01b7ece74c89430cd7">PLAYER_MSG0</a>(level, msg) ErrorPrint(PLAYER_ERR_MSG, level, __FILE__, __LINE__, "" msg "\n")</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">General messages. <a href="#gae7553e0b3d58ba01b7ece74c89430cd7"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__libplayercommon.html#gad379e27a836c950a5d63905a61574d5d">PLAYER_MSG1</a>(level, msg, a) ErrorPrint(PLAYER_ERR_MSG, level, __FILE__, __LINE__, "" msg "\n", a)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__libplayercommon.html#ga32eb2b754eb9149a8e71408d77d57412">PLAYER_MSG2</a>(level, msg, a, b) ErrorPrint(PLAYER_ERR_MSG, level, __FILE__, __LINE__, "" msg "\n", a, b)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__libplayercommon.html#ga8ed5d3c98dbd7e7f32fc980db221eadf">PLAYER_MSG3</a>(level, msg, a, b, c) ErrorPrint(PLAYER_ERR_MSG, level, __FILE__, __LINE__, "" msg "\n", a, b, c)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__libplayercommon.html#ga05364f423d30c6fe88eec397b6cf0bf5">PLAYER_MSG4</a>(level, msg, a, b, c, d) ErrorPrint(PLAYER_ERR_MSG, level, __FILE__, __LINE__, "" msg "\n", a, b, c, d)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__libplayercommon.html#gaec456f8eddade3f26a40900b09c75bb3">PLAYER_MSG5</a>(level, msg, a, b, c, d, e) ErrorPrint(PLAYER_ERR_MSG, level, __FILE__, __LINE__, "" msg "\n", a, b, c, d, e)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__libplayercommon.html#gaaba84a292905524c1a326ad26469a837">PLAYER_MSG6</a>(level, msg, a, b, c, d, e, f) ErrorPrint(PLAYER_ERR_MSG, level, __FILE__, __LINE__, "" msg "\n", a, b, c, d, e, f)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__libplayercommon.html#gaa1cb106e623d72a93bf1365019d33df9">PLAYER_MSG7</a>(level, msg, a, b, c, d, e, f, g) ErrorPrint(PLAYER_ERR_MSG, level, __FILE__, __LINE__, "" msg "\n", a, b, c, d, e, f, g)</td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>This C library provides error-reporting and debug output facilities. </p> <p>Instead of calling directly into the stdio library (printf, puts, etc.), use the macros defined in <a class="el" href="error_8h_source.html">error.h</a>, so that message verbosity can be centrally controlled and so that all messsages get logged to .player. </p> <hr/><h2>Define Documentation</h2> <a class="anchor" id="ga037512b044a9b748088953b8229daf7e"></a><!-- doxytag: member="error.h::PLAYER_ERROR" ref="ga037512b044a9b748088953b8229daf7e" args="(msg)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define PLAYER_ERROR</td> <td>(</td> <td class="paramtype"> </td> <td class="paramname">msg</td> <td> ) </td> <td> ErrorPrint(PLAYER_ERR_ERR, 0, __FILE__, __LINE__, "error : " msg "\n")</td> </tr> </table> </div> <div class="memdoc"> <p>Error message macros </p> <p>Referenced by <a class="el" href="classSegwayRMP.html#a7e0037672a31a3bb4d1efdfa54bb7871">SegwayRMP::CanBusSetup()</a>, <a class="el" href="classSegwayRMP.html#a533bab32d35b2733f40e9083d0df0531">SegwayRMP::Main()</a>, <a class="el" href="classRFLEX.html#a521224f2064ccf8a4c8b3529af3dc807">RFLEX::Main()</a>, <a class="el" href="classSphereDriver.html#a16a4d91e9b4e78cb2f3ef5466c929fe1">SphereDriver::MainSetup()</a>, <a class="el" href="classSegwayRMP.html#a99e72458a2a8d143d532c848bdb478c0">SegwayRMP::MainSetup()</a>, <a class="el" href="classP2OS.html#a0d68295c8ef5abb7fd895d8cf017e295">P2OS::MainSetup()</a>, <a class="el" href="classImageBase.html#af23227a29cf828ae353915e888be3cd4">ImageBase::MainSetup()</a>, <a class="el" href="classCameraUvc.html#a5c002e1c1d199f09fe6dac74d694dd71">CameraUvc::MainSetup()</a>, <a class="el" href="classClaser.html#ad5996e6ef25a86ebc2cdc82ed94ef2fb">Claser::openSerial()</a>, <a class="el" href="classClaser.html#a3a9a63e01d4557a10e0c61e9db8e8429">Claser::runLaser()</a>, <a class="el" href="classClaser.html#a4a5d477b1ff97811e52de3843ca65f61">Claser::scanRead()</a>, <a class="el" href="classSegwayRMP400.html#acb6a15335d0c3af344f7dd183f844767">SegwayRMP400::SegwayRMP400()</a>, <a class="el" href="classLaserTransform.html#aa3c5273497a2e440f689b9e5dced38b3">LaserTransform::Setup()</a>, <a class="el" href="classSphereDriver.html#aae00afd6dde3191c6393252f037fb178">SphereDriver::SphereDriver()</a>, and <a class="el" href="classSegwayRMP.html#a760e9f3897a439508d50711bc8fdc94a">SegwayRMP::USBSetup()</a>.</p> </div> </div> <a class="anchor" id="ga1b2436798c6df244fe23a1354698b430"></a><!-- doxytag: member="error.h::PLAYER_ERROR1" ref="ga1b2436798c6df244fe23a1354698b430" args="(msg, a)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define PLAYER_ERROR1</td> <td>(</td> <td class="paramtype"> </td> <td class="paramname">msg, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">a</td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> ErrorPrint(PLAYER_ERR_ERR, 0, __FILE__, __LINE__, "error : " msg "\n", a)</td> </tr> </table> </div> <div class="memdoc"> <p>Error message macros </p> <p>Referenced by <a class="el" href="classSegwayRMP.html#a7e0037672a31a3bb4d1efdfa54bb7871">SegwayRMP::CanBusSetup()</a>, <a class="el" href="classSegwayRMP400.html#a844d25800afd96bc5f5fe61e0a352757">SegwayRMP400::MainSetup()</a>, <a class="el" href="classP2OS.html#a0d68295c8ef5abb7fd895d8cf017e295">P2OS::MainSetup()</a>, <a class="el" href="classAdaptiveMCL.html#a707e47ff968aa2e91354f2602ac9bfde">AdaptiveMCL::MainSetup()</a>, <a class="el" href="classSphereDriver.html#aa28d5b13e311c66f663c1f68f4b09ce4">SphereDriver::ProcessMessage()</a>, and <a class="el" href="classGarciaDriver.html#af0f620f101f28c478f3623d308247adf">GarciaDriver::ProcessMessage()</a>.</p> </div> </div> <a class="anchor" id="gac9dda8a4806b885d9e37a44f263e7bb6"></a><!-- doxytag: member="error.h::PLAYER_ERROR2" ref="gac9dda8a4806b885d9e37a44f263e7bb6" args="(msg, a, b)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define PLAYER_ERROR2</td> <td>(</td> <td class="paramtype"> </td> <td class="paramname">msg, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">a, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">b</td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> ErrorPrint(PLAYER_ERR_ERR, 0, __FILE__, __LINE__, "error : " msg "\n", a, b)</td> </tr> </table> </div> <div class="memdoc"> <p>Error message macros </p> </div> </div> <a class="anchor" id="ga836efa989f22f243a786392145b13e62"></a><!-- doxytag: member="error.h::PLAYER_ERROR3" ref="ga836efa989f22f243a786392145b13e62" args="(msg, a, b, c)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define PLAYER_ERROR3</td> <td>(</td> <td class="paramtype"> </td> <td class="paramname">msg, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">a, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">b, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">c</td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> ErrorPrint(PLAYER_ERR_ERR, 0, __FILE__, __LINE__, "error : " msg "\n", a, b, c)</td> </tr> </table> </div> <div class="memdoc"> <p>Error message macros </p> </div> </div> <a class="anchor" id="gadf30b54c1ba4a78c4104c363e6515a67"></a><!-- doxytag: member="error.h::PLAYER_ERROR4" ref="gadf30b54c1ba4a78c4104c363e6515a67" args="(msg, a, b, c, d)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define PLAYER_ERROR4</td> <td>(</td> <td class="paramtype"> </td> <td class="paramname">msg, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">a, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">b, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">c, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">d</td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> ErrorPrint(PLAYER_ERR_ERR, 0, __FILE__, __LINE__, "error : " msg "\n", a, b, c, d)</td> </tr> </table> </div> <div class="memdoc"> <p>Error message macros </p> </div> </div> <a class="anchor" id="gaadd58fa3701d3e9aff37a91e55d81114"></a><!-- doxytag: member="error.h::PLAYER_ERROR5" ref="gaadd58fa3701d3e9aff37a91e55d81114" args="(msg, a, b, c, d, e)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define PLAYER_ERROR5</td> <td>(</td> <td class="paramtype"> </td> <td class="paramname">msg, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">a, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">b, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">c, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">d, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">e</td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> ErrorPrint(PLAYER_ERR_ERR, 0, __FILE__, __LINE__, "error : " msg "\n", a, b, c, d, e)</td> </tr> </table> </div> <div class="memdoc"> <p>Error message macros </p> </div> </div> <a class="anchor" id="gae7553e0b3d58ba01b7ece74c89430cd7"></a><!-- doxytag: member="error.h::PLAYER_MSG0" ref="gae7553e0b3d58ba01b7ece74c89430cd7" args="(level, msg)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define PLAYER_MSG0</td> <td>(</td> <td class="paramtype"> </td> <td class="paramname">level, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">msg</td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> ErrorPrint(PLAYER_ERR_MSG, level, __FILE__, __LINE__, "" msg "\n")</td> </tr> </table> </div> <div class="memdoc"> <p>General messages. </p> <p>Use level to indicate the message importance</p> <ul> <li>0 : important</li> <li>1 : informative</li> <li>2+ : diagnostic All messages are recorded in the log file, but only the more important messages are printed on the console. Use the command line option to dictate which messages will be printed. </li> </ul> <p>Referenced by <a class="el" href="classSegwayRMP.html#a7e0037672a31a3bb4d1efdfa54bb7871">SegwayRMP::CanBusSetup()</a>, <a class="el" href="classwbr914.html#a09f9f9a3acba4e002b8f1a3b646ae392">wbr914::Main()</a>, <a class="el" href="classsnd.html#aee309bd90b33851006be59b8782331d5">snd::Main()</a>, <a class="el" href="classSegwayRMP.html#a533bab32d35b2733f40e9083d0df0531">SegwayRMP::Main()</a>, <a class="el" href="classSegwayRMP400.html#a5748fd3e2f481374b0c41d60bf5b09f7">SegwayRMP400::MainQuit()</a>, <a class="el" href="classSegwayRMP.html#aef2368b2aca07a6a3aa8cc7234101ad1">SegwayRMP::MainQuit()</a>, <a class="el" href="classAdaptiveMCL.html#a8821574e1677052e8a2c0fe746884200">AdaptiveMCL::MainQuit()</a>, <a class="el" href="classwbr914.html#abebabc8064cd4de6397083a4168d24d1">wbr914::MainSetup()</a>, <a class="el" href="classSegwayRMP400.html#a844d25800afd96bc5f5fe61e0a352757">SegwayRMP400::MainSetup()</a>, <a class="el" href="classAdaptiveMCL.html#a707e47ff968aa2e91354f2602ac9bfde">AdaptiveMCL::MainSetup()</a>, <a class="el" href="classsnd.html#a92897857622d982630d9d93104fd3b42">snd::ProcessMessage()</a>, <a class="el" href="classMapTransform.html#a4a4fc2e74cfd93df0c7c08ad2c1dca73">MapTransform::ProcessMessage()</a>, <a class="el" href="classSegwayRMP400.html#acb6a15335d0c3af344f7dd183f844767">SegwayRMP400::SegwayRMP400()</a>, <a class="el" href="classsnd.html#a72a5e2138eb746897909123a6a969784">snd::Setup()</a>, <a class="el" href="classsnd.html#a0c601e3520ca8e8ba5c13e6677c4cc5a">snd::Shutdown()</a>, and <a class="el" href="classSegwayRMP.html#a760e9f3897a439508d50711bc8fdc94a">SegwayRMP::USBSetup()</a>.</p> </div> </div> <a class="anchor" id="gad379e27a836c950a5d63905a61574d5d"></a><!-- doxytag: member="error.h::PLAYER_MSG1" ref="gad379e27a836c950a5d63905a61574d5d" args="(level, msg, a)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define PLAYER_MSG1</td> <td>(</td> <td class="paramtype"> </td> <td class="paramname">level, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">msg, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">a</td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> ErrorPrint(PLAYER_ERR_MSG, level, __FILE__, __LINE__, "" msg "\n", a)</td> </tr> </table> </div> <div class="memdoc"> <p>Error message macros </p> <p>Referenced by <a class="el" href="classRFLEX.html#a521224f2064ccf8a4c8b3529af3dc807">RFLEX::Main()</a>, and <a class="el" href="classP2OS.html#a0d68295c8ef5abb7fd895d8cf017e295">P2OS::MainSetup()</a>.</p> </div> </div> <a class="anchor" id="ga32eb2b754eb9149a8e71408d77d57412"></a><!-- doxytag: member="error.h::PLAYER_MSG2" ref="ga32eb2b754eb9149a8e71408d77d57412" args="(level, msg, a, b)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define PLAYER_MSG2</td> <td>(</td> <td class="paramtype"> </td> <td class="paramname">level, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">msg, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">a, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">b</td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> ErrorPrint(PLAYER_ERR_MSG, level, __FILE__, __LINE__, "" msg "\n", a, b)</td> </tr> </table> </div> <div class="memdoc"> <p>Error message macros </p> <p>Referenced by <a class="el" href="classSegwayRMP.html#a533bab32d35b2733f40e9083d0df0531">SegwayRMP::Main()</a>.</p> </div> </div> <a class="anchor" id="ga8ed5d3c98dbd7e7f32fc980db221eadf"></a><!-- doxytag: member="error.h::PLAYER_MSG3" ref="ga8ed5d3c98dbd7e7f32fc980db221eadf" args="(level, msg, a, b, c)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define PLAYER_MSG3</td> <td>(</td> <td class="paramtype"> </td> <td class="paramname">level, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">msg, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">a, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">b, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">c</td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> ErrorPrint(PLAYER_ERR_MSG, level, __FILE__, __LINE__, "" msg "\n", a, b, c)</td> </tr> </table> </div> <div class="memdoc"> <p>Error message macros </p> <p>Referenced by <a class="el" href="classsnd.html#a92897857622d982630d9d93104fd3b42">snd::ProcessMessage()</a>.</p> </div> </div> <a class="anchor" id="ga05364f423d30c6fe88eec397b6cf0bf5"></a><!-- doxytag: member="error.h::PLAYER_MSG4" ref="ga05364f423d30c6fe88eec397b6cf0bf5" args="(level, msg, a, b, c, d)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define PLAYER_MSG4</td> <td>(</td> <td class="paramtype"> </td> <td class="paramname">level, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">msg, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">a, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">b, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">c, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">d</td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> ErrorPrint(PLAYER_ERR_MSG, level, __FILE__, __LINE__, "" msg "\n", a, b, c, d)</td> </tr> </table> </div> <div class="memdoc"> <p>Error message macros </p> <p>Referenced by <a class="el" href="classMapTransform.html#a4a4fc2e74cfd93df0c7c08ad2c1dca73">MapTransform::ProcessMessage()</a>.</p> </div> </div> <a class="anchor" id="gaec456f8eddade3f26a40900b09c75bb3"></a><!-- doxytag: member="error.h::PLAYER_MSG5" ref="gaec456f8eddade3f26a40900b09c75bb3" args="(level, msg, a, b, c, d, e)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define PLAYER_MSG5</td> <td>(</td> <td class="paramtype"> </td> <td class="paramname">level, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">msg, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">a, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">b, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">c, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">d, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">e</td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> ErrorPrint(PLAYER_ERR_MSG, level, __FILE__, __LINE__, "" msg "\n", a, b, c, d, e)</td> </tr> </table> </div> <div class="memdoc"> <p>Error message macros </p> </div> </div> <a class="anchor" id="gaaba84a292905524c1a326ad26469a837"></a><!-- doxytag: member="error.h::PLAYER_MSG6" ref="gaaba84a292905524c1a326ad26469a837" args="(level, msg, a, b, c, d, e, f)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define PLAYER_MSG6</td> <td>(</td> <td class="paramtype"> </td> <td class="paramname">level, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">msg, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">a, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">b, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">c, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">d, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">e, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">f</td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> ErrorPrint(PLAYER_ERR_MSG, level, __FILE__, __LINE__, "" msg "\n", a, b, c, d, e, f)</td> </tr> </table> </div> <div class="memdoc"> <p>Error message macros </p> </div> </div> <a class="anchor" id="gaa1cb106e623d72a93bf1365019d33df9"></a><!-- doxytag: member="error.h::PLAYER_MSG7" ref="gaa1cb106e623d72a93bf1365019d33df9" args="(level, msg, a, b, c, d, e, f, g)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define PLAYER_MSG7</td> <td>(</td> <td class="paramtype"> </td> <td class="paramname">level, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">msg, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">a, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">b, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">c, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">d, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">e, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">f, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">g</td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> ErrorPrint(PLAYER_ERR_MSG, level, __FILE__, __LINE__, "" msg "\n", a, b, c, d, e, f, g)</td> </tr> </table> </div> <div class="memdoc"> <p>Error message macros </p> </div> </div> <a class="anchor" id="ga65a614d6a5e549ca15019bcc8aa7f931"></a><!-- doxytag: member="error.h::PLAYER_WARN1" ref="ga65a614d6a5e549ca15019bcc8aa7f931" args="(msg, a)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define PLAYER_WARN1</td> <td>(</td> <td class="paramtype"> </td> <td class="paramname">msg, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">a</td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> ErrorPrint(PLAYER_ERR_WARN, 0, __FILE__, __LINE__, "warning : " msg "\n", a)</td> </tr> </table> </div> <div class="memdoc"> <p>Error message macros </p> <p>Referenced by <a class="el" href="classAlsa.html#a46a695a8a788d0039c1465389a54d855">Alsa::Main()</a>, and <a class="el" href="classsnd.html#a92897857622d982630d9d93104fd3b42">snd::ProcessMessage()</a>.</p> </div> </div> <a class="anchor" id="ga6f6ae6e397b4da882314f78dc2665d35"></a><!-- doxytag: member="error.h::PLAYER_WARN2" ref="ga6f6ae6e397b4da882314f78dc2665d35" args="(msg, a, b)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define PLAYER_WARN2</td> <td>(</td> <td class="paramtype"> </td> <td class="paramname">msg, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">a, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">b</td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> ErrorPrint(PLAYER_ERR_WARN, 0, __FILE__, __LINE__, "warning : " msg "\n", a, b)</td> </tr> </table> </div> <div class="memdoc"> <p>Error message macros </p> <p>Referenced by <a class="el" href="classMapTransform.html#a4a4fc2e74cfd93df0c7c08ad2c1dca73">MapTransform::ProcessMessage()</a>.</p> </div> </div> <a class="anchor" id="ga69709c72e0a6560841cdf8ee3f5876c2"></a><!-- doxytag: member="error.h::PLAYER_WARN3" ref="ga69709c72e0a6560841cdf8ee3f5876c2" args="(msg, a, b, c)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define PLAYER_WARN3</td> <td>(</td> <td class="paramtype"> </td> <td class="paramname">msg, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">a, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">b, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">c</td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> ErrorPrint(PLAYER_ERR_WARN, 0, __FILE__, __LINE__, "warning : " msg "\n", a, b, c)</td> </tr> </table> </div> <div class="memdoc"> <p>Error message macros </p> </div> </div> <a class="anchor" id="gaff1df23a6aa0120c674958117af23031"></a><!-- doxytag: member="error.h::PLAYER_WARN4" ref="gaff1df23a6aa0120c674958117af23031" args="(msg, a, b, c, d)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define PLAYER_WARN4</td> <td>(</td> <td class="paramtype"> </td> <td class="paramname">msg, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">a, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">b, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">c, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">d</td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> ErrorPrint(PLAYER_ERR_WARN, 0, __FILE__, __LINE__, "warning : " msg "\n", a, b, c, d)</td> </tr> </table> </div> <div class="memdoc"> <p>Error message macros </p> </div> </div> <a class="anchor" id="gaa9e99d8a3580f39a7eb12db7ae08f0ae"></a><!-- doxytag: member="error.h::PLAYER_WARN5" ref="gaa9e99d8a3580f39a7eb12db7ae08f0ae" args="(msg, a, b, c, d, e)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define PLAYER_WARN5</td> <td>(</td> <td class="paramtype"> </td> <td class="paramname">msg, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">a, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">b, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">c, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">d, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">e</td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> ErrorPrint(PLAYER_ERR_WARN, 0, __FILE__, __LINE__, "warning : " msg "\n", a, b, c, d, e)</td> </tr> </table> </div> <div class="memdoc"> <p>Error message macros </p> </div> </div> <a class="anchor" id="ga2feb3b413f9733726430313dc1ab7863"></a><!-- doxytag: member="error.h::PLAYER_WARN6" ref="ga2feb3b413f9733726430313dc1ab7863" args="(msg, a, b, c, d, e, f)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define PLAYER_WARN6</td> <td>(</td> <td class="paramtype"> </td> <td class="paramname">msg, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">a, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">b, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">c, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">d, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">e, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">f</td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> ErrorPrint(PLAYER_ERR_WARN, 0, __FILE__, __LINE__, "warning : " msg "\n", a, b, c, d, e, f)</td> </tr> </table> </div> <div class="memdoc"> <p>Error message macros </p> </div> </div> <a class="anchor" id="gac9dd7d1f720f7b9493159eeef5d1a0d5"></a><!-- doxytag: member="error.h::PLAYER_WARN7" ref="gac9dd7d1f720f7b9493159eeef5d1a0d5" args="(msg, a, b, c, d, e, f, g)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define PLAYER_WARN7</td> <td>(</td> <td class="paramtype"> </td> <td class="paramname">msg, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">a, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">b, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">c, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">d, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">e, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">f, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">g</td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> ErrorPrint(PLAYER_ERR_WARN, 0, __FILE__, __LINE__, "warning : " msg "\n", a, b, c, d, e, f, g)</td> </tr> </table> </div> <div class="memdoc"> <p>Error message macros </p> </div> </div> </div> <!-- render the modification time of the source file --> <div class="timestamp"> <hr> <table style="width:100%;"> <tr> <td style="text-align:left;"> Last updated 12 September 2005 21:38:45 <!-- <td style="text-align:right;"> <a href="http://validator.w3.org/check/referer"><img style="vertical-align:middle;border:0;width:88px;height:31px" src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!"></a> <a href="http://jigsaw.w3.org/css-validator/"> <img style="vertical-align:middle;border:0;width:88px;height:31px" src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Valid CSS!"> </a> --> </tr> </table> </div> </tr> </table> </BODY> </HTML>