Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/stack_8cpp.html
author Dominic Pinkman <dominic.pinkman@nokia.com>
Fri, 13 Aug 2010 16:47:46 +0100
changeset 14 578be2adaf3e
parent 6 43e37759235e
permissions -rw-r--r--
Week 32 contribution of PDK documentation content. See release notes for details. Fixes bug Bug 3582

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>TB9.2 Example Applications: examples/PIPS/opencproducerconsumerex/src/stack.cpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.2 -->
<div class="contents">
<h1>examples/PIPS/opencproducerconsumerex/src/stack.cpp File Reference</h1>
<p><a href="stack_8cpp_source.html">Go to the source code of this file.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stack_8cpp.html#a90e98e7c8440177d0df072df573cc038">PushOntoStack</a> (<a class="el" href="struct_produced_item.html">ProducedItem</a> *aItem)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_produced_item.html">ProducedItem</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stack_8cpp.html#aaf42677487a6b410248a6c4fef8979fd">PopFromStack</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="stack_8cpp.html#ac0da5b0fd0c1fbbee12568b2cfbf5354">FreeItem</a> (<a class="el" href="struct_produced_item.html">ProducedItem</a> *aItem)</td></tr>
<tr><td colspan="2"><h2>Variables</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa799f9621bf922bd60dfd67d98d2d1b3"></a><!-- doxytag: member="stack.cpp::stack" ref="aa799f9621bf922bd60dfd67d98d2d1b3" args="" -->
<a class="el" href="class_stack.html">Stack</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>stack</b></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Part of : Open C / ProducerConsumer</p>
<p>Description : ProducerConsumer Problem solution Version : 0.1</p>
<p>Copyright (c) 2007 Nokia Corporation. This material, including documentation and any related computer programs, is protected by copyright controlled by Nokia Corporation. </p>

<p>Definition in file <a class="el" href="stack_8cpp_source.html">stack.cpp</a>.</p>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a90e98e7c8440177d0df072df573cc038"></a><!-- doxytag: member="stack.cpp::PushOntoStack" ref="a90e98e7c8440177d0df072df573cc038" args="(ProducedItem *aItem)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PushOntoStack </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_produced_item.html">ProducedItem</a> *&nbsp;</td>
          <td class="paramname"> <em>aItem</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Declaration of Function that Push Item onto <a class="el" href="class_stack.html">Stack</a> </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>aItem</em>&nbsp;</td><td>- Item to be pushed</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Nothing </dd></dl>

<p>Definition at line <a class="el" href="stack_8cpp_source.html#l00029">29</a> of file <a class="el" href="stack_8cpp_source.html">stack.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aaf42677487a6b410248a6c4fef8979fd"></a><!-- doxytag: member="stack.cpp::PopFromStack" ref="aaf42677487a6b410248a6c4fef8979fd" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_produced_item.html">ProducedItem</a>* PopFromStack </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Declaration of Function that Pop Item from <a class="el" href="class_stack.html">Stack</a> </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>aItem - Item Poped </dd></dl>

<p>Definition at line <a class="el" href="stack_8cpp_source.html#l00034">34</a> of file <a class="el" href="stack_8cpp_source.html">stack.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ac0da5b0fd0c1fbbee12568b2cfbf5354"></a><!-- doxytag: member="stack.cpp::FreeItem" ref="ac0da5b0fd0c1fbbee12568b2cfbf5354" args="(ProducedItem *aItem)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void FreeItem </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_produced_item.html">ProducedItem</a> *&nbsp;</td>
          <td class="paramname"> <em>aItem</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Declaration of Function that frees up Item </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>aItem</em>&nbsp;</td><td>- Item to be Deleted </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Nothing </dd></dl>

<p>Definition at line <a class="el" href="stack_8cpp_source.html#l00039">39</a> of file <a class="el" href="stack_8cpp_source.html">stack.cpp</a>.</p>

</div>
</div>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
</body>
</html>