examples/S60CppExamples/ClientServerAsync/doc/class_c_c_s_async_document.html

00001 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
00002 <html>
00003 
00004 <head>
00005 <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
00006 <title>CCSAsyncDocument Class Reference</title>
00007 <link href="style.css" rel="stylesheet" type="text/css">
00008 </head>
00009 
00010 <table border="0" width="100%" height="8" bgcolor="#eeeeee">
00011 <tr> <td width="100%" height="1"><b><font size="2" color="#000000" face="Arial, Helvetica, sans-serif"><strong><a name=Top></a>
00012 S60 5th Edition SDK </strong></font></b><br><i>Example Applications Guide</i></td></tr> </table>
00013 <!-- Generated by Doxygen 1.4.5 -->
00014 <div class="tabs">
00015   <ul>
00016     <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
00017     <li id="current"><a href="annotated.html"><span>Classes</span></a></li>
00018     <li><a href="files.html"><span>Files</span></a></li>
00019   </ul></div>
00020 <div class="tabs">
00021   <ul>
00022     <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
00023     <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
00024     <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
00025   </ul></div>
00026 <h1>CCSAsyncDocument Class Reference</h1><!-- doxytag: class="CCSAsyncDocument" --><!-- doxytag: inherits="CAknDocument" --><code>#include &lt;<a class="el" href="csasyncdocument_8h-source.html">csasyncdocument.h</a>&gt;</code>
00027 <p>
00028 <p>Inheritance diagram for CCSAsyncDocument:
00029 <p><center><img src="class_c_c_s_async_document.png" usemap="#CCSAsyncDocument_map" border="0" alt=""></center>
00030 <map name="CCSAsyncDocument_map">
00031 </map>
00032 <a href="class_c_c_s_async_document-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
00033 CCSAsyncDocument An instance of class CCSAsyncDocument is the Document part of the AVKON application framework for the CSAsync example application 
00034 <p>
00035 
00036 <p>
00037 Definition at line <a class="el" href="csasyncdocument_8h-source.html#l00034">34</a> of file <a class="el" href="csasyncdocument_8h-source.html">csasyncdocument.h</a>.<table border="0" cellpadding="0" cellspacing="0">
00038 <tr><td></td></tr>
00039 <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
00040 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_c_s_async_document.html#8be2e5c465a282f8419da9246a622582">~CCSAsyncDocument</a> ()</td></tr>
00041 
00042 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_c_s_async_document.html#49951129866458617c40b0dc2b4f393f">UpdateTime</a> ()</td></tr>
00043 
00044 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_c_s_async_document.html#0dcbea3e9ce301f1d5ac23a7679b8ee0">StopClock</a> ()</td></tr>
00045 
00046 <tr><td class="memItemLeft" nowrap align="right" valign="top">TTime&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_c_s_async_document.html#abd5ca40d94b3e8941d79e5362c038b2">Time</a> () const </td></tr>
00047 
00048 <tr><td class="memItemLeft" nowrap align="right" valign="top">TBool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_c_s_async_document.html#c66d75d45ff8dc86abcb0b2191aa61a8">ClockActive</a> () const </td></tr>
00049 
00050 <tr><td class="memItemLeft" nowrap align="right" valign="top">CEikAppUi *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_c_s_async_document.html#0eb34f98d849338274127e28e8c78b4e">CreateAppUiL</a> ()</td></tr>
00051 
00052 <tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
00053 <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="class_c_c_s_async_document.html">CCSAsyncDocument</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_c_s_async_document.html#97d8413d74643854e05e60e11a177553">NewL</a> (CEikApplication &amp;aApp)</td></tr>
00054 
00055 <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="class_c_c_s_async_document.html">CCSAsyncDocument</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_c_s_async_document.html#4b4aa55001690769b8aac3d27274aef8">NewLC</a> (CEikApplication &amp;aApp)</td></tr>
00056 
00057 <tr><td colspan="2"><br><h2>Private Member Functions</h2></td></tr>
00058 <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_c_s_async_document.html#2b3f9d0286c70047caac1054cee403c1">CCSAsyncDocument</a> (CEikApplication &amp;aApp)</td></tr>
00059 
00060 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_c_s_async_document.html#9ce34ba0b947863222da3c63d0481044">ConstructL</a> ()</td></tr>
00061 
00062 <tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr>
00063 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_c_c_s_async_request_handler.html">CCSAsyncRequestHandler</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_c_s_async_document.html#56132cb68e64726ad0658571e44e9644">iHandler</a></td></tr>
00064 
00065 </table>
00066 <hr><h2>Constructor &amp; Destructor Documentation</h2>
00067 <a class="anchor" name="8be2e5c465a282f8419da9246a622582"></a><!-- doxytag: member="CCSAsyncDocument::~CCSAsyncDocument" ref="8be2e5c465a282f8419da9246a622582" args="()" --><p>
00068 <table class="mdTable" cellpadding="2" cellspacing="0">
00069   <tr>
00070     <td class="mdRow">
00071       <table cellpadding="0" cellspacing="0" border="0">
00072         <tr>
00073           <td class="md" nowrap valign="top">CCSAsyncDocument::~CCSAsyncDocument           </td>
00074           <td class="md" valign="top">(&nbsp;</td>
00075           <td class="mdname1" valign="top" nowrap>          </td>
00076           <td class="md" valign="top">&nbsp;)&nbsp;</td>
00077           <td class="md" nowrap><code> [virtual]</code></td>
00078         </tr>
00079       </table>
00080     </td>
00081   </tr>
00082 </table>
00083 <table cellspacing="5" cellpadding="0" border="0">
00084   <tr>
00085     <td>
00086       &nbsp;
00087     </td>
00088     <td>
00089 
00090 <p>
00091 ~CCSAsyncDocument. Destructor. Destroys the object and release all memory objects. 
00092 <p>
00093 Definition at line <a class="el" href="csasyncdocument_8cpp-source.html#l00073">73</a> of file <a class="el" href="csasyncdocument_8cpp-source.html">csasyncdocument.cpp</a>.
00094 <p>
00095 References <a class="el" href="csasyncdocument_8h-source.html#l00127">iHandler</a>.<div class="fragment"><pre class="fragment"><a name="l00074"></a>00074     {
00096 <a name="l00075"></a>00075     <span class="keyword">delete</span> <a class="code" href="class_c_c_s_async_document.html#56132cb68e64726ad0658571e44e9644">iHandler</a>;
00097 <a name="l00076"></a>00076     }
00098 </pre></div>
00099 <p>
00100     </td>
00101   </tr>
00102 </table>
00103 <a class="anchor" name="2b3f9d0286c70047caac1054cee403c1"></a><!-- doxytag: member="CCSAsyncDocument::CCSAsyncDocument" ref="2b3f9d0286c70047caac1054cee403c1" args="(CEikApplication &amp;aApp)" --><p>
00104 <table class="mdTable" cellpadding="2" cellspacing="0">
00105   <tr>
00106     <td class="mdRow">
00107       <table cellpadding="0" cellspacing="0" border="0">
00108         <tr>
00109           <td class="md" nowrap valign="top">CCSAsyncDocument::CCSAsyncDocument           </td>
00110           <td class="md" valign="top">(&nbsp;</td>
00111           <td class="md" nowrap valign="top">CEikApplication &amp;&nbsp;</td>
00112           <td class="mdname1" valign="top" nowrap> <em>aApp</em>          </td>
00113           <td class="md" valign="top">&nbsp;)&nbsp;</td>
00114           <td class="md" nowrap><code> [private]</code></td>
00115         </tr>
00116       </table>
00117     </td>
00118   </tr>
00119 </table>
00120 <table cellspacing="5" cellpadding="0" border="0">
00121   <tr>
00122     <td>
00123       &nbsp;
00124     </td>
00125     <td>
00126 
00127 <p>
00128 CCSAsyncDocument. C++ default constructor. Perform the first phase of two phase construction. <dl compact><dt><b>Parameters:</b></dt><dd>
00129   <table border="0" cellspacing="2" cellpadding="0">
00130     <tr><td valign="top"></td><td valign="top"><em>aApp</em>&nbsp;</td><td>Application creating this document. </td></tr>
00131   </table>
00132 </dl>
00133 
00134 <p>
00135 Definition at line <a class="el" href="csasyncdocument_8cpp-source.html#l00062">62</a> of file <a class="el" href="csasyncdocument_8cpp-source.html">csasyncdocument.cpp</a>.
00136 <p>
00137 Referenced by <a class="el" href="csasyncdocument_8cpp-source.html#l00040">NewLC()</a>.<div class="fragment"><pre class="fragment"><a name="l00063"></a>00063 : CAknDocument( aApp )
00138 <a name="l00064"></a>00064     {
00139 <a name="l00065"></a>00065     <span class="comment">// No implementation required</span>
00140 <a name="l00066"></a>00066     }
00141 </pre></div>
00142 <p>
00143     </td>
00144   </tr>
00145 </table>
00146 <hr><h2>Member Function Documentation</h2>
00147 <a class="anchor" name="97d8413d74643854e05e60e11a177553"></a><!-- doxytag: member="CCSAsyncDocument::NewL" ref="97d8413d74643854e05e60e11a177553" args="(CEikApplication &amp;aApp)" --><p>
00148 <table class="mdTable" cellpadding="2" cellspacing="0">
00149   <tr>
00150     <td class="mdRow">
00151       <table cellpadding="0" cellspacing="0" border="0">
00152         <tr>
00153           <td class="md" nowrap valign="top"><a class="el" href="class_c_c_s_async_document.html">CCSAsyncDocument</a> * CCSAsyncDocument::NewL           </td>
00154           <td class="md" valign="top">(&nbsp;</td>
00155           <td class="md" nowrap valign="top">CEikApplication &amp;&nbsp;</td>
00156           <td class="mdname1" valign="top" nowrap> <em>aApp</em>          </td>
00157           <td class="md" valign="top">&nbsp;)&nbsp;</td>
00158           <td class="md" nowrap><code> [static]</code></td>
00159         </tr>
00160       </table>
00161     </td>
00162   </tr>
00163 </table>
00164 <table cellspacing="5" cellpadding="0" border="0">
00165   <tr>
00166     <td>
00167       &nbsp;
00168     </td>
00169     <td>
00170 
00171 <p>
00172 NewL. Two-phased constructor. Constructs a CCSAsyncDocument for the AVKON application aApp using two phase construction, and returns a pointer to the created object. <dl compact><dt><b>Parameters:</b></dt><dd>
00173   <table border="0" cellspacing="2" cellpadding="0">
00174     <tr><td valign="top"></td><td valign="top"><em>aApp</em>&nbsp;</td><td>Application creating this document. </td></tr>
00175   </table>
00176 </dl>
00177 <dl compact><dt><b>Returns:</b></dt><dd>A pointer to the created instance of CCSAsyncDocument. </dd></dl>
00178 
00179 <p>
00180 Definition at line <a class="el" href="csasyncdocument_8cpp-source.html#l00028">28</a> of file <a class="el" href="csasyncdocument_8cpp-source.html">csasyncdocument.cpp</a>.
00181 <p>
00182 References <a class="el" href="csasyncdocument_8cpp-source.html#l00040">NewLC()</a>.
00183 <p>
00184 Referenced by <a class="el" href="csasyncapplication_8cpp-source.html#l00028">CCSAsyncApplication::CreateDocumentL()</a>.<div class="fragment"><pre class="fragment"><a name="l00029"></a>00029     {
00185 <a name="l00030"></a>00030     <a class="code" href="class_c_c_s_async_document.html">CCSAsyncDocument</a>* <span class="keyword">self</span> = <a class="code" href="class_c_c_s_async_document.html#4b4aa55001690769b8aac3d27274aef8">NewLC</a>( aApp );
00186 <a name="l00031"></a>00031     CleanupStack::Pop( <span class="keyword">self</span> );
00187 <a name="l00032"></a>00032     <span class="keywordflow">return</span> <span class="keyword">self</span>;
00188 <a name="l00033"></a>00033     }
00189 </pre></div>
00190 <p>
00191     </td>
00192   </tr>
00193 </table>
00194 <a class="anchor" name="4b4aa55001690769b8aac3d27274aef8"></a><!-- doxytag: member="CCSAsyncDocument::NewLC" ref="4b4aa55001690769b8aac3d27274aef8" args="(CEikApplication &amp;aApp)" --><p>
00195 <table class="mdTable" cellpadding="2" cellspacing="0">
00196   <tr>
00197     <td class="mdRow">
00198       <table cellpadding="0" cellspacing="0" border="0">
00199         <tr>
00200           <td class="md" nowrap valign="top"><a class="el" href="class_c_c_s_async_document.html">CCSAsyncDocument</a> * CCSAsyncDocument::NewLC           </td>
00201           <td class="md" valign="top">(&nbsp;</td>
00202           <td class="md" nowrap valign="top">CEikApplication &amp;&nbsp;</td>
00203           <td class="mdname1" valign="top" nowrap> <em>aApp</em>          </td>
00204           <td class="md" valign="top">&nbsp;)&nbsp;</td>
00205           <td class="md" nowrap><code> [static]</code></td>
00206         </tr>
00207       </table>
00208     </td>
00209   </tr>
00210 </table>
00211 <table cellspacing="5" cellpadding="0" border="0">
00212   <tr>
00213     <td>
00214       &nbsp;
00215     </td>
00216     <td>
00217 
00218 <p>
00219 NewLC. Two-phased constructor. Constructs a CCSAsyncDocument for the AVKON application aApp using two phase construction, and returns a pointer to the created object. <dl compact><dt><b>Parameters:</b></dt><dd>
00220   <table border="0" cellspacing="2" cellpadding="0">
00221     <tr><td valign="top"></td><td valign="top"><em>aApp</em>&nbsp;</td><td>Application creating this document. </td></tr>
00222   </table>
00223 </dl>
00224 <dl compact><dt><b>Returns:</b></dt><dd>A pointer to the created instance of CCSAsyncDocument. </dd></dl>
00225 
00226 <p>
00227 Definition at line <a class="el" href="csasyncdocument_8cpp-source.html#l00040">40</a> of file <a class="el" href="csasyncdocument_8cpp-source.html">csasyncdocument.cpp</a>.
00228 <p>
00229 References <a class="el" href="csasyncdocument_8cpp-source.html#l00062">CCSAsyncDocument()</a>.
00230 <p>
00231 Referenced by <a class="el" href="csasyncdocument_8cpp-source.html#l00028">NewL()</a>.<div class="fragment"><pre class="fragment"><a name="l00041"></a>00041     {
00232 <a name="l00042"></a>00042     <a class="code" href="class_c_c_s_async_document.html">CCSAsyncDocument</a>* <span class="keyword">self</span> = <span class="keyword">new</span> ( ELeave ) <a class="code" href="class_c_c_s_async_document.html#2b3f9d0286c70047caac1054cee403c1">CCSAsyncDocument</a>( aApp );
00233 <a name="l00043"></a>00043     CleanupStack::PushL( <span class="keyword">self</span> );
00234 <a name="l00044"></a>00044     <span class="keyword">self</span>-&gt;ConstructL();
00235 <a name="l00045"></a>00045     <span class="keywordflow">return</span> <span class="keyword">self</span>;
00236 <a name="l00046"></a>00046     }
00237 </pre></div>
00238 <p>
00239     </td>
00240   </tr>
00241 </table>
00242 <a class="anchor" name="49951129866458617c40b0dc2b4f393f"></a><!-- doxytag: member="CCSAsyncDocument::UpdateTime" ref="49951129866458617c40b0dc2b4f393f" args="()" --><p>
00243 <table class="mdTable" cellpadding="2" cellspacing="0">
00244   <tr>
00245     <td class="mdRow">
00246       <table cellpadding="0" cellspacing="0" border="0">
00247         <tr>
00248           <td class="md" nowrap valign="top">void CCSAsyncDocument::UpdateTime           </td>
00249           <td class="md" valign="top">(&nbsp;</td>
00250           <td class="mdname1" valign="top" nowrap>          </td>
00251           <td class="md" valign="top">&nbsp;)&nbsp;</td>
00252           <td class="md" nowrap></td>
00253         </tr>
00254       </table>
00255     </td>
00256   </tr>
00257 </table>
00258 <table cellspacing="5" cellpadding="0" border="0">
00259   <tr>
00260     <td>
00261       &nbsp;
00262     </td>
00263     <td>
00264 
00265 <p>
00266 UpdateTime. Asks the time server to update this documents locally stored time. 
00267 <p>
00268 Definition at line <a class="el" href="csasyncdocument_8cpp-source.html#l00098">98</a> of file <a class="el" href="csasyncdocument_8cpp-source.html">csasyncdocument.cpp</a>.
00269 <p>
00270 References <a class="el" href="csasyncdocument_8h-source.html#l00127">iHandler</a>, and <a class="el" href="csasyncrequesthandler_8cpp-source.html#l00088">CCSAsyncRequestHandler::RequestTime()</a>.
00271 <p>
00272 Referenced by <a class="el" href="csasyncappui_8cpp-source.html#l00084">CCSAsyncAppUi::HandleCommandL()</a>.<div class="fragment"><pre class="fragment"><a name="l00099"></a>00099     {
00273 <a name="l00100"></a>00100     <a class="code" href="class_c_c_s_async_document.html#56132cb68e64726ad0658571e44e9644">iHandler</a>-&gt;<a class="code" href="class_c_c_s_async_request_handler.html#481d63e2f4e33b9cb8ed4680a965da25">RequestTime</a>();
00274 <a name="l00101"></a>00101     }
00275 </pre></div>
00276 <p>
00277     </td>
00278   </tr>
00279 </table>
00280 <a class="anchor" name="0dcbea3e9ce301f1d5ac23a7679b8ee0"></a><!-- doxytag: member="CCSAsyncDocument::StopClock" ref="0dcbea3e9ce301f1d5ac23a7679b8ee0" args="()" --><p>
00281 <table class="mdTable" cellpadding="2" cellspacing="0">
00282   <tr>
00283     <td class="mdRow">
00284       <table cellpadding="0" cellspacing="0" border="0">
00285         <tr>
00286           <td class="md" nowrap valign="top">void CCSAsyncDocument::StopClock           </td>
00287           <td class="md" valign="top">(&nbsp;</td>
00288           <td class="mdname1" valign="top" nowrap>          </td>
00289           <td class="md" valign="top">&nbsp;)&nbsp;</td>
00290           <td class="md" nowrap></td>
00291         </tr>
00292       </table>
00293     </td>
00294   </tr>
00295 </table>
00296 <table cellspacing="5" cellpadding="0" border="0">
00297   <tr>
00298     <td>
00299       &nbsp;
00300     </td>
00301     <td>
00302 
00303 <p>
00304 StopClock. Stops the clock. 
00305 <p>
00306 Definition at line <a class="el" href="csasyncdocument_8cpp-source.html#l00108">108</a> of file <a class="el" href="csasyncdocument_8cpp-source.html">csasyncdocument.cpp</a>.
00307 <p>
00308 References <a class="el" href="csasyncrequesthandler_8cpp-source.html#l00102">CCSAsyncRequestHandler::CancelRequest()</a>, <a class="el" href="csasyncdocument_8cpp-source.html#l00131">ClockActive()</a>, and <a class="el" href="csasyncdocument_8h-source.html#l00127">iHandler</a>.
00309 <p>
00310 Referenced by <a class="el" href="csasyncappui_8cpp-source.html#l00084">CCSAsyncAppUi::HandleCommandL()</a>.<div class="fragment"><pre class="fragment"><a name="l00109"></a>00109     {
00311 <a name="l00110"></a>00110     <span class="keywordflow">if</span> ( <a class="code" href="class_c_c_s_async_document.html#c66d75d45ff8dc86abcb0b2191aa61a8">ClockActive</a>() )
00312 <a name="l00111"></a>00111         {
00313 <a name="l00112"></a>00112         <a class="code" href="class_c_c_s_async_document.html#56132cb68e64726ad0658571e44e9644">iHandler</a>-&gt;<a class="code" href="class_c_c_s_async_request_handler.html#63d7f6ab1c508b38c31d416e01f71a29">CancelRequest</a>() ;
00314 <a name="l00113"></a>00113         }
00315 <a name="l00114"></a>00114     }
00316 </pre></div>
00317 <p>
00318     </td>
00319   </tr>
00320 </table>
00321 <a class="anchor" name="abd5ca40d94b3e8941d79e5362c038b2"></a><!-- doxytag: member="CCSAsyncDocument::Time" ref="abd5ca40d94b3e8941d79e5362c038b2" args="() const " --><p>
00322 <table class="mdTable" cellpadding="2" cellspacing="0">
00323   <tr>
00324     <td class="mdRow">
00325       <table cellpadding="0" cellspacing="0" border="0">
00326         <tr>
00327           <td class="md" nowrap valign="top">TTime CCSAsyncDocument::Time           </td>
00328           <td class="md" valign="top">(&nbsp;</td>
00329           <td class="mdname1" valign="top" nowrap>          </td>
00330           <td class="md" valign="top">&nbsp;)&nbsp;</td>
00331           <td class="md" nowrap> const</td>
00332         </tr>
00333       </table>
00334     </td>
00335   </tr>
00336 </table>
00337 <table cellspacing="5" cellpadding="0" border="0">
00338   <tr>
00339     <td>
00340       &nbsp;
00341     </td>
00342     <td>
00343 
00344 <p>
00345 Time. Returns the currently stored time. <dl compact><dt><b>Returns:</b></dt><dd>The time. </dd></dl>
00346 
00347 <p>
00348 Definition at line <a class="el" href="csasyncdocument_8cpp-source.html#l00121">121</a> of file <a class="el" href="csasyncdocument_8cpp-source.html">csasyncdocument.cpp</a>.
00349 <p>
00350 References <a class="el" href="csasyncdocument_8h-source.html#l00127">iHandler</a>, and <a class="el" href="csasyncrequesthandler_8cpp-source.html#l00151">CCSAsyncRequestHandler::Time()</a>.
00351 <p>
00352 Referenced by <a class="el" href="csasyncappview_8cpp-source.html#l00097">CCSAsyncAppView::Draw()</a>.<div class="fragment"><pre class="fragment"><a name="l00122"></a>00122     {
00353 <a name="l00123"></a>00123     <span class="keywordflow">return</span> <a class="code" href="class_c_c_s_async_document.html#56132cb68e64726ad0658571e44e9644">iHandler</a>-&gt;<a class="code" href="class_c_c_s_async_request_handler.html#abd5ca40d94b3e8941d79e5362c038b2">Time</a>();
00354 <a name="l00124"></a>00124     }
00355 </pre></div>
00356 <p>
00357     </td>
00358   </tr>
00359 </table>
00360 <a class="anchor" name="c66d75d45ff8dc86abcb0b2191aa61a8"></a><!-- doxytag: member="CCSAsyncDocument::ClockActive" ref="c66d75d45ff8dc86abcb0b2191aa61a8" args="() const " --><p>
00361 <table class="mdTable" cellpadding="2" cellspacing="0">
00362   <tr>
00363     <td class="mdRow">
00364       <table cellpadding="0" cellspacing="0" border="0">
00365         <tr>
00366           <td class="md" nowrap valign="top">TBool CCSAsyncDocument::ClockActive           </td>
00367           <td class="md" valign="top">(&nbsp;</td>
00368           <td class="mdname1" valign="top" nowrap>          </td>
00369           <td class="md" valign="top">&nbsp;)&nbsp;</td>
00370           <td class="md" nowrap> const</td>
00371         </tr>
00372       </table>
00373     </td>
00374   </tr>
00375 </table>
00376 <table cellspacing="5" cellpadding="0" border="0">
00377   <tr>
00378     <td>
00379       &nbsp;
00380     </td>
00381     <td>
00382 
00383 <p>
00384 ClockActive. Checks whether the clock has been started. <dl compact><dt><b>Returns:</b></dt><dd>ETrue if the clock has been started, EFalse if the clock is stopped </dd></dl>
00385 
00386 <p>
00387 Definition at line <a class="el" href="csasyncdocument_8cpp-source.html#l00131">131</a> of file <a class="el" href="csasyncdocument_8cpp-source.html">csasyncdocument.cpp</a>.
00388 <p>
00389 References <a class="el" href="csasyncdocument_8h-source.html#l00127">iHandler</a>.
00390 <p>
00391 Referenced by <a class="el" href="csasyncdocument_8cpp-source.html#l00108">StopClock()</a>.<div class="fragment"><pre class="fragment"><a name="l00132"></a>00132     {
00392 <a name="l00133"></a>00133     <span class="keywordflow">return</span> <a class="code" href="class_c_c_s_async_document.html#56132cb68e64726ad0658571e44e9644">iHandler</a>-&gt;IsActive();
00393 <a name="l00134"></a>00134     }
00394 </pre></div>
00395 <p>
00396     </td>
00397   </tr>
00398 </table>
00399 <a class="anchor" name="0eb34f98d849338274127e28e8c78b4e"></a><!-- doxytag: member="CCSAsyncDocument::CreateAppUiL" ref="0eb34f98d849338274127e28e8c78b4e" args="()" --><p>
00400 <table class="mdTable" cellpadding="2" cellspacing="0">
00401   <tr>
00402     <td class="mdRow">
00403       <table cellpadding="0" cellspacing="0" border="0">
00404         <tr>
00405           <td class="md" nowrap valign="top">CEikAppUi * CCSAsyncDocument::CreateAppUiL           </td>
00406           <td class="md" valign="top">(&nbsp;</td>
00407           <td class="mdname1" valign="top" nowrap>          </td>
00408           <td class="md" valign="top">&nbsp;)&nbsp;</td>
00409           <td class="md" nowrap></td>
00410         </tr>
00411       </table>
00412     </td>
00413   </tr>
00414 </table>
00415 <table cellspacing="5" cellpadding="0" border="0">
00416   <tr>
00417     <td>
00418       &nbsp;
00419     </td>
00420     <td>
00421 
00422 <p>
00423 From CAknDocument, CreateAppUiL. Creates a <a class="el" href="class_c_c_s_async_app_ui.html">CCSAsyncAppUi</a> object and returns a pointer to it. <dl compact><dt><b>Returns:</b></dt><dd>A pointer to the created instance of the AppUi created. </dd></dl>
00424 
00425 <p>
00426 Definition at line <a class="el" href="csasyncdocument_8cpp-source.html#l00083">83</a> of file <a class="el" href="csasyncdocument_8cpp-source.html">csasyncdocument.cpp</a>.
00427 <p>
00428 References <a class="el" href="csasyncdocument_8h-source.html#l00127">iHandler</a>, and <a class="el" href="csasyncrequesthandler_8cpp-source.html#l00030">CCSAsyncRequestHandler::NewL()</a>.<div class="fragment"><pre class="fragment"><a name="l00084"></a>00084     {
00429 <a name="l00085"></a>00085     <span class="comment">// Create the application user interface, and return a pointer to it</span>
00430 <a name="l00086"></a>00086     <a class="code" href="class_c_c_s_async_app_ui.html">CCSAsyncAppUi</a>* appUi = <span class="keyword">new</span> ( ELeave ) <a class="code" href="class_c_c_s_async_app_ui.html">CCSAsyncAppUi</a>;
00431 <a name="l00087"></a>00087     CleanupStack::PushL( appUi );
00432 <a name="l00088"></a>00088     <a class="code" href="class_c_c_s_async_document.html#56132cb68e64726ad0658571e44e9644">iHandler</a> = <a class="code" href="class_c_c_s_async_request_handler.html#e27bf7140859a754f6f06c51dbbd1b12">CCSAsyncRequestHandler::NewL</a>( *appUi );
00433 <a name="l00089"></a>00089     CleanupStack::Pop( appUi ) ;
00434 <a name="l00090"></a>00090     <span class="keywordflow">return</span> appUi;
00435 <a name="l00091"></a>00091     }
00436 </pre></div>
00437 <p>
00438     </td>
00439   </tr>
00440 </table>
00441 <a class="anchor" name="9ce34ba0b947863222da3c63d0481044"></a><!-- doxytag: member="CCSAsyncDocument::ConstructL" ref="9ce34ba0b947863222da3c63d0481044" args="()" --><p>
00442 <table class="mdTable" cellpadding="2" cellspacing="0">
00443   <tr>
00444     <td class="mdRow">
00445       <table cellpadding="0" cellspacing="0" border="0">
00446         <tr>
00447           <td class="md" nowrap valign="top">void CCSAsyncDocument::ConstructL           </td>
00448           <td class="md" valign="top">(&nbsp;</td>
00449           <td class="mdname1" valign="top" nowrap>          </td>
00450           <td class="md" valign="top">&nbsp;)&nbsp;</td>
00451           <td class="md" nowrap><code> [private]</code></td>
00452         </tr>
00453       </table>
00454     </td>
00455   </tr>
00456 </table>
00457 <table cellspacing="5" cellpadding="0" border="0">
00458   <tr>
00459     <td>
00460       &nbsp;
00461     </td>
00462     <td>
00463 
00464 <p>
00465 ConstructL. Performs the second phase construction of a CCSAsyncDocument object. 
00466 <p>
00467 Definition at line <a class="el" href="csasyncdocument_8cpp-source.html#l00053">53</a> of file <a class="el" href="csasyncdocument_8cpp-source.html">csasyncdocument.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00054"></a>00054     {
00468 <a name="l00055"></a>00055     <span class="comment">// No implementation required</span>
00469 <a name="l00056"></a>00056     }
00470 </pre></div>
00471 <p>
00472     </td>
00473   </tr>
00474 </table>
00475 <hr><h2>Member Data Documentation</h2>
00476 <a class="anchor" name="56132cb68e64726ad0658571e44e9644"></a><!-- doxytag: member="CCSAsyncDocument::iHandler" ref="56132cb68e64726ad0658571e44e9644" args="" --><p>
00477 <table class="mdTable" cellpadding="2" cellspacing="0">
00478   <tr>
00479     <td class="mdRow">
00480       <table cellpadding="0" cellspacing="0" border="0">
00481         <tr>
00482           <td class="md" nowrap valign="top"><a class="el" href="class_c_c_s_async_request_handler.html">CCSAsyncRequestHandler</a>* <a class="el" href="class_c_c_s_async_document.html#56132cb68e64726ad0658571e44e9644">CCSAsyncDocument::iHandler</a><code> [private]</code>          </td>
00483         </tr>
00484       </table>
00485     </td>
00486   </tr>
00487 </table>
00488 <table cellspacing="5" cellpadding="0" border="0">
00489   <tr>
00490     <td>
00491       &nbsp;
00492     </td>
00493     <td>
00494 
00495 <p>
00496 iHandler, Active object for handling asynchronous requests. Owned by CCSAsyncDocument object. 
00497 <p>
00498 Definition at line <a class="el" href="csasyncdocument_8h-source.html#l00127">127</a> of file <a class="el" href="csasyncdocument_8h-source.html">csasyncdocument.h</a>.
00499 <p>
00500 Referenced by <a class="el" href="csasyncdocument_8cpp-source.html#l00131">ClockActive()</a>, <a class="el" href="csasyncdocument_8cpp-source.html#l00083">CreateAppUiL()</a>, <a class="el" href="csasyncdocument_8cpp-source.html#l00108">StopClock()</a>, <a class="el" href="csasyncdocument_8cpp-source.html#l00121">Time()</a>, <a class="el" href="csasyncdocument_8cpp-source.html#l00098">UpdateTime()</a>, and <a class="el" href="csasyncdocument_8cpp-source.html#l00073">~CCSAsyncDocument()</a>.    </td>
00501   </tr>
00502 </table>
00503 <hr>The documentation for this class was generated from the following files:<ul>
00504 <li><a class="el" href="csasyncdocument_8h-source.html">csasyncdocument.h</a><li><a class="el" href="csasyncdocument_8cpp-source.html">csasyncdocument.cpp</a></ul>
00505 <hr>
00506 
00507 <table x-use-null-cells
00508                 style="x-cell-content-align: top;
00509                                 width: 100%;
00510                                 border-spacing: 0px;
00511                                 border-spacing: 0px;"
00512                 cellspacing=0
00513                 width=100%>
00514   <col style="width: 50%;">
00515   <col style="width: 50%;">
00516 
00517   <tr style="x-cell-content-align: top;"
00518         valign=top>
00519   <td style="width: 50%;
00520                         padding-right: 10px;
00521                         padding-left: 10px;
00522                         border-right-style: None;
00523                         border-left-style: None;
00524                         border-top-style: None;
00525                         border-bottom-style: None;"
00526         width=50%>
00527   <p style="font-family: Arial;"><small style="font-size: smaller;">� Nokia 2009</small></td>
00528   <td style="width: 50%;
00529                         padding-right: 10px;
00530                         padding-left: 10px;
00531                         border-top-style: None;
00532                         border-bottom-style: None;
00533                         border-right-style: None;"
00534         width=50%>
00535   <p style="text-align: right; margin-right: -4px;"
00536         align=right><span style="font-weight: bold;"><a href="#Top"
00537                                                                                                         title="Back to top"><img
00538  src="top.gif"
00539         x-maintain-ratio=TRUE
00540         alt="Back to top"
00541         style="border: none;
00542                         width: 18px;
00543                         height: 15px;
00544                         float: none;
00545                         border-style: none;
00546                         border-style: none;"
00547         width=18
00548         height=15
00549         border=0></a></span></td></tr>
00550  </table>
00551 </body>
00552 </html>
00553 

Generated by  doxygen 1.6.2