Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_adder.html
changeset 6 43e37759235e
parent 1 25a17d01db0c
equal deleted inserted replaced
5:f345bda72bc4 6:43e37759235e
     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: CAdder 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: CAdder 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>CAdder Class Reference</h1><!-- doxytag: class="CAdder" -->
    12 <h1>CAdder Class Reference</h1><!-- doxytag: class="CAdder" -->
     9 <p>
    13 <p><a href="class_c_adder-members.html">List of all members.</a></p>
    10 <a href="class_c_adder-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">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_adder.html#a76003b0896145aa8d396f596bb8fbe31">~CAdder</a> ()</td></tr>
    13 <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_adder.html#76003b0896145aa8d396f596bb8fbe31">~CAdder</a> ()</td></tr>
    17 <tr><td class="memItemLeft" align="right" valign="top">TInt&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_adder.html#a1a7d0002967f1aa090a6beb84a433d4c">Add</a> ()</td></tr>
    14 
    18 <tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_adder.html#a258412cf6a78091b2b9f641dadb8e41b">RunL</a> ()</td></tr>
    15 <tr><td class="memItemLeft" nowrap align="right" valign="top">TInt&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_adder.html#1a7d0002967f1aa090a6beb84a433d4c">Add</a> ()</td></tr>
    19 <tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_adder.html#a73d41c81991e4cf7b65e3644aba926cc">DoCancel</a> ()</td></tr>
    16 
    20 <tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_adder.html#a004d5ec0fb8626310fdf85843c87ec67">StartTimer</a> ()</td></tr>
    17 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_adder.html#258412cf6a78091b2b9f641dadb8e41b">RunL</a> ()</td></tr>
    21 <tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_adder.html#a5d5d56b9ce85c971c2e48b575f792d9d">StopTimer</a> ()</td></tr>
    18 
    22 <tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_adder.html#a800f42785c37c746dadd65c90b7e0dfa">ReadFunction</a> ()</td></tr>
    19 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_adder.html#73d41c81991e4cf7b65e3644aba926cc">DoCancel</a> ()</td></tr>
    23 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1a7d0002967f1aa090a6beb84a433d4c"></a><!-- doxytag: member="CAdder::Add" ref="a1a7d0002967f1aa090a6beb84a433d4c" args="()" -->
    20 
       
    21 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_adder.html#004d5ec0fb8626310fdf85843c87ec67">StartTimer</a> ()</td></tr>
       
    22 
       
    23 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_adder.html#5d5d56b9ce85c971c2e48b575f792d9d">StopTimer</a> ()</td></tr>
       
    24 
       
    25 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_adder.html#800f42785c37c746dadd65c90b7e0dfa">ReadFunction</a> ()</td></tr>
       
    26 
       
    27 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1a7d0002967f1aa090a6beb84a433d4c"></a><!-- doxytag: member="CAdder::Add" ref="1a7d0002967f1aa090a6beb84a433d4c" args="()" -->
       
    28 void&nbsp;</td><td class="memItemRight" valign="bottom"><b>Add</b> ()</td></tr>
    24 void&nbsp;</td><td class="memItemRight" valign="bottom"><b>Add</b> ()</td></tr>
    29 
    25 <tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
    30 <tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
    26 <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_c_adder.html">CAdder</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_adder.html#aa703f5386236c2fa9ad3b750f521200a">NewL</a> (<a class="el" href="class_c_long_number.html">CLongNumber</a> *aNum1)</td></tr>
    31 <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="class_c_adder.html">CAdder</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_adder.html#a703f5386236c2fa9ad3b750f521200a">NewL</a> (<a class="el" href="class_c_long_number.html">CLongNumber</a> *aNum1)</td></tr>
    27 <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_c_adder.html">CAdder</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_adder.html#ac207184f306dec25c5430f2c510f5c3c">NewL</a> (CConsoleBase *aConsole)</td></tr>
    32 
    28 <tr><td class="memItemLeft" align="right" valign="top">static TInt&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_adder.html#a6e524c7466f89ca4ab9896f5bae13f3e">AddFunction</a> (TAny *aPtr)</td></tr>
    33 <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="class_c_adder.html">CAdder</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_adder.html#c207184f306dec25c5430f2c510f5c3c">NewL</a> (CConsoleBase *aConsole)</td></tr>
       
    34 
       
    35 <tr><td class="memItemLeft" nowrap align="right" valign="top">static TInt&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_adder.html#6e524c7466f89ca4ab9896f5bae13f3e">AddFunction</a> (TAny *aPtr)</td></tr>
       
    36 
       
    37 </table>
    29 </table>
    38 <hr><a name="_details"></a><h2>Detailed Description</h2>
    30 <hr/><a name="_details"></a><h2>Detailed Description</h2>
    39 This class stores an object of the <a class="el" href="class_c_long_number.html">CLongNumber</a> class. It has methods to calculate the sum of all digits of the number represented by the iLongNumber object.<p>
    31 <p>This class stores an object of the <a class="el" href="class_c_long_number.html">CLongNumber</a> class. It has methods to calculate the sum of all digits of the number represented by the iLongNumber object.</p>
    40 The adder class. This class creates the global chunk and periodically adds random values to it. It also creates:<ul>
    32 <p>The adder class. This class creates the global chunk and periodically adds random values to it. It also creates:</p>
    41 <li>the global condition variable</li><li>the global mutex variable</li><li>the timer object The condition variable ensures that the value of the chunk is always less than 100. </li></ul>
    33 <ul>
    42 
    34 <li>the global condition variable</li>
    43 <p>Definition at line <a class="el" href="_arrays_and_lists_2linkedlist_2sgllist_2inc_2adder_8h-source.html#l00031">31</a> of file <a class="el" href="_arrays_and_lists_2linkedlist_2sgllist_2inc_2adder_8h-source.html">adder.h</a>.</p>
    35 <li>the global mutex variable</li>
    44 <hr><h2>Constructor &amp; Destructor Documentation</h2>
    36 <li>the timer object The condition variable ensures that the value of the chunk is always less than 100. </li>
    45 <a class="anchor" name="76003b0896145aa8d396f596bb8fbe31"></a><!-- doxytag: member="CAdder::~CAdder" ref="76003b0896145aa8d396f596bb8fbe31" args="()" -->
    37 </ul>
    46 <div class="memitem">
    38 
    47 <div class="memproto">
    39 <p>Definition at line <a class="el" href="_arrays_and_lists_2linkedlist_2sgllist_2inc_2adder_8h_source.html#l00031">31</a> of file <a class="el" href="_arrays_and_lists_2linkedlist_2sgllist_2inc_2adder_8h_source.html">adder.h</a>.</p>
    48       <table class="memname">
    40 <hr/><h2>Constructor &amp; Destructor Documentation</h2>
    49         <tr>
    41 <a class="anchor" id="a76003b0896145aa8d396f596bb8fbe31"></a><!-- doxytag: member="CAdder::~CAdder" ref="a76003b0896145aa8d396f596bb8fbe31" args="()" -->
    50           <td class="memname">CAdder::~CAdder           </td>
    42 <div class="memitem">
    51           <td>(</td>
    43 <div class="memproto">
    52           <td class="paramname">          </td>
    44       <table class="memname">
    53           <td>&nbsp;)&nbsp;</td>
    45         <tr>
    54           <td width="100%"></td>
    46           <td class="memname">CAdder::~CAdder </td>
    55         </tr>
    47           <td>(</td>
    56       </table>
    48           <td class="paramname"></td>
    57 </div>
    49           <td>&nbsp;)&nbsp;</td>
    58 <div class="memdoc">
    50           <td></td>
    59 
    51         </tr>
    60 <p>
    52       </table>
    61 Destructor. 
    53 </div>
    62 <p>Definition at line <a class="el" href="_arrays_and_lists_2linkedlist_2sgllist_2src_2adder_8cpp-source.html#l00073">73</a> of file <a class="el" href="_arrays_and_lists_2linkedlist_2sgllist_2src_2adder_8cpp-source.html">adder.cpp</a>.</p>
    54 <div class="memdoc">
    63 
    55 <p>Destructor. </p>
    64 </div>
    56 
    65 </div><p>
    57 <p>Definition at line <a class="el" href="_arrays_and_lists_2linkedlist_2sgllist_2src_2adder_8cpp_source.html#l00073">73</a> of file <a class="el" href="_arrays_and_lists_2linkedlist_2sgllist_2src_2adder_8cpp_source.html">adder.cpp</a>.</p>
    66 <hr><h2>Member Function Documentation</h2>
    58 
    67 <a class="anchor" name="a703f5386236c2fa9ad3b750f521200a"></a><!-- doxytag: member="CAdder::NewL" ref="a703f5386236c2fa9ad3b750f521200a" args="(CLongNumber *aNum1)" -->
    59 </div>
    68 <div class="memitem">
    60 </div>
    69 <div class="memproto">
    61 <hr/><h2>Member Function Documentation</h2>
    70       <table class="memname">
    62 <a class="anchor" id="aa703f5386236c2fa9ad3b750f521200a"></a><!-- doxytag: member="CAdder::NewL" ref="aa703f5386236c2fa9ad3b750f521200a" args="(CLongNumber *aNum1)" -->
    71         <tr>
    63 <div class="memitem">
    72           <td class="memname"><a class="el" href="class_c_adder.html">CAdder</a> * CAdder::NewL           </td>
    64 <div class="memproto">
       
    65       <table class="memname">
       
    66         <tr>
       
    67           <td class="memname"><a class="el" href="class_c_adder.html">CAdder</a> * CAdder::NewL </td>
    73           <td>(</td>
    68           <td>(</td>
    74           <td class="paramtype"><a class="el" href="class_c_long_number.html">CLongNumber</a> *&nbsp;</td>
    69           <td class="paramtype"><a class="el" href="class_c_long_number.html">CLongNumber</a> *&nbsp;</td>
    75           <td class="paramname"> <em>aLongNumber</em>          </td>
    70           <td class="paramname"> <em>aLongNumber</em></td>
    76           <td>&nbsp;)&nbsp;</td>
    71           <td>&nbsp;)&nbsp;</td>
    77           <td width="100%"><code> [static]</code></td>
    72           <td><code> [static]</code></td>
    78         </tr>
    73         </tr>
    79       </table>
    74       </table>
    80 </div>
    75 </div>
    81 <div class="memdoc">
    76 <div class="memdoc">
    82 
    77 <p>Creates an object of the <a class="el" href="class_c_adder.html">CAdder</a> class. </p>
    83 <p>
    78 <dl><dt><b>Parameters:</b></dt><dd>
    84 Creates an object of the <a class="el" href="class_c_adder.html">CAdder</a> class. <dl compact><dt><b>Parameters:</b></dt><dd>
       
    85   <table border="0" cellspacing="2" cellpadding="0">
    79   <table border="0" cellspacing="2" cellpadding="0">
    86     <tr><td valign="top"></td><td valign="top"><em>aLongNumber</em>&nbsp;</td><td>A pointer to the object of the <a class="el" href="class_c_long_number.html">CLongNumber</a> class. </td></tr>
    80     <tr><td valign="top"></td><td valign="top"><em>aLongNumber</em>&nbsp;</td><td>A pointer to the object of the <a class="el" href="class_c_long_number.html">CLongNumber</a> class. </td></tr>
    87   </table>
    81   </table>
       
    82   </dd>
    88 </dl>
    83 </dl>
    89 <dl class="return" compact><dt><b>Returns:</b></dt><dd>A pointer to the object of the <a class="el" href="class_c_adder.html">CAdder</a> class. </dd></dl>
    84 <dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to the object of the <a class="el" href="class_c_adder.html">CAdder</a> class. </dd></dl>
    90 
    85 
    91 <p>Definition at line <a class="el" href="_arrays_and_lists_2linkedlist_2sgllist_2src_2adder_8cpp-source.html#l00030">30</a> of file <a class="el" href="_arrays_and_lists_2linkedlist_2sgllist_2src_2adder_8cpp-source.html">adder.cpp</a>.</p>
    86 <p>Definition at line <a class="el" href="_arrays_and_lists_2linkedlist_2sgllist_2src_2adder_8cpp_source.html#l00030">30</a> of file <a class="el" href="_arrays_and_lists_2linkedlist_2sgllist_2src_2adder_8cpp_source.html">adder.cpp</a>.</p>
    92 
    87 
    93 </div>
    88 </div>
    94 </div><p>
    89 </div>
    95 <a class="anchor" name="1a7d0002967f1aa090a6beb84a433d4c"></a><!-- doxytag: member="CAdder::Add" ref="1a7d0002967f1aa090a6beb84a433d4c" args="()" -->
    90 <a class="anchor" id="a1a7d0002967f1aa090a6beb84a433d4c"></a><!-- doxytag: member="CAdder::Add" ref="a1a7d0002967f1aa090a6beb84a433d4c" args="()" -->
    96 <div class="memitem">
    91 <div class="memitem">
    97 <div class="memproto">
    92 <div class="memproto">
    98       <table class="memname">
    93       <table class="memname">
    99         <tr>
    94         <tr>
   100           <td class="memname">void CAdder::Add           </td>
    95           <td class="memname">void CAdder::Add </td>
   101           <td>(</td>
    96           <td>(</td>
   102           <td class="paramname">          </td>
    97           <td class="paramname"></td>
   103           <td>&nbsp;)&nbsp;</td>
    98           <td>&nbsp;)&nbsp;</td>
   104           <td width="100%"></td>
    99           <td></td>
   105         </tr>
   100         </tr>
   106       </table>
   101       </table>
   107 </div>
   102 </div>
   108 <div class="memdoc">
   103 <div class="memdoc">
   109 
   104 <p>Performs the addition of all digits of the iLongNumber object. </p>
   110 <p>
   105 <dl class="return"><dt><b>Returns:</b></dt><dd>The sum of all digits of the iLongNumber object.</dd></dl>
   111 Performs the addition of all digits of the iLongNumber object. <dl class="return" compact><dt><b>Returns:</b></dt><dd>The sum of all digits of the iLongNumber object.</dd></dl>
   106 <p>Adds a random integer value to the global chunk. </p>
   112 Adds a random integer value to the global chunk. 
   107 
   113 <p>Definition at line <a class="el" href="_arrays_and_lists_2linkedlist_2sgllist_2src_2adder_8cpp-source.html#l00047">47</a> of file <a class="el" href="_arrays_and_lists_2linkedlist_2sgllist_2src_2adder_8cpp-source.html">adder.cpp</a>.</p>
   108 <p>Definition at line <a class="el" href="_arrays_and_lists_2linkedlist_2sgllist_2src_2adder_8cpp_source.html#l00047">47</a> of file <a class="el" href="_arrays_and_lists_2linkedlist_2sgllist_2src_2adder_8cpp_source.html">adder.cpp</a>.</p>
   114 
   109 
   115 </div>
   110 </div>
   116 </div><p>
   111 </div>
   117 <a class="anchor" name="c207184f306dec25c5430f2c510f5c3c"></a><!-- doxytag: member="CAdder::NewL" ref="c207184f306dec25c5430f2c510f5c3c" args="(CConsoleBase *aConsole)" -->
   112 <a class="anchor" id="ac207184f306dec25c5430f2c510f5c3c"></a><!-- doxytag: member="CAdder::NewL" ref="ac207184f306dec25c5430f2c510f5c3c" args="(CConsoleBase *aConsole)" -->
   118 <div class="memitem">
   113 <div class="memitem">
   119 <div class="memproto">
   114 <div class="memproto">
   120       <table class="memname">
   115       <table class="memname">
   121         <tr>
   116         <tr>
   122           <td class="memname"><a class="el" href="class_c_adder.html">CAdder</a> * CAdder::NewL           </td>
   117           <td class="memname"><a class="el" href="class_c_adder.html">CAdder</a> * CAdder::NewL </td>
   123           <td>(</td>
   118           <td>(</td>
   124           <td class="paramtype">CConsoleBase *&nbsp;</td>
   119           <td class="paramtype">CConsoleBase *&nbsp;</td>
   125           <td class="paramname"> <em>aConsole</em>          </td>
   120           <td class="paramname"> <em>aConsole</em></td>
   126           <td>&nbsp;)&nbsp;</td>
   121           <td>&nbsp;)&nbsp;</td>
   127           <td width="100%"><code> [static]</code></td>
   122           <td><code> [static]</code></td>
   128         </tr>
   123         </tr>
   129       </table>
   124       </table>
   130 </div>
   125 </div>
   131 <div class="memdoc">
   126 <div class="memdoc">
   132 
   127 <p>Performs the two-phase construction of an object of the <a class="el" href="class_c_adder.html">CAdder</a> class. </p>
   133 <p>
   128 <dl><dt><b>Parameters:</b></dt><dd>
   134 Performs the two-phase construction of an object of the <a class="el" href="class_c_adder.html">CAdder</a> class. <dl compact><dt><b>Parameters:</b></dt><dd>
       
   135   <table border="0" cellspacing="2" cellpadding="0">
   129   <table border="0" cellspacing="2" cellpadding="0">
   136     <tr><td valign="top"></td><td valign="top"><em>aConsole</em>&nbsp;</td><td>The console object. </td></tr>
   130     <tr><td valign="top"></td><td valign="top"><em>aConsole</em>&nbsp;</td><td>The console object. </td></tr>
   137   </table>
   131   </table>
       
   132   </dd>
   138 </dl>
   133 </dl>
   139 <dl class="return" compact><dt><b>Returns:</b></dt><dd>A <a class="el" href="class_c_adder.html">CAdder</a> object. </dd></dl>
   134 <dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="class_c_adder.html">CAdder</a> object. </dd></dl>
   140 
   135 
   141 <p>Definition at line <a class="el" href="_i_p_c_2condvar_2condvarglobal_2src_2adder_8cpp-source.html#l00030">30</a> of file <a class="el" href="_i_p_c_2condvar_2condvarglobal_2src_2adder_8cpp-source.html">adder.cpp</a>.</p>
   136 <p>Definition at line <a class="el" href="_i_p_c_2condvar_2condvarglobal_2src_2adder_8cpp_source.html#l00030">30</a> of file <a class="el" href="_i_p_c_2condvar_2condvarglobal_2src_2adder_8cpp_source.html">adder.cpp</a>.</p>
   142 
   137 
   143 </div>
   138 </div>
   144 </div><p>
   139 </div>
   145 <a class="anchor" name="258412cf6a78091b2b9f641dadb8e41b"></a><!-- doxytag: member="CAdder::RunL" ref="258412cf6a78091b2b9f641dadb8e41b" args="()" -->
   140 <a class="anchor" id="a258412cf6a78091b2b9f641dadb8e41b"></a><!-- doxytag: member="CAdder::RunL" ref="a258412cf6a78091b2b9f641dadb8e41b" args="()" -->
   146 <div class="memitem">
   141 <div class="memitem">
   147 <div class="memproto">
   142 <div class="memproto">
   148       <table class="memname">
   143       <table class="memname">
   149         <tr>
   144         <tr>
   150           <td class="memname">void CAdder::RunL           </td>
   145           <td class="memname">void CAdder::RunL </td>
   151           <td>(</td>
   146           <td>(</td>
   152           <td class="paramname">          </td>
   147           <td class="paramname"></td>
   153           <td>&nbsp;)&nbsp;</td>
   148           <td>&nbsp;)&nbsp;</td>
   154           <td width="100%"></td>
   149           <td></td>
   155         </tr>
   150         </tr>
   156       </table>
   151       </table>
   157 </div>
   152 </div>
   158 <div class="memdoc">
   153 <div class="memdoc">
   159 
   154 <p>Handles the key press events from the console. It stops the active scheduler for any key press event. </p>
   160 <p>
   155 
   161 Handles the key press events from the console. It stops the active scheduler for any key press event. 
   156 <p>Definition at line <a class="el" href="_i_p_c_2condvar_2condvarglobal_2src_2adder_8cpp_source.html#l00043">43</a> of file <a class="el" href="_i_p_c_2condvar_2condvarglobal_2src_2adder_8cpp_source.html">adder.cpp</a>.</p>
   162 <p>Definition at line <a class="el" href="_i_p_c_2condvar_2condvarglobal_2src_2adder_8cpp-source.html#l00043">43</a> of file <a class="el" href="_i_p_c_2condvar_2condvarglobal_2src_2adder_8cpp-source.html">adder.cpp</a>.</p>
   157 
   163 
   158 </div>
   164 </div>
   159 </div>
   165 </div><p>
   160 <a class="anchor" id="a73d41c81991e4cf7b65e3644aba926cc"></a><!-- doxytag: member="CAdder::DoCancel" ref="a73d41c81991e4cf7b65e3644aba926cc" args="()" -->
   166 <a class="anchor" name="73d41c81991e4cf7b65e3644aba926cc"></a><!-- doxytag: member="CAdder::DoCancel" ref="73d41c81991e4cf7b65e3644aba926cc" args="()" -->
   161 <div class="memitem">
   167 <div class="memitem">
   162 <div class="memproto">
   168 <div class="memproto">
   163       <table class="memname">
   169       <table class="memname">
   164         <tr>
   170         <tr>
   165           <td class="memname">void CAdder::DoCancel </td>
   171           <td class="memname">void CAdder::DoCancel           </td>
   166           <td>(</td>
   172           <td>(</td>
   167           <td class="paramname"></td>
   173           <td class="paramname">          </td>
   168           <td>&nbsp;)&nbsp;</td>
   174           <td>&nbsp;)&nbsp;</td>
   169           <td></td>
   175           <td width="100%"></td>
   170         </tr>
   176         </tr>
   171       </table>
   177       </table>
   172 </div>
   178 </div>
   173 <div class="memdoc">
   179 <div class="memdoc">
   174 <p>Cancel any outstanding request. </p>
   180 
   175 
   181 <p>
   176 <p>Definition at line <a class="el" href="_i_p_c_2condvar_2condvarglobal_2src_2adder_8cpp_source.html#l00058">58</a> of file <a class="el" href="_i_p_c_2condvar_2condvarglobal_2src_2adder_8cpp_source.html">adder.cpp</a>.</p>
   182 Cancel any outstanding request. 
   177 
   183 <p>Definition at line <a class="el" href="_i_p_c_2condvar_2condvarglobal_2src_2adder_8cpp-source.html#l00058">58</a> of file <a class="el" href="_i_p_c_2condvar_2condvarglobal_2src_2adder_8cpp-source.html">adder.cpp</a>.</p>
   178 </div>
   184 
   179 </div>
   185 </div>
   180 <a class="anchor" id="a004d5ec0fb8626310fdf85843c87ec67"></a><!-- doxytag: member="CAdder::StartTimer" ref="a004d5ec0fb8626310fdf85843c87ec67" args="()" -->
   186 </div><p>
   181 <div class="memitem">
   187 <a class="anchor" name="004d5ec0fb8626310fdf85843c87ec67"></a><!-- doxytag: member="CAdder::StartTimer" ref="004d5ec0fb8626310fdf85843c87ec67" args="()" -->
   182 <div class="memproto">
   188 <div class="memitem">
   183       <table class="memname">
   189 <div class="memproto">
   184         <tr>
   190       <table class="memname">
   185           <td class="memname">void CAdder::StartTimer </td>
   191         <tr>
   186           <td>(</td>
   192           <td class="memname">void CAdder::StartTimer           </td>
   187           <td class="paramname"></td>
   193           <td>(</td>
   188           <td>&nbsp;)&nbsp;</td>
   194           <td class="paramname">          </td>
   189           <td></td>
   195           <td>&nbsp;)&nbsp;</td>
   190         </tr>
   196           <td width="100%"></td>
   191       </table>
   197         </tr>
   192 </div>
   198       </table>
   193 <div class="memdoc">
   199 </div>
   194 <p>Starts the timer object. </p>
   200 <div class="memdoc">
   195 <dl class="see"><dt><b>See also:</b></dt><dd>CPeriodic::Start(). </dd></dl>
   201 
   196 
   202 <p>
   197 <p>Definition at line <a class="el" href="_i_p_c_2condvar_2condvarglobal_2src_2adder_8cpp_source.html#l00139">139</a> of file <a class="el" href="_i_p_c_2condvar_2condvarglobal_2src_2adder_8cpp_source.html">adder.cpp</a>.</p>
   203 Starts the timer object. <dl class="see" compact><dt><b>See also:</b></dt><dd>CPeriodic::Start(). </dd></dl>
   198 
   204 
   199 </div>
   205 <p>Definition at line <a class="el" href="_i_p_c_2condvar_2condvarglobal_2src_2adder_8cpp-source.html#l00139">139</a> of file <a class="el" href="_i_p_c_2condvar_2condvarglobal_2src_2adder_8cpp-source.html">adder.cpp</a>.</p>
   200 </div>
   206 
   201 <a class="anchor" id="a5d5d56b9ce85c971c2e48b575f792d9d"></a><!-- doxytag: member="CAdder::StopTimer" ref="a5d5d56b9ce85c971c2e48b575f792d9d" args="()" -->
   207 </div>
   202 <div class="memitem">
   208 </div><p>
   203 <div class="memproto">
   209 <a class="anchor" name="5d5d56b9ce85c971c2e48b575f792d9d"></a><!-- doxytag: member="CAdder::StopTimer" ref="5d5d56b9ce85c971c2e48b575f792d9d" args="()" -->
   204       <table class="memname">
   210 <div class="memitem">
   205         <tr>
   211 <div class="memproto">
   206           <td class="memname">void CAdder::StopTimer </td>
   212       <table class="memname">
   207           <td>(</td>
   213         <tr>
   208           <td class="paramname"></td>
   214           <td class="memname">void CAdder::StopTimer           </td>
   209           <td>&nbsp;)&nbsp;</td>
   215           <td>(</td>
   210           <td></td>
   216           <td class="paramname">          </td>
   211         </tr>
   217           <td>&nbsp;)&nbsp;</td>
   212       </table>
   218           <td width="100%"></td>
   213 </div>
   219         </tr>
   214 <div class="memdoc">
   220       </table>
   215 <p>Stops the timer object. </p>
   221 </div>
   216 
   222 <div class="memdoc">
   217 <p>Definition at line <a class="el" href="_i_p_c_2condvar_2condvarglobal_2src_2adder_8cpp_source.html#l00148">148</a> of file <a class="el" href="_i_p_c_2condvar_2condvarglobal_2src_2adder_8cpp_source.html">adder.cpp</a>.</p>
   223 
   218 
   224 <p>
   219 </div>
   225 Stops the timer object. 
   220 </div>
   226 <p>Definition at line <a class="el" href="_i_p_c_2condvar_2condvarglobal_2src_2adder_8cpp-source.html#l00148">148</a> of file <a class="el" href="_i_p_c_2condvar_2condvarglobal_2src_2adder_8cpp-source.html">adder.cpp</a>.</p>
   221 <a class="anchor" id="a800f42785c37c746dadd65c90b7e0dfa"></a><!-- doxytag: member="CAdder::ReadFunction" ref="a800f42785c37c746dadd65c90b7e0dfa" args="()" -->
   227 
   222 <div class="memitem">
   228 </div>
   223 <div class="memproto">
   229 </div><p>
   224       <table class="memname">
   230 <a class="anchor" name="800f42785c37c746dadd65c90b7e0dfa"></a><!-- doxytag: member="CAdder::ReadFunction" ref="800f42785c37c746dadd65c90b7e0dfa" args="()" -->
   225         <tr>
   231 <div class="memitem">
   226           <td class="memname">void CAdder::ReadFunction </td>
   232 <div class="memproto">
   227           <td>(</td>
   233       <table class="memname">
   228           <td class="paramname"></td>
   234         <tr>
   229           <td>&nbsp;)&nbsp;</td>
   235           <td class="memname">void CAdder::ReadFunction           </td>
   230           <td></td>
   236           <td>(</td>
   231         </tr>
   237           <td class="paramname">          </td>
   232       </table>
   238           <td>&nbsp;)&nbsp;</td>
   233 </div>
   239           <td width="100%"></td>
   234 <div class="memdoc">
   240         </tr>
   235 <p>Issues an outstanding request to get a keystroke from the console. </p>
   241       </table>
   236 
   242 </div>
   237 <p>Definition at line <a class="el" href="_i_p_c_2condvar_2condvarglobal_2src_2adder_8cpp_source.html#l00126">126</a> of file <a class="el" href="_i_p_c_2condvar_2condvarglobal_2src_2adder_8cpp_source.html">adder.cpp</a>.</p>
   243 <div class="memdoc">
   238 
   244 
   239 </div>
   245 <p>
   240 </div>
   246 Issues an outstanding request to get a keystroke from the console. 
   241 <a class="anchor" id="a6e524c7466f89ca4ab9896f5bae13f3e"></a><!-- doxytag: member="CAdder::AddFunction" ref="a6e524c7466f89ca4ab9896f5bae13f3e" args="(TAny *aPtr)" -->
   247 <p>Definition at line <a class="el" href="_i_p_c_2condvar_2condvarglobal_2src_2adder_8cpp-source.html#l00126">126</a> of file <a class="el" href="_i_p_c_2condvar_2condvarglobal_2src_2adder_8cpp-source.html">adder.cpp</a>.</p>
   242 <div class="memitem">
   248 
   243 <div class="memproto">
   249 </div>
   244       <table class="memname">
   250 </div><p>
   245         <tr>
   251 <a class="anchor" name="6e524c7466f89ca4ab9896f5bae13f3e"></a><!-- doxytag: member="CAdder::AddFunction" ref="6e524c7466f89ca4ab9896f5bae13f3e" args="(TAny *aPtr)" -->
   246           <td class="memname">TInt CAdder::AddFunction </td>
   252 <div class="memitem">
       
   253 <div class="memproto">
       
   254       <table class="memname">
       
   255         <tr>
       
   256           <td class="memname">TInt CAdder::AddFunction           </td>
       
   257           <td>(</td>
   247           <td>(</td>
   258           <td class="paramtype">TAny *&nbsp;</td>
   248           <td class="paramtype">TAny *&nbsp;</td>
   259           <td class="paramname"> <em>aPtr</em>          </td>
   249           <td class="paramname"> <em>aPtr</em></td>
   260           <td>&nbsp;)&nbsp;</td>
   250           <td>&nbsp;)&nbsp;</td>
   261           <td width="100%"><code> [static]</code></td>
   251           <td><code> [static]</code></td>
   262         </tr>
   252         </tr>
   263       </table>
   253       </table>
   264 </div>
   254 </div>
   265 <div class="memdoc">
   255 <div class="memdoc">
   266 
   256 <p>The call back function for the CAdder::iPeriodic object. </p>
   267 <p>
   257 <dl><dt><b>Parameters:</b></dt><dd>
   268 The call back function for the CAdder::iPeriodic object. <dl compact><dt><b>Parameters:</b></dt><dd>
       
   269   <table border="0" cellspacing="2" cellpadding="0">
   258   <table border="0" cellspacing="2" cellpadding="0">
   270     <tr><td valign="top"></td><td valign="top"><em>aPtr</em>&nbsp;</td><td>Contains the address of the object passed as an argument to the <a class="el" href="class_c_adder.html#6e524c7466f89ca4ab9896f5bae13f3e">AddFunction()</a>. </td></tr>
   259     <tr><td valign="top"></td><td valign="top"><em>aPtr</em>&nbsp;</td><td>Contains the address of the object passed as an argument to the <a class="el" href="class_c_adder.html#a6e524c7466f89ca4ab9896f5bae13f3e">AddFunction()</a>. </td></tr>
   271   </table>
   260   </table>
       
   261   </dd>
   272 </dl>
   262 </dl>
   273 <dl class="return" compact><dt><b>Returns:</b></dt><dd>KErrNone. </dd></dl>
   263 <dl class="return"><dt><b>Returns:</b></dt><dd>KErrNone. </dd></dl>
   274 
   264 
   275 <p>Definition at line <a class="el" href="_i_p_c_2condvar_2condvarglobal_2src_2adder_8cpp-source.html#l00159">159</a> of file <a class="el" href="_i_p_c_2condvar_2condvarglobal_2src_2adder_8cpp-source.html">adder.cpp</a>.</p>
   265 <p>Definition at line <a class="el" href="_i_p_c_2condvar_2condvarglobal_2src_2adder_8cpp_source.html#l00159">159</a> of file <a class="el" href="_i_p_c_2condvar_2condvarglobal_2src_2adder_8cpp_source.html">adder.cpp</a>.</p>
   276 
   266 
   277 </div>
   267 </div>
   278 </div><p>
   268 </div>
   279 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Jan 21 10:33:03 2010 for TB10.1 Example Applications by&nbsp;
   269 </div>
       
   270 <hr size="1"/><address style="text-align: right;"><small>Generated by&nbsp;
   280 <a href="http://www.doxygen.org/index.html">
   271 <a href="http://www.doxygen.org/index.html">
   281 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
   272 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
   282 </body>
   273 </body>
   283 </html>
   274 </html>