1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> |
2 <html xmlns="http://www.w3.org/1999/xhtml"> |
3 <title>TB10.1 Example Applications: CProducer Class Reference</title> |
3 <head> |
4 <link href="doxygen.css" rel="stylesheet" type="text/css"> |
4 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
5 <link href="tabs.css" rel="stylesheet" type="text/css"> |
5 <title>TB9.2 Example Applications: CProducer Class Reference</title> |
6 </head><body> |
6 <link href="tabs.css" rel="stylesheet" type="text/css"/> |
7 <!-- Generated by Doxygen 1.5.3 --> |
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"> |
8 <h1>CProducer Class Reference</h1><!-- doxytag: class="CProducer" --> |
12 <h1>CProducer Class Reference</h1><!-- doxytag: class="CProducer" --> |
9 <p> |
13 <p><a href="class_c_producer-members.html">List of all members.</a></p> |
10 <a href="class_c_producer-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
14 <table border="0" cellpadding="0" cellspacing="0"> |
11 <tr><td></td></tr> |
15 <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> |
12 <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
16 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_producer.html#a0040101a0f8608387a61d40dcd1df1e1">ConstructL</a> (CConsoleBase *aConsole, <a class="el" href="class_c_queue.html">CQueue</a> *aTokens)</td></tr> |
13 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_producer.html#0040101a0f8608387a61d40dcd1df1e1">ConstructL</a> (CConsoleBase *aConsole, <a class="el" href="class_c_queue.html">CQueue</a> *aTokens)</td></tr> |
17 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_producer.html#abcfcc99dcdc64e03c08243375822dcf0">ResumeProd</a> ()</td></tr> |
14 |
18 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_producer.html#a18ffcf23a5cb4d45b6e4ed9399b4c026">Display</a> ()</td></tr> |
15 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_producer.html#bcfcc99dcdc64e03c08243375822dcf0">ResumeProd</a> ()</td></tr> |
19 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_producer.html#a0d0ebcf368ff02703286cfae62965e8f">Produce</a> ()</td></tr> |
16 |
20 <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_producer.html#a8edcde2babed9948f65057d75e6b3899">~CProducer</a> ()</td></tr> |
17 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_producer.html#18ffcf23a5cb4d45b6e4ed9399b4c026">Display</a> ()</td></tr> |
21 <tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr> |
18 |
22 <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_c_producer.html">CProducer</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_producer.html#a3897c9436f1aae1654b3ae1c5a4b6673">NewL</a> (CConsoleBase *aConsole, <a class="el" href="class_c_queue.html">CQueue</a> *aTokens)</td></tr> |
19 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_producer.html#0d0ebcf368ff02703286cfae62965e8f">Produce</a> ()</td></tr> |
23 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_producer.html#a1dc386d260d55e131f450a61553a49c7">ProdThreadFunc</a> (TAny *aPtr)</td></tr> |
20 |
24 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_producer.html#a2a8f3ef760142c8e424936df25c167d3">InsertFunction</a> (TAny *aPtr)</td></tr> |
21 <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_producer.html#8edcde2babed9948f65057d75e6b3899">~CProducer</a> ()</td></tr> |
|
22 |
|
23 <tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr> |
|
24 <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="class_c_producer.html">CProducer</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_producer.html#3897c9436f1aae1654b3ae1c5a4b6673">NewL</a> (CConsoleBase *aConsole, <a class="el" href="class_c_queue.html">CQueue</a> *aTokens)</td></tr> |
|
25 |
|
26 <tr><td class="memItemLeft" nowrap align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_producer.html#1dc386d260d55e131f450a61553a49c7">ProdThreadFunc</a> (TAny *aPtr)</td></tr> |
|
27 |
|
28 <tr><td class="memItemLeft" nowrap align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_producer.html#2a8f3ef760142c8e424936df25c167d3">InsertFunction</a> (TAny *aPtr)</td></tr> |
|
29 |
|
30 </table> |
25 </table> |
31 <hr><a name="_details"></a><h2>Detailed Description</h2> |
26 <hr/><a name="_details"></a><h2>Detailed Description</h2> |
32 This class owns the producer thread. It provides an interface to insert tokens into the CQueue::iArray queue. <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_c_queue.html">CQueue</a>. <p> |
27 <p>This class owns the producer thread. It provides an interface to insert tokens into the CQueue::iArray queue. </p> |
|
28 <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_c_queue.html">CQueue</a>. </dd> |
|
29 <dd> |
33 CPeriodic. </dd></dl> |
30 CPeriodic. </dd></dl> |
34 |
31 |
35 <p>Definition at line <a class="el" href="producer_8h-source.html#l00034">34</a> of file <a class="el" href="producer_8h-source.html">producer.h</a>.</p> |
32 <p>Definition at line <a class="el" href="producer_8h_source.html#l00034">34</a> of file <a class="el" href="producer_8h_source.html">producer.h</a>.</p> |
36 <hr><h2>Constructor & Destructor Documentation</h2> |
33 <hr/><h2>Constructor & Destructor Documentation</h2> |
37 <a class="anchor" name="8edcde2babed9948f65057d75e6b3899"></a><!-- doxytag: member="CProducer::~CProducer" ref="8edcde2babed9948f65057d75e6b3899" args="()" --> |
34 <a class="anchor" id="a8edcde2babed9948f65057d75e6b3899"></a><!-- doxytag: member="CProducer::~CProducer" ref="a8edcde2babed9948f65057d75e6b3899" args="()" --> |
38 <div class="memitem"> |
35 <div class="memitem"> |
39 <div class="memproto"> |
36 <div class="memproto"> |
40 <table class="memname"> |
37 <table class="memname"> |
41 <tr> |
38 <tr> |
42 <td class="memname">CProducer::~CProducer </td> |
39 <td class="memname">CProducer::~CProducer </td> |
43 <td>(</td> |
40 <td>(</td> |
44 <td class="paramname"> </td> |
41 <td class="paramname"></td> |
45 <td> ) </td> |
42 <td> ) </td> |
46 <td width="100%"></td> |
43 <td></td> |
47 </tr> |
44 </tr> |
48 </table> |
45 </table> |
49 </div> |
46 </div> |
50 <div class="memdoc"> |
47 <div class="memdoc"> |
51 |
48 <p>Destructor. </p> |
52 <p> |
49 |
53 Destructor. |
50 <p>Definition at line <a class="el" href="producer_8cpp_source.html#l00146">146</a> of file <a class="el" href="producer_8cpp_source.html">producer.cpp</a>.</p> |
54 <p>Definition at line <a class="el" href="producer_8cpp-source.html#l00146">146</a> of file <a class="el" href="producer_8cpp-source.html">producer.cpp</a>.</p> |
51 |
55 |
52 </div> |
56 </div> |
53 </div> |
57 </div><p> |
54 <hr/><h2>Member Function Documentation</h2> |
58 <hr><h2>Member Function Documentation</h2> |
55 <a class="anchor" id="a3897c9436f1aae1654b3ae1c5a4b6673"></a><!-- doxytag: member="CProducer::NewL" ref="a3897c9436f1aae1654b3ae1c5a4b6673" args="(CConsoleBase *aConsole, CQueue *aTokens)" --> |
59 <a class="anchor" name="3897c9436f1aae1654b3ae1c5a4b6673"></a><!-- doxytag: member="CProducer::NewL" ref="3897c9436f1aae1654b3ae1c5a4b6673" args="(CConsoleBase *aConsole, CQueue *aTokens)" --> |
56 <div class="memitem"> |
60 <div class="memitem"> |
57 <div class="memproto"> |
61 <div class="memproto"> |
58 <table class="memname"> |
62 <table class="memname"> |
59 <tr> |
63 <tr> |
60 <td class="memname"><a class="el" href="class_c_producer.html">CProducer</a> * CProducer::NewL </td> |
64 <td class="memname"><a class="el" href="class_c_producer.html">CProducer</a> * CProducer::NewL </td> |
|
65 <td>(</td> |
61 <td>(</td> |
66 <td class="paramtype">CConsoleBase * </td> |
62 <td class="paramtype">CConsoleBase * </td> |
67 <td class="paramname"> <em>aConsole</em>, </td> |
63 <td class="paramname"> <em>aConsole</em>, </td> |
68 </tr> |
64 </tr> |
69 <tr> |
65 <tr> |
73 <td class="paramname"> <em>aTokens</em></td><td> </td> |
69 <td class="paramname"> <em>aTokens</em></td><td> </td> |
74 </tr> |
70 </tr> |
75 <tr> |
71 <tr> |
76 <td></td> |
72 <td></td> |
77 <td>)</td> |
73 <td>)</td> |
78 <td></td><td></td><td width="100%"><code> [static]</code></td> |
74 <td></td><td></td><td><code> [static]</code></td> |
79 </tr> |
75 </tr> |
80 </table> |
76 </table> |
81 </div> |
77 </div> |
82 <div class="memdoc"> |
78 <div class="memdoc"> |
83 |
79 <p>Performs the two-phase construction of an object of the <a class="el" href="class_c_producer.html">CProducer</a> class. </p> |
84 <p> |
80 <dl><dt><b>Parameters:</b></dt><dd> |
85 Performs the two-phase construction of an object of the <a class="el" href="class_c_producer.html">CProducer</a> class. <dl compact><dt><b>Parameters:</b></dt><dd> |
|
86 <table border="0" cellspacing="2" cellpadding="0"> |
81 <table border="0" cellspacing="2" cellpadding="0"> |
87 <tr><td valign="top"></td><td valign="top"><em>aConsole</em> </td><td>The console object. </td></tr> |
82 <tr><td valign="top"></td><td valign="top"><em>aConsole</em> </td><td>The console object. </td></tr> |
88 <tr><td valign="top"></td><td valign="top"><em>aTokens</em> </td><td>A pointer to the <a class="el" href="class_c_queue.html">CQueue</a> object containing the tokens' queue. </td></tr> |
83 <tr><td valign="top"></td><td valign="top"><em>aTokens</em> </td><td>A pointer to the <a class="el" href="class_c_queue.html">CQueue</a> object containing the tokens' queue. </td></tr> |
89 </table> |
84 </table> |
|
85 </dd> |
90 </dl> |
86 </dl> |
91 <dl class="return" compact><dt><b>Returns:</b></dt><dd>A <a class="el" href="class_c_producer.html">CProducer</a> object. </dd></dl> |
87 <dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="class_c_producer.html">CProducer</a> object. </dd></dl> |
92 |
88 |
93 <p>Definition at line <a class="el" href="producer_8cpp-source.html#l00031">31</a> of file <a class="el" href="producer_8cpp-source.html">producer.cpp</a>.</p> |
89 <p>Definition at line <a class="el" href="producer_8cpp_source.html#l00031">31</a> of file <a class="el" href="producer_8cpp_source.html">producer.cpp</a>.</p> |
94 |
90 |
95 </div> |
91 </div> |
96 </div><p> |
92 </div> |
97 <a class="anchor" name="0040101a0f8608387a61d40dcd1df1e1"></a><!-- doxytag: member="CProducer::ConstructL" ref="0040101a0f8608387a61d40dcd1df1e1" args="(CConsoleBase *aConsole, CQueue *aTokens)" --> |
93 <a class="anchor" id="a0040101a0f8608387a61d40dcd1df1e1"></a><!-- doxytag: member="CProducer::ConstructL" ref="a0040101a0f8608387a61d40dcd1df1e1" args="(CConsoleBase *aConsole, CQueue *aTokens)" --> |
98 <div class="memitem"> |
94 <div class="memitem"> |
99 <div class="memproto"> |
95 <div class="memproto"> |
100 <table class="memname"> |
96 <table class="memname"> |
101 <tr> |
97 <tr> |
102 <td class="memname">void CProducer::ConstructL </td> |
98 <td class="memname">void CProducer::ConstructL </td> |
103 <td>(</td> |
99 <td>(</td> |
104 <td class="paramtype">CConsoleBase * </td> |
100 <td class="paramtype">CConsoleBase * </td> |
105 <td class="paramname"> <em>aConsole</em>, </td> |
101 <td class="paramname"> <em>aConsole</em>, </td> |
106 </tr> |
102 </tr> |
107 <tr> |
103 <tr> |
111 <td class="paramname"> <em>aTokens</em></td><td> </td> |
107 <td class="paramname"> <em>aTokens</em></td><td> </td> |
112 </tr> |
108 </tr> |
113 <tr> |
109 <tr> |
114 <td></td> |
110 <td></td> |
115 <td>)</td> |
111 <td>)</td> |
116 <td></td><td></td><td width="100%"></td> |
112 <td></td><td></td><td></td> |
117 </tr> |
113 </tr> |
118 </table> |
114 </table> |
119 </div> |
115 </div> |
120 <div class="memdoc"> |
116 <div class="memdoc"> |
121 |
117 <p>The second phase constructor of the <a class="el" href="class_c_producer.html">CProducer</a> class. It creates the following member objects of the class:</p> |
122 <p> |
118 <ul> |
123 The second phase constructor of the <a class="el" href="class_c_producer.html">CProducer</a> class. It creates the following member objects of the class:<ul> |
119 <li>iPeriodicProd</li> |
124 <li>iPeriodicProd</li><li>iProdThread The call back function of the iPeriodicProd object - <a class="el" href="class_c_producer.html#2a8f3ef760142c8e424936df25c167d3">InsertFunction()</a> invokes the iProdThread every second. <dl compact><dt><b>Parameters:</b></dt><dd> |
120 <li>iProdThread The call back function of the iPeriodicProd object - <a class="el" href="class_c_producer.html#a2a8f3ef760142c8e424936df25c167d3">InsertFunction()</a> invokes the iProdThread every second. <dl><dt><b>Parameters:</b></dt><dd> |
125 <table border="0" cellspacing="2" cellpadding="0"> |
121 <table border="0" cellspacing="2" cellpadding="0"> |
126 <tr><td valign="top"></td><td valign="top"><em>aConsole</em> </td><td>The console object. </td></tr> |
122 <tr><td valign="top"></td><td valign="top"><em>aConsole</em> </td><td>The console object. </td></tr> |
127 <tr><td valign="top"></td><td valign="top"><em>aTokens</em> </td><td>A pointer to the <a class="el" href="class_c_queue.html">CQueue</a> object containing the tokens' queue. </td></tr> |
123 <tr><td valign="top"></td><td valign="top"><em>aTokens</em> </td><td>A pointer to the <a class="el" href="class_c_queue.html">CQueue</a> object containing the tokens' queue. </td></tr> |
128 </table> |
124 </table> |
|
125 </dd> |
129 </dl> |
126 </dl> |
130 <dl class="see" compact><dt><b>See also:</b></dt><dd>CPeriodic::Start(). <p> |
127 <dl class="see"><dt><b>See also:</b></dt><dd>CPeriodic::Start(). </dd> |
|
128 <dd> |
131 RThread::Create(). </dd></dl> |
129 RThread::Create(). </dd></dl> |
132 </li></ul> |
130 </li> |
133 |
131 </ul> |
134 <p>Definition at line <a class="el" href="producer_8cpp-source.html#l00051">51</a> of file <a class="el" href="producer_8cpp-source.html">producer.cpp</a>.</p> |
132 |
135 |
133 <p>Definition at line <a class="el" href="producer_8cpp_source.html#l00051">51</a> of file <a class="el" href="producer_8cpp_source.html">producer.cpp</a>.</p> |
136 </div> |
134 |
137 </div><p> |
135 </div> |
138 <a class="anchor" name="1dc386d260d55e131f450a61553a49c7"></a><!-- doxytag: member="CProducer::ProdThreadFunc" ref="1dc386d260d55e131f450a61553a49c7" args="(TAny *aPtr)" --> |
136 </div> |
139 <div class="memitem"> |
137 <a class="anchor" id="a1dc386d260d55e131f450a61553a49c7"></a><!-- doxytag: member="CProducer::ProdThreadFunc" ref="a1dc386d260d55e131f450a61553a49c7" args="(TAny *aPtr)" --> |
140 <div class="memproto"> |
138 <div class="memitem"> |
141 <table class="memname"> |
139 <div class="memproto"> |
142 <tr> |
140 <table class="memname"> |
143 <td class="memname">TInt CProducer::ProdThreadFunc </td> |
141 <tr> |
|
142 <td class="memname">TInt CProducer::ProdThreadFunc </td> |
144 <td>(</td> |
143 <td>(</td> |
145 <td class="paramtype">TAny * </td> |
144 <td class="paramtype">TAny * </td> |
146 <td class="paramname"> <em>aPtr</em> </td> |
145 <td class="paramname"> <em>aPtr</em></td> |
147 <td> ) </td> |
146 <td> ) </td> |
148 <td width="100%"><code> [static]</code></td> |
147 <td><code> [static]</code></td> |
149 </tr> |
148 </tr> |
150 </table> |
149 </table> |
151 </div> |
150 </div> |
152 <div class="memdoc"> |
151 <div class="memdoc"> |
153 |
152 <p>The producer thread function. It inserts a token into the queue. </p> |
154 <p> |
153 <dl><dt><b>Parameters:</b></dt><dd> |
155 The producer thread function. It inserts a token into the queue. <dl compact><dt><b>Parameters:</b></dt><dd> |
|
156 <table border="0" cellspacing="2" cellpadding="0"> |
154 <table border="0" cellspacing="2" cellpadding="0"> |
157 <tr><td valign="top"></td><td valign="top"><em>aPtr</em> </td><td>A pointer to the arguments passed to the thread function. </td></tr> |
155 <tr><td valign="top"></td><td valign="top"><em>aPtr</em> </td><td>A pointer to the arguments passed to the thread function. </td></tr> |
158 </table> |
156 </table> |
|
157 </dd> |
159 </dl> |
158 </dl> |
160 |
159 |
161 <p>Definition at line <a class="el" href="producer_8cpp-source.html#l00109">109</a> of file <a class="el" href="producer_8cpp-source.html">producer.cpp</a>.</p> |
160 <p>Definition at line <a class="el" href="producer_8cpp_source.html#l00109">109</a> of file <a class="el" href="producer_8cpp_source.html">producer.cpp</a>.</p> |
162 |
161 |
163 </div> |
162 </div> |
164 </div><p> |
163 </div> |
165 <a class="anchor" name="bcfcc99dcdc64e03c08243375822dcf0"></a><!-- doxytag: member="CProducer::ResumeProd" ref="bcfcc99dcdc64e03c08243375822dcf0" args="()" --> |
164 <a class="anchor" id="abcfcc99dcdc64e03c08243375822dcf0"></a><!-- doxytag: member="CProducer::ResumeProd" ref="abcfcc99dcdc64e03c08243375822dcf0" args="()" --> |
166 <div class="memitem"> |
165 <div class="memitem"> |
167 <div class="memproto"> |
166 <div class="memproto"> |
168 <table class="memname"> |
167 <table class="memname"> |
169 <tr> |
168 <tr> |
170 <td class="memname">void CProducer::ResumeProd </td> |
169 <td class="memname">void CProducer::ResumeProd </td> |
171 <td>(</td> |
170 <td>(</td> |
172 <td class="paramname"> </td> |
171 <td class="paramname"></td> |
173 <td> ) </td> |
172 <td> ) </td> |
174 <td width="100%"></td> |
173 <td></td> |
175 </tr> |
174 </tr> |
176 </table> |
175 </table> |
177 </div> |
176 </div> |
178 <div class="memdoc"> |
177 <div class="memdoc"> |
179 |
178 <p>Resumes the execution of the producer thread. </p> |
180 <p> |
179 |
181 Resumes the execution of the producer thread. |
180 <p>Definition at line <a class="el" href="producer_8cpp_source.html#l00127">127</a> of file <a class="el" href="producer_8cpp_source.html">producer.cpp</a>.</p> |
182 <p>Definition at line <a class="el" href="producer_8cpp-source.html#l00127">127</a> of file <a class="el" href="producer_8cpp-source.html">producer.cpp</a>.</p> |
181 |
183 |
182 </div> |
184 </div> |
183 </div> |
185 </div><p> |
184 <a class="anchor" id="a18ffcf23a5cb4d45b6e4ed9399b4c026"></a><!-- doxytag: member="CProducer::Display" ref="a18ffcf23a5cb4d45b6e4ed9399b4c026" args="()" --> |
186 <a class="anchor" name="18ffcf23a5cb4d45b6e4ed9399b4c026"></a><!-- doxytag: member="CProducer::Display" ref="18ffcf23a5cb4d45b6e4ed9399b4c026" args="()" --> |
185 <div class="memitem"> |
187 <div class="memitem"> |
186 <div class="memproto"> |
188 <div class="memproto"> |
187 <table class="memname"> |
189 <table class="memname"> |
188 <tr> |
190 <tr> |
189 <td class="memname">void CProducer::Display </td> |
191 <td class="memname">void CProducer::Display </td> |
190 <td>(</td> |
192 <td>(</td> |
191 <td class="paramname"></td> |
193 <td class="paramname"> </td> |
192 <td> ) </td> |
194 <td> ) </td> |
193 <td></td> |
195 <td width="100%"></td> |
194 </tr> |
196 </tr> |
195 </table> |
197 </table> |
196 </div> |
198 </div> |
197 <div class="memdoc"> |
199 <div class="memdoc"> |
198 <p>Displays the contents of the queue. </p> |
200 |
199 |
201 <p> |
200 <p>Definition at line <a class="el" href="producer_8cpp_source.html#l00079">79</a> of file <a class="el" href="producer_8cpp_source.html">producer.cpp</a>.</p> |
202 Displays the contents of the queue. |
201 |
203 <p>Definition at line <a class="el" href="producer_8cpp-source.html#l00079">79</a> of file <a class="el" href="producer_8cpp-source.html">producer.cpp</a>.</p> |
202 </div> |
204 |
203 </div> |
205 </div> |
204 <a class="anchor" id="a0d0ebcf368ff02703286cfae62965e8f"></a><!-- doxytag: member="CProducer::Produce" ref="a0d0ebcf368ff02703286cfae62965e8f" args="()" --> |
206 </div><p> |
205 <div class="memitem"> |
207 <a class="anchor" name="0d0ebcf368ff02703286cfae62965e8f"></a><!-- doxytag: member="CProducer::Produce" ref="0d0ebcf368ff02703286cfae62965e8f" args="()" --> |
206 <div class="memproto"> |
208 <div class="memitem"> |
207 <table class="memname"> |
209 <div class="memproto"> |
208 <tr> |
210 <table class="memname"> |
209 <td class="memname">void CProducer::Produce </td> |
211 <tr> |
210 <td>(</td> |
212 <td class="memname">void CProducer::Produce </td> |
211 <td class="paramname"></td> |
213 <td>(</td> |
212 <td> ) </td> |
214 <td class="paramname"> </td> |
213 <td></td> |
215 <td> ) </td> |
214 </tr> |
216 <td width="100%"></td> |
215 </table> |
217 </tr> |
216 </div> |
218 </table> |
217 <div class="memdoc"> |
219 </div> |
218 <p>Produce a token. </p> |
220 <div class="memdoc"> |
219 |
221 |
220 <p>Definition at line <a class="el" href="producer_8cpp_source.html#l00137">137</a> of file <a class="el" href="producer_8cpp_source.html">producer.cpp</a>.</p> |
222 <p> |
221 |
223 Produce a token. |
222 </div> |
224 <p>Definition at line <a class="el" href="producer_8cpp-source.html#l00137">137</a> of file <a class="el" href="producer_8cpp-source.html">producer.cpp</a>.</p> |
223 </div> |
225 |
224 <a class="anchor" id="a2a8f3ef760142c8e424936df25c167d3"></a><!-- doxytag: member="CProducer::InsertFunction" ref="a2a8f3ef760142c8e424936df25c167d3" args="(TAny *aPtr)" --> |
226 </div> |
225 <div class="memitem"> |
227 </div><p> |
226 <div class="memproto"> |
228 <a class="anchor" name="2a8f3ef760142c8e424936df25c167d3"></a><!-- doxytag: member="CProducer::InsertFunction" ref="2a8f3ef760142c8e424936df25c167d3" args="(TAny *aPtr)" --> |
227 <table class="memname"> |
229 <div class="memitem"> |
228 <tr> |
230 <div class="memproto"> |
229 <td class="memname">TInt CProducer::InsertFunction </td> |
231 <table class="memname"> |
|
232 <tr> |
|
233 <td class="memname">TInt CProducer::InsertFunction </td> |
|
234 <td>(</td> |
230 <td>(</td> |
235 <td class="paramtype">TAny * </td> |
231 <td class="paramtype">TAny * </td> |
236 <td class="paramname"> <em>aPtr</em> </td> |
232 <td class="paramname"> <em>aPtr</em></td> |
237 <td> ) </td> |
233 <td> ) </td> |
238 <td width="100%"><code> [static]</code></td> |
234 <td><code> [static]</code></td> |
239 </tr> |
235 </tr> |
240 </table> |
236 </table> |
241 </div> |
237 </div> |
242 <div class="memdoc"> |
238 <div class="memdoc"> |
243 |
239 <p>The call back function associated with the CPeriodic object of the <a class="el" href="class_c_producer.html">CProducer</a> class. </p> |
244 <p> |
240 <dl class="see"><dt><b>See also:</b></dt><dd>CProducer::iPeriodicProd. </dd> |
245 The call back function associated with the CPeriodic object of the <a class="el" href="class_c_producer.html">CProducer</a> class. <dl class="see" compact><dt><b>See also:</b></dt><dd>CProducer::iPeriodicProd. <p> |
241 <dd> |
246 CPeriodic. </dd></dl> |
242 CPeriodic. </dd></dl> |
247 |
243 |
248 <p>Definition at line <a class="el" href="producer_8cpp-source.html#l00158">158</a> of file <a class="el" href="producer_8cpp-source.html">producer.cpp</a>.</p> |
244 <p>Definition at line <a class="el" href="producer_8cpp_source.html#l00158">158</a> of file <a class="el" href="producer_8cpp_source.html">producer.cpp</a>.</p> |
249 |
245 |
250 </div> |
246 </div> |
251 </div><p> |
247 </div> |
252 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Jan 21 10:33:07 2010 for TB10.1 Example Applications by |
248 </div> |
|
249 <hr size="1"/><address style="text-align: right;"><small>Generated by |
253 <a href="http://www.doxygen.org/index.html"> |
250 <a href="http://www.doxygen.org/index.html"> |
254 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address> |
251 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> |
255 </body> |
252 </body> |
256 </html> |
253 </html> |