|
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
2 <html xmlns="http://www.w3.org/1999/xhtml"> |
|
3 <head> |
|
4 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
|
5 <title>TB9.2 Example Applications: examples/PIPS/opencproducerconsumerex/src/stack.cpp File Reference</title> |
|
6 <link href="tabs.css" rel="stylesheet" type="text/css"/> |
|
7 <link href="doxygen.css" rel="stylesheet" type="text/css"/> |
|
8 </head> |
|
9 <body> |
|
10 <!-- Generated by Doxygen 1.6.2 --> |
|
11 <div class="contents"> |
|
12 <h1>examples/PIPS/opencproducerconsumerex/src/stack.cpp File Reference</h1> |
|
13 <p><a href="stack_8cpp_source.html">Go to the source code of this file.</a></p> |
|
14 <table border="0" cellpadding="0" cellspacing="0"> |
|
15 <tr><td colspan="2"><h2>Functions</h2></td></tr> |
|
16 <tr><td class="memItemLeft" align="right" valign="top">void </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> |
|
17 <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_produced_item.html">ProducedItem</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="stack_8cpp.html#aaf42677487a6b410248a6c4fef8979fd">PopFromStack</a> ()</td></tr> |
|
18 <tr><td class="memItemLeft" align="right" valign="top">void </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> |
|
19 <tr><td colspan="2"><h2>Variables</h2></td></tr> |
|
20 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa799f9621bf922bd60dfd67d98d2d1b3"></a><!-- doxytag: member="stack.cpp::stack" ref="aa799f9621bf922bd60dfd67d98d2d1b3" args="" --> |
|
21 <a class="el" href="class_stack.html">Stack</a> </td><td class="memItemRight" valign="bottom"><b>stack</b></td></tr> |
|
22 </table> |
|
23 <hr/><a name="_details"></a><h2>Detailed Description</h2> |
|
24 <p>Part of : Open C / ProducerConsumer</p> |
|
25 <p>Description : ProducerConsumer Problem solution Version : 0.1</p> |
|
26 <p>Copyright (c) 2007 Nokia Corporation. This material, including documentation and any related computer programs, is protected by copyright controlled by Nokia Corporation. </p> |
|
27 |
|
28 <p>Definition in file <a class="el" href="stack_8cpp_source.html">stack.cpp</a>.</p> |
|
29 <hr/><h2>Function Documentation</h2> |
|
30 <a class="anchor" id="a90e98e7c8440177d0df072df573cc038"></a><!-- doxytag: member="stack.cpp::PushOntoStack" ref="a90e98e7c8440177d0df072df573cc038" args="(ProducedItem *aItem)" --> |
|
31 <div class="memitem"> |
|
32 <div class="memproto"> |
|
33 <table class="memname"> |
|
34 <tr> |
|
35 <td class="memname">void PushOntoStack </td> |
|
36 <td>(</td> |
|
37 <td class="paramtype"><a class="el" href="struct_produced_item.html">ProducedItem</a> * </td> |
|
38 <td class="paramname"> <em>aItem</em></td> |
|
39 <td> ) </td> |
|
40 <td></td> |
|
41 </tr> |
|
42 </table> |
|
43 </div> |
|
44 <div class="memdoc"> |
|
45 <p>Declaration of Function that Push Item onto <a class="el" href="class_stack.html">Stack</a> </p> |
|
46 <dl><dt><b>Parameters:</b></dt><dd> |
|
47 <table border="0" cellspacing="2" cellpadding="0"> |
|
48 <tr><td valign="top"></td><td valign="top"><em>aItem</em> </td><td>- Item to be pushed</td></tr> |
|
49 </table> |
|
50 </dd> |
|
51 </dl> |
|
52 <dl class="return"><dt><b>Returns:</b></dt><dd>Nothing </dd></dl> |
|
53 |
|
54 <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> |
|
55 |
|
56 </div> |
|
57 </div> |
|
58 <a class="anchor" id="aaf42677487a6b410248a6c4fef8979fd"></a><!-- doxytag: member="stack.cpp::PopFromStack" ref="aaf42677487a6b410248a6c4fef8979fd" args="()" --> |
|
59 <div class="memitem"> |
|
60 <div class="memproto"> |
|
61 <table class="memname"> |
|
62 <tr> |
|
63 <td class="memname"><a class="el" href="struct_produced_item.html">ProducedItem</a>* PopFromStack </td> |
|
64 <td>(</td> |
|
65 <td class="paramname"></td> |
|
66 <td> ) </td> |
|
67 <td></td> |
|
68 </tr> |
|
69 </table> |
|
70 </div> |
|
71 <div class="memdoc"> |
|
72 <p>Declaration of Function that Pop Item from <a class="el" href="class_stack.html">Stack</a> </p> |
|
73 <dl class="return"><dt><b>Returns:</b></dt><dd>aItem - Item Poped </dd></dl> |
|
74 |
|
75 <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> |
|
76 |
|
77 </div> |
|
78 </div> |
|
79 <a class="anchor" id="ac0da5b0fd0c1fbbee12568b2cfbf5354"></a><!-- doxytag: member="stack.cpp::FreeItem" ref="ac0da5b0fd0c1fbbee12568b2cfbf5354" args="(ProducedItem *aItem)" --> |
|
80 <div class="memitem"> |
|
81 <div class="memproto"> |
|
82 <table class="memname"> |
|
83 <tr> |
|
84 <td class="memname">void FreeItem </td> |
|
85 <td>(</td> |
|
86 <td class="paramtype"><a class="el" href="struct_produced_item.html">ProducedItem</a> * </td> |
|
87 <td class="paramname"> <em>aItem</em></td> |
|
88 <td> ) </td> |
|
89 <td></td> |
|
90 </tr> |
|
91 </table> |
|
92 </div> |
|
93 <div class="memdoc"> |
|
94 <p>Declaration of Function that frees up Item </p> |
|
95 <dl><dt><b>Parameters:</b></dt><dd> |
|
96 <table border="0" cellspacing="2" cellpadding="0"> |
|
97 <tr><td valign="top"></td><td valign="top"><em>aItem</em> </td><td>- Item to be Deleted </td></tr> |
|
98 </table> |
|
99 </dd> |
|
100 </dl> |
|
101 <dl class="return"><dt><b>Returns:</b></dt><dd>Nothing </dd></dl> |
|
102 |
|
103 <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> |
|
104 |
|
105 </div> |
|
106 </div> |
|
107 </div> |
|
108 <hr size="1"/><address style="text-align: right;"><small>Generated by |
|
109 <a href="http://www.doxygen.org/index.html"> |
|
110 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> |
|
111 </body> |
|
112 </html> |