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>oscl_heapbase.h Source File</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>oscl_heapbase.h</h1><a href="oscl__heapbase_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">// -*- c++ -*-</span> 10 00002 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span> 11 00003 12 00004 <span class="comment">// O S C L _ H E A P B A S E</span> 13 00005 14 00006 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span> 15 00007 16 00017 <span class="preprocessor">#ifndef OSCL_HEAPBASE_H_INCLUDED</span> 17 00018 <span class="preprocessor"></span><span class="preprocessor">#define OSCL_HEAPBASE_H_INCLUDED</span> 18 00019 <span class="preprocessor"></span> 19 00020 <span class="preprocessor">#ifndef OSCLCONFIG_ERROR_H_INCLUDED</span> 20 00021 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="osclconfig__error_8h.html">osclconfig_error.h</a>"</span> 21 00022 <span class="preprocessor">#endif</span> 22 00023 <span class="preprocessor"></span> 23 00024 <span class="preprocessor">#ifndef OSCL_BASE_H_INCLUDED</span> 24 00025 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="oscl__base_8h.html">oscl_base.h</a>"</span> 25 00026 <span class="preprocessor">#endif</span> 26 00027 <span class="preprocessor"></span> 27 <a name="l00034"></a><a class="code" href="class__OsclHeapBase.html">00034</a> <span class="keyword">class </span><a class="code" href="class__OsclHeapBase.html">_OsclHeapBase</a> 28 00035 { 29 00036 <span class="keyword">public</span>: 30 <a name="l00037"></a><a class="code" href="class__OsclHeapBase.html#a0">00037</a> <span class="keyword">virtual</span> <a class="code" href="class__OsclHeapBase.html#a0">~_OsclHeapBase</a>() {} 31 00038 32 00039 <span class="keyword">protected</span>: 33 <a name="l00040"></a><a class="code" href="class__OsclHeapBase.html#b0">00040</a> <a class="code" href="class__OsclHeapBase.html#b0">_OsclHeapBase</a>() {} 34 <a name="l00041"></a><a class="code" href="class__OsclHeapBase.html#b1">00041</a> <a class="code" href="class__OsclHeapBase.html#b0">_OsclHeapBase</a>(<span class="keyword">const</span> <a class="code" href="class__OsclHeapBase.html">_OsclHeapBase</a>&) {} 35 00042 <span class="keyword">private</span>: 36 00043 <a class="code" href="class__OsclHeapBase.html">_OsclHeapBase</a>& operator=(<span class="keyword">const</span> <a class="code" href="class__OsclHeapBase.html">_OsclHeapBase</a>&); 37 <a name="l00044"></a><a class="code" href="class__OsclHeapBase.html#l0">00044</a> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="class__OsclHeapBase.html#l0">PVCleanupStack</a>; 38 00045 }; 39 00046 40 <a name="l00052"></a><a class="code" href="group__osclerror.html#a3">00052</a> <span class="keyword">typedef</span> void (*<a class="code" href="group__osclerror.html#a3">OsclTrapOperation</a>)(<a class="code" href="group__osclbase.html#a25">OsclAny</a>*); 41 00053 42 <a name="l00054"></a><a class="code" href="classOsclTrapItem.html">00054</a> <span class="keyword">class </span><a class="code" href="classOsclTrapItem.html">OsclTrapItem</a> 43 00055 { 44 00056 <span class="keyword">public</span>: 45 00057 <a class="code" href="group__osclbase.html#a82">OSCL_INLINE</a> <a class="code" href="classOsclTrapItem.html#a0">OsclTrapItem</a>(<a class="code" href="group__osclerror.html#a3">OsclTrapOperation</a> anOperation); 46 00058 <a class="code" href="group__osclbase.html#a82">OSCL_INLINE</a> <a class="code" href="classOsclTrapItem.html#a0">OsclTrapItem</a>(<a class="code" href="group__osclerror.html#a3">OsclTrapOperation</a> anOperation, <a class="code" href="group__osclbase.html#a25">OsclAny</a>* aPtr); 47 00059 <span class="keyword">private</span>: 48 00060 <a class="code" href="group__osclerror.html#a3">OsclTrapOperation</a> iOperation; 49 00061 <a class="code" href="group__osclbase.html#a25">OsclAny</a>* iPtr; 50 <a name="l00062"></a><a class="code" href="classOsclTrapItem.html#l0">00062</a> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classOsclTrapStackItem.html">OsclTrapStackItem</a>; 51 <a name="l00063"></a><a class="code" href="classOsclTrapItem.html#l1">00063</a> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classOsclTrapStack.html">OsclTrapStack</a>; 52 00064 }; 53 00065 54 00066 55 00067 56 00068 <span class="preprocessor">#if !(OSCL_DISABLE_INLINES)</span> 57 00069 <span class="preprocessor"></span><span class="preprocessor">#include "oscl_heapbase.inl"</span> 58 00070 <span class="preprocessor">#endif</span> 59 00071 <span class="preprocessor"></span> 60 00072 <span class="preprocessor">#endif //</span> 61 00073 <span class="preprocessor"></span> 62 00074 63 </pre></div><hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small> 64 <address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small> 65 </small></address> 66 </body> 67 </html> 68