blob: 093f27703c8b7674167e22f0a7bc7fd8a9afc860 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>OsclRefCounter class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.2.18 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="modules.html">Modules</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Data Structures</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Data Fields</a> &nbsp; <a class="qindex" href="globals.html">Globals</a> &nbsp; </center>
<hr><h1>OsclRefCounter Class Reference<br>
<small>
[<a class="el" href="group__osclbase.html">OSCL Base</a>]</small>
</h1><code>#include &lt;<a class="el" href="oscl__refcounter_8h-source.html">oscl_refcounter.h</a>&gt;</code>
<p>
<p>Inheritance diagram for OsclRefCounter:
<p><center><img src="classOsclRefCounter.png" usemap="#OsclRefCounter_map" border="0" alt=""></center>
<map name="OsclRefCounter_map">
<area href="classOscl__DefAllocWithRefCounter.html" alt="Oscl_DefAllocWithRefCounter< DefAlloc >" shape="rect" coords="0,56,296,80">
<area href="classOsclRefCounterDA.html" alt="OsclRefCounterDA" shape="rect" coords="306,56,602,80">
<area href="classOsclRefCounterMTDA.html" alt="OsclRefCounterMTDA< LockType >" shape="rect" coords="612,56,908,80">
<area href="classOsclRefCounterMTSA.html" alt="OsclRefCounterMTSA< DeallocType, LockType >" shape="rect" coords="918,56,1214,80">
<area href="classOsclRefCounterSA.html" alt="OsclRefCounterSA< DeallocType >" shape="rect" coords="1224,56,1520,80">
</map>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classOsclRefCounter.html#a0">addRef</a> ()=0</td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classOsclRefCounter.html#a1">removeRef</a> ()=0</td></tr>
<tr><td nowrap align=right valign=top>virtual uint32&nbsp;</td><td valign=bottom><a class="el" href="classOsclRefCounter.html#a2">getCount</a> ()=0</td></tr>
<tr><td nowrap align=right valign=top>virtual&nbsp;</td><td valign=bottom><a class="el" href="classOsclRefCounter.html#a3">~OsclRefCounter</a> ()</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Interface class for OsclRefCounter implementations
<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a3" doxytag="OsclRefCounter::~OsclRefCounter"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> virtual OsclRefCounter::~OsclRefCounter </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap><code> [inline, virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a0" doxytag="OsclRefCounter::addRef"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> virtual void OsclRefCounter::addRef </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap><code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Add to the reference count
<p>
Implemented in <a class="el" href="classOsclRefCounterDA.html#a2">OsclRefCounterDA</a>, <a class="el" href="classOsclRefCounterSA.html#a2">OsclRefCounterSA&lt; DeallocType &gt;</a>, <a class="el" href="classOsclRefCounterMTDA.html#a2">OsclRefCounterMTDA&lt; LockType &gt;</a>, <a class="el" href="classOsclRefCounterMTSA.html#a2">OsclRefCounterMTSA&lt; DeallocType, LockType &gt;</a>, and <a class="el" href="classOscl__DefAllocWithRefCounter.html#a1">Oscl_DefAllocWithRefCounter&lt; DefAlloc &gt;</a>. </td>
</tr>
</table>
<a name="a2" doxytag="OsclRefCounter::getCount"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> virtual uint32 OsclRefCounter::getCount </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap><code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Gets the current number of references
<p>
Implemented in <a class="el" href="classOsclRefCounterDA.html#a4">OsclRefCounterDA</a>, <a class="el" href="classOsclRefCounterSA.html#a4">OsclRefCounterSA&lt; DeallocType &gt;</a>, <a class="el" href="classOsclRefCounterMTDA.html#a4">OsclRefCounterMTDA&lt; LockType &gt;</a>, <a class="el" href="classOsclRefCounterMTSA.html#a4">OsclRefCounterMTSA&lt; DeallocType, LockType &gt;</a>, and <a class="el" href="classOscl__DefAllocWithRefCounter.html#a3">Oscl_DefAllocWithRefCounter&lt; DefAlloc &gt;</a>. </td>
</tr>
</table>
<a name="a1" doxytag="OsclRefCounter::removeRef"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> virtual void OsclRefCounter::removeRef </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap><code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Delete from reference count
<p>
Implemented in <a class="el" href="classOsclRefCounterDA.html#a3">OsclRefCounterDA</a>, <a class="el" href="classOsclRefCounterSA.html#a3">OsclRefCounterSA&lt; DeallocType &gt;</a>, <a class="el" href="classOsclRefCounterMTDA.html#a3">OsclRefCounterMTDA&lt; LockType &gt;</a>, <a class="el" href="classOsclRefCounterMTSA.html#a3">OsclRefCounterMTSA&lt; DeallocType, LockType &gt;</a>, and <a class="el" href="classOscl__DefAllocWithRefCounter.html#a2">Oscl_DefAllocWithRefCounter&lt; DefAlloc &gt;</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="oscl__refcounter_8h-source.html">oscl_refcounter.h</a></ul>
<hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small>
<address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small>
</small></address>
</body>
</html>