1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> 3 <title>OsclErrorTrap class Reference</title> 4 <link href="doxygen.css" rel="stylesheet" type="text/css"> 5 </head><body> 6 <!-- Generated by Doxygen 1.2.18 --> 7 <center> 8 <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="modules.html">Modules</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center> 9 <hr><h1>OsclErrorTrap Class Reference<br> 10 <small> 11 [<a class="el" href="group__osclerror.html">OSCL Error</a>]</small> 12 </h1><code>#include <<a class="el" href="oscl__error_8h-source.html">oscl_error.h</a>></code> 13 <p> 14 <table border=0 cellpadding=0 cellspacing=0> 15 <tr><td></td></tr> 16 <tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr> 17 <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF int32 </td><td valign=bottom><a class="el" href="classOsclErrorTrap.html#d0">Init</a> (<a class="el" href="classOscl__DefAlloc.html">Oscl_DefAlloc</a> *aAlloc=NULL)</td></tr> 18 <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF int32 </td><td valign=bottom><a class="el" href="classOsclErrorTrap.html#d1">Cleanup</a> ()</td></tr> 19 <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF <a class="el" href="classOsclErrorTrapImp.html">OsclErrorTrapImp</a> * </td><td valign=bottom><a class="el" href="classOsclErrorTrap.html#d2">GetErrorTrapImp</a> ()</td></tr> 20 </table> 21 <hr><h2>Member Function Documentation</h2> 22 <a name="d1" doxytag="OsclErrorTrap::Cleanup"></a><p> 23 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 24 <tr> 25 <td class="md"> 26 <table cellpadding="0" cellspacing="0" border="0"> 27 <tr> 28 <td class="md" nowrap valign="top"> OSCL_IMPORT_REF int32 OsclErrorTrap::Cleanup </td> 29 <td class="md" valign="top">( </td> 30 <td class="mdname1" valign="top" nowrap> </td> 31 <td class="md" valign="top">) </td> 32 <td class="md" nowrap><code> [static]</code></td> 33 </tr> 34 35 </table> 36 </td> 37 </tr> 38 </table> 39 <table cellspacing=5 cellpadding=0 border=0> 40 <tr> 41 <td> 42 43 </td> 44 <td> 45 46 <p> 47 Cleanup and destroy error trap for the calling thread. <dl compact><dt><b>Returns: </b></dt><dd> 48 0 for success, or an error </dl> </td> 49 </tr> 50 </table> 51 <a name="d2" doxytag="OsclErrorTrap::GetErrorTrapImp"></a><p> 52 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 53 <tr> 54 <td class="md"> 55 <table cellpadding="0" cellspacing="0" border="0"> 56 <tr> 57 <td class="md" nowrap valign="top"> OSCL_IMPORT_REF <a class="el" href="classOsclErrorTrapImp.html">OsclErrorTrapImp</a>* OsclErrorTrap::GetErrorTrapImp </td> 58 <td class="md" valign="top">( </td> 59 <td class="mdname1" valign="top" nowrap> </td> 60 <td class="md" valign="top">) </td> 61 <td class="md" nowrap><code> [static]</code></td> 62 </tr> 63 64 </table> 65 </td> 66 </tr> 67 </table> 68 <table cellspacing=5 cellpadding=0 border=0> 69 <tr> 70 <td> 71 72 </td> 73 <td> 74 75 <p> 76 Get the ErrorTrapImp for the current thread. Leaves on error. </td> 77 </tr> 78 </table> 79 <a name="d0" doxytag="OsclErrorTrap::Init"></a><p> 80 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 81 <tr> 82 <td class="md"> 83 <table cellpadding="0" cellspacing="0" border="0"> 84 <tr> 85 <td class="md" nowrap valign="top"> OSCL_IMPORT_REF int32 OsclErrorTrap::Init </td> 86 <td class="md" valign="top">( </td> 87 <td class="md" nowrap valign="top"><a class="el" href="classOscl__DefAlloc.html">Oscl_DefAlloc</a> * </td> 88 <td class="mdname1" valign="top" nowrap> <em>aAlloc</em> = NULL </td> 89 <td class="md" valign="top">) </td> 90 <td class="md" nowrap><code> [static]</code></td> 91 </tr> 92 93 </table> 94 </td> 95 </tr> 96 </table> 97 <table cellspacing=5 cellpadding=0 border=0> 98 <tr> 99 <td> 100 101 </td> 102 <td> 103 104 <p> 105 Allocate and initialize error trap for the calling thread. <dl compact><dt><b>Parameters: </b></dt><dd> 106 <table border=0 cellspacing=2 cellpadding=0> 107 <tr><td valign=top><em>aAlloc:</em> </td><td> 108 optional, allocator to use for the internal implementation. </td></tr> 109 </table> 110 </dl><dl compact><dt><b>Returns: </b></dt><dd> 111 0 for success, or an error </dl> </td> 112 </tr> 113 </table> 114 <hr>The documentation for this class was generated from the following file:<ul> 115 <li><a class="el" href="oscl__error_8h-source.html">oscl_error.h</a></ul> 116 <hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small> 117 <address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small> 118 </small></address> 119 </body> 120 </html> 121