Symbian3/PDK/Source/GUID-086939FA-D381-5705-BEE6-6DF2D3624849.dita
changeset 1 25a17d01db0c
child 5 f345bda72bc4
equal deleted inserted replaced
0:89d6a7a84779 1:25a17d01db0c
       
     1 <?xml version="1.0" encoding="utf-8"?>
       
     2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
       
     3 <!-- This component and the accompanying materials are made available under the terms of the License 
       
     4 "Eclipse Public License v1.0" which accompanies this distribution, 
       
     5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
       
     6 <!-- Initial Contributors:
       
     7     Nokia Corporation - initial contribution.
       
     8 Contributors: 
       
     9 -->
       
    10 <!DOCTYPE concept
       
    11   PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
       
    12 <concept id="GUID-086939FA-D381-5705-BEE6-6DF2D3624849" xml:lang="en"><title>Timers
       
    13 and Timing Services Example Code</title><shortdesc>This example describes how to use <apiname>RTimer</apiname> functions.</shortdesc><prolog><metadata><keywords/></metadata></prolog><conbody>
       
    14 <ul>
       
    15 <li id="GUID-9D1268CE-9D9F-5B51-A578-772937196CD7"><p> <xref href="GUID-086939FA-D381-5705-BEE6-6DF2D3624849.dita#GUID-086939FA-D381-5705-BEE6-6DF2D3624849/GUID-3205DDD3-D057-56BF-8F64-CF1AFF52619B">BasicTimer: the asynchronous timer</xref> </p> </li>
       
    16 <li id="GUID-044A87AB-3F8E-575F-9220-6C07FB0BC952"><p> <xref href="GUID-086939FA-D381-5705-BEE6-6DF2D3624849.dita#GUID-086939FA-D381-5705-BEE6-6DF2D3624849/GUID-0554FACD-5075-5C8D-8634-F60D31D1EDB7">Periodic: a periodic timer and a heartbeat timer</xref> </p> </li>
       
    17 </ul>
       
    18 <section id="GUID-3205DDD3-D057-56BF-8F64-CF1AFF52619B"><title>BasicTimer:
       
    19 the asynchronous timer</title> <p><b>Download</b> </p> <p>Click the following
       
    20 link to download the example: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-0feaa43f-bf66-4a6c-b61b-f768f6524d22.zip" scope="external">BasicTimer.zip</xref>.</p><p>Click the following link to
       
    21 download additional files: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-4184e6d4-8dbe-4267-b1a3-8737c8bf64ce.zip" scope="external">CommonFramework.zip</xref></p><p>Click <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-0feaa43f-bf66-4a6c-b61b-f768f6524d22.html" scope="peer">browse BasicTimer</xref> to view the example code.</p><p>Click <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-4184e6d4-8dbe-4267-b1a3-8737c8bf64ce.html" scope="peer">browse CommonFramework </xref> to view additional files.</p> <p><b>Description</b> </p> <p>This
       
    22 example demonstrates the asynchronous timer, <codeph>RTimer</codeph>. The
       
    23 example does <i>not</i> use active objects. </p><p><b>Class summary</b></p><ul>
       
    24 <li><p><xref href="GUID-8A423EA2-4264-30C9-9579-0466994E6E88.dita"><apiname>RTimer</apiname></xref> - Asynchronous timer services.</p></li>
       
    25 <li><p><xref href="GUID-E0B34F3E-D4C4-3232-B8B1-7DB35B454646.dita"><apiname>TRequestStatus</apiname></xref> - Indicates the completion status
       
    26 of a request made to a service provider.</p></li>
       
    27 </ul> <p><b>Security issues</b> </p> <p>The example requires no specific capabilities
       
    28 in order to run - and does not demonstrate any security issues. </p> </section>
       
    29 <section id="GUID-0554FACD-5075-5C8D-8634-F60D31D1EDB7"><title>Periodic: a
       
    30 periodic timer and a heartbeat timer</title> <p><b>Download</b> </p> <p>Download
       
    31 the example: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-3195c0fc-704f-4fd4-8c99-407f795abc5f.zip" scope="external">Periodic.zip</xref>. </p><p>Download some additional files
       
    32 required by the example: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-4184e6d4-8dbe-4267-b1a3-8737c8bf64ce.zip" scope="external">CommonFramework.zip</xref></p><p>View the source code: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-3195c0fc-704f-4fd4-8c99-407f795abc5f.html" scope="peer">browse</xref>. View the additional file: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-4184e6d4-8dbe-4267-b1a3-8737c8bf64ce.html" scope="peer">browse</xref></p> <p><b>Description</b> </p> <p>The example demonstrates
       
    33 a periodic and a heartbeat timer and shows the differences between them. </p><p><b>Class
       
    34 summary</b></p><ul>
       
    35 <li><p><xref href="GUID-8D6075C7-A340-36A6-A152-0E3E76070311.dita"><apiname>CHeartBeat</apiname></xref></p></li>
       
    36 <li><p><xref href="GUID-3CECC9FC-58C1-3117-AAF2-FDF88341F56F.dita"><apiname>CPeriodic</apiname></xref> - Periodic timer active object.</p></li>
       
    37 </ul> <p><b>Security issues</b> </p> <p>The example requires no specific capabilities
       
    38 in order to run - and does not demonstrate any security issues. </p> </section>
       
    39 </conbody></concept>