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> TemplateOsclException< LeaveCode > 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>OsclException< LeaveCode > Class Template Reference<br> 10<small> 11[<a class="el" href="group__osclerror.html">OSCL Error</a>]</small> 12</h1><a class="el" href="oscl__exception_8h.html">oscl_exception.h</a> contains all the exception handling macros and classes This template class provides the base exception class that all exceptions derive from 13<a href="#_details">More...</a> 14<p> 15<code>#include <<a class="el" href="oscl__exception_8h-source.html">oscl_exception.h</a>></code> 16<p> 17<table border=0 cellpadding=0 cellspacing=0> 18<tr><td></td></tr> 19<tr><td colspan=2><br><h2>Public Methods</h2></td></tr> 20<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classOsclException.html#a0">OsclException</a> ()</td></tr> 21<tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr> 22<tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classOsclException.html#d0">getLeaveCode</a> ()</td></tr> 23</table> 24<hr><a name="_details"></a><h2>Detailed Description</h2> 25<h3>template<int LeaveCode><br> 26 class OsclException< LeaveCode ></h3> 27 28<a class="el" href="oscl__exception_8h.html">oscl_exception.h</a> contains all the exception handling macros and classes This template class provides the base exception class that all exceptions derive from 29<p> 30All PacketVideo exception classes will be derived from the OsclException class. Each derived class will have a static function where the leave code can be obtained. This avoids the issue of having static members in a DLL. The function needs to be static so it can be called without an instance of the class 31<p> 32<hr><h2>Constructor & Destructor Documentation</h2> 33<a name="a0" doxytag="OsclException::OsclException"></a><p> 34<table width="100%" cellpadding="2" cellspacing="0" border="0"> 35 <tr> 36 <td class="md"> 37 <table cellpadding="0" cellspacing="0" border="0"> 38 <tr> 39 <td class="md" colspan="4"> 40template<int LeaveCode> </td> 41 </tr> 42 <tr> 43 <td class="md" nowrap valign="top"> OsclException< LeaveCode >::OsclException </td> 44 <td class="md" valign="top">( </td> 45 <td class="mdname1" valign="top" nowrap> </td> 46 <td class="md" valign="top">) </td> 47 <td class="md" nowrap><code> [inline]</code></td> 48 </tr> 49 50 </table> 51 </td> 52 </tr> 53</table> 54<table cellspacing=5 cellpadding=0 border=0> 55 <tr> 56 <td> 57 58 </td> 59 <td> 60 61<p> 62 </td> 63 </tr> 64</table> 65<hr><h2>Member Function Documentation</h2> 66<a name="d0" doxytag="OsclException::getLeaveCode"></a><p> 67<table width="100%" cellpadding="2" cellspacing="0" border="0"> 68 <tr> 69 <td class="md"> 70 <table cellpadding="0" cellspacing="0" border="0"> 71 <tr> 72 <td class="md" colspan="4"> 73template<int LeaveCode> </td> 74 </tr> 75 <tr> 76 <td class="md" nowrap valign="top"> int OsclException< LeaveCode >::getLeaveCode </td> 77 <td class="md" valign="top">( </td> 78 <td class="mdname1" valign="top" nowrap> </td> 79 <td class="md" valign="top">) </td> 80 <td class="md" nowrap><code> [inline, static]</code></td> 81 </tr> 82 83 </table> 84 </td> 85 </tr> 86</table> 87<table cellspacing=5 cellpadding=0 border=0> 88 <tr> 89 <td> 90 91 </td> 92 <td> 93 94<p> 95 </td> 96 </tr> 97</table> 98<hr>The documentation for this class was generated from the following file:<ul> 99<li><a class="el" href="oscl__exception_8h-source.html">oscl_exception.h</a></ul> 100<hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small> 101<address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small> 102</small></address> 103</body> 104</html> 105