Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/taskscheduler_8cpp.html
changeset 1 25a17d01db0c
child 6 43e37759235e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/taskscheduler_8cpp.html	Fri Jan 22 18:26:19 2010 +0000
@@ -0,0 +1,132 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
+<title>TB10.1 Example Applications: examples/SysLibs/TaskSchedulerExample/taskscheduler.cpp File Reference</title>
+<link href="doxygen.css" rel="stylesheet" type="text/css">
+<link href="tabs.css" rel="stylesheet" type="text/css">
+</head><body>
+<!-- Generated by Doxygen 1.5.3 -->
+<h1>examples/SysLibs/TaskSchedulerExample/taskscheduler.cpp File Reference</h1>
+<p>
+<a href="taskscheduler_8cpp-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
+<tr><td></td></tr>
+<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="34474868a075bc7571782aac77214fbe"></a><!-- doxytag: member="taskscheduler.cpp::_LIT" ref="34474868a075bc7571782aac77214fbe" args="(KTaskName,&quot;MyTaskName\n&quot;)" -->
+&nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTaskName,&quot;MyTaskName\n&quot;)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8fe9c80949effc525c0c11557d648518"></a><!-- doxytag: member="taskscheduler.cpp::_LIT" ref="8fe9c80949effc525c0c11557d648518" args="(KTitle,&quot;Task Scheduler example&quot;)" -->
+&nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTitle,&quot;Task Scheduler example&quot;)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1773a2ed28fd093bccb8d69371dfe5da"></a><!-- doxytag: member="taskscheduler.cpp::_LIT" ref="1773a2ed28fd093bccb8d69371dfe5da" args="(KTextPressAKey,&quot;\nPress any key to step through the example\n&quot;)" -->
+&nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTextPressAKey,&quot;\nPress any key to step through the example\n&quot;)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f0fa1f356ccf64e0a3f03e9a0c202b66"></a><!-- doxytag: member="taskscheduler.cpp::_LIT" ref="f0fa1f356ccf64e0a3f03e9a0c202b66" args="(KExit,&quot;\nPress any key to exit the application&quot;)" -->
+&nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KExit,&quot;\nPress any key to exit the application&quot;)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0ed7182a4bef92ceb43558a2c7b2acb6"></a><!-- doxytag: member="taskscheduler.cpp::_LIT" ref="0ed7182a4bef92ceb43558a2c7b2acb6" args="(KPressAKey,&quot;\nPress any key to continue\n&quot;)" -->
+&nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KPressAKey,&quot;\nPress any key to continue\n&quot;)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7bf2c99864c5655d71a649c4b1ae86aa"></a><!-- doxytag: member="taskscheduler.cpp::_LIT" ref="7bf2c99864c5655d71a649c4b1ae86aa" args="(KConnect,&quot;\nConnecting the client to the task scheduler server&quot;)" -->
+&nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KConnect,&quot;\nConnecting the client to the task scheduler server&quot;)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2ba1c9bbe925d8ab3edd334a3352b2d9"></a><!-- doxytag: member="taskscheduler.cpp::_LIT" ref="2ba1c9bbe925d8ab3edd334a3352b2d9" args="(KRegisterClient,&quot;\nRegistering the client\n&quot;)" -->
+&nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KRegisterClient,&quot;\nRegistering the client\n&quot;)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a09435ade1ad8c6f036a48a8813e5899"></a><!-- doxytag: member="taskscheduler.cpp::_LIT" ref="a09435ade1ad8c6f036a48a8813e5899" args="(KCreateSchedule,&quot;Creating a persistent schedule\n&quot;)" -->
+&nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KCreateSchedule,&quot;Creating a persistent schedule\n&quot;)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1a8c23a59759ce38e151f2034e6c609f"></a><!-- doxytag: member="taskscheduler.cpp::_LIT" ref="1a8c23a59759ce38e151f2034e6c609f" args="(KCreateTask,&quot;Creating task for the schedule\n&quot;)" -->
+&nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KCreateTask,&quot;Creating task for the schedule\n&quot;)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="45dfec2fe18f62bc6135c1480948104e"></a><!-- doxytag: member="taskscheduler.cpp::_LIT" ref="45dfec2fe18f62bc6135c1480948104e" args="(KPersistentWait,&quot;Waiting for the persistent task to complete. This will take 20 seconds\n&quot;)" -->
+&nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KPersistentWait,&quot;Waiting for the persistent task to complete. This will take 20 seconds\n&quot;)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="283cc0958845e76d592d0b4f1c49342e"></a><!-- doxytag: member="taskscheduler.cpp::_LIT" ref="283cc0958845e76d592d0b4f1c49342e" args="(KDone,&quot;Task complete \n&quot;)" -->
+&nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KDone,&quot;Task complete \n&quot;)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3b26da0e096e69ed3b64f93771c13886"></a><!-- doxytag: member="taskscheduler.cpp::_LIT" ref="3b26da0e096e69ed3b64f93771c13886" args="(KTransientSchedule,&quot;A transient schedule&quot;)" -->
+&nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTransientSchedule,&quot;A transient schedule&quot;)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fe9eedfb628f5d6060d1814ffa953d98"></a><!-- doxytag: member="taskscheduler.cpp::_LIT" ref="fe9eedfb628f5d6060d1814ffa953d98" args="(KTransientWait,&quot;Waiting for the transient task to complete. This will take 20 seconds\n&quot;)" -->
+&nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTransientWait,&quot;Waiting for the transient task to complete. This will take 20 seconds\n&quot;)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7e202c8426f294167f18f06a8f586654"></a><!-- doxytag: member="taskscheduler.cpp::_LIT" ref="7e202c8426f294167f18f06a8f586654" args="(KCreateTransient,&quot;\nCreating a transient schedule with non-repeating task\n&quot;)" -->
+&nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KCreateTransient,&quot;\nCreating a transient schedule with non-repeating task\n&quot;)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="54d91d6bc00b60a2739efce3964e7d9f"></a><!-- doxytag: member="taskscheduler.cpp::_LIT" ref="54d91d6bc00b60a2739efce3964e7d9f" args="(KDeleteAllTasks,&quot;\nDeleting all the persistent tasks scheduled by this exe&quot;)" -->
+&nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KDeleteAllTasks,&quot;\nDeleting all the persistent tasks scheduled by this exe&quot;)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b255aef0e9da42bf0392703d6959b51f"></a><!-- doxytag: member="taskscheduler.cpp::_LIT" ref="b255aef0e9da42bf0392703d6959b51f" args="(KDeleteAllSchedules,&quot;\nDeleting all schedules created by this exe\n&quot;)" -->
+&nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KDeleteAllSchedules,&quot;\nDeleting all schedules created by this exe\n&quot;)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ffece58ddc0f31e34f5295c236e234d1"></a><!-- doxytag: member="taskscheduler.cpp::_LIT" ref="ffece58ddc0f31e34f5295c236e234d1" args="(KTask,&quot;Number of task(s) scheduled by us is(are) %d\n&quot;)" -->
+&nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTask,&quot;Number of task(s) scheduled by us is(are) %d\n&quot;)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c1b411e16d7b3e358c8e9a4f8753d700"></a><!-- doxytag: member="taskscheduler.cpp::_LIT" ref="c1b411e16d7b3e358c8e9a4f8753d700" args="(KExists,&quot;The tasks scheduled exist\n&quot;)" -->
+&nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KExists,&quot;The tasks scheduled exist\n&quot;)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="edcf6c930d0cca43c5cff33fdee518ac"></a><!-- doxytag: member="taskscheduler.cpp::_LIT" ref="edcf6c930d0cca43c5cff33fdee518ac" args="(KOtherTask,&quot;Error! Unexpected schedules not scheduled by this exe exist\n&quot;)" -->
+&nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KOtherTask,&quot;Error! Unexpected schedules not scheduled by this exe exist\n&quot;)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="taskscheduler_8cpp.html#5fb473d4ee18739183215b04dcad6e12">MainL</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">TInt&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="taskscheduler_8cpp.html#8b0fea7c5e4de0484888431020cf3ec9">E32Main</a> ()</td></tr>
+
+</table>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+
+<p>Definition in file <a class="el" href="taskscheduler_8cpp-source.html">taskscheduler.cpp</a>.</p>
+<hr><h2>Function Documentation</h2>
+<a class="anchor" name="5fb473d4ee18739183215b04dcad6e12"></a><!-- doxytag: member="taskscheduler.cpp::MainL" ref="5fb473d4ee18739183215b04dcad6e12" args="()" -->
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">void MainL           </td>
+          <td>(</td>
+          <td class="paramname">          </td>
+          <td>&nbsp;)&nbsp;</td>
+          <td width="100%"></td>
+        </tr>
+      </table>
+</div>
+<div class="memdoc">
+
+<p>
+Much simpler <a class="el" href="circularbuffer_8cpp.html#5fb473d4ee18739183215b04dcad6e12">MainL()</a>, uses the new Rendezvous() call to sync with the client<p>
+Secure variant Much simpler, uses the new Rendezvous() call to sync with the client 
+<p>Definition at line <a class="el" href="taskscheduler_8cpp-source.html#l00435">435</a> of file <a class="el" href="taskscheduler_8cpp-source.html">taskscheduler.cpp</a>.</p>
+
+</div>
+</div><p>
+<a class="anchor" name="8b0fea7c5e4de0484888431020cf3ec9"></a><!-- doxytag: member="taskscheduler.cpp::E32Main" ref="8b0fea7c5e4de0484888431020cf3ec9" args="()" -->
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">TInt E32Main           </td>
+          <td>(</td>
+          <td class="paramname">          </td>
+          <td>&nbsp;)&nbsp;</td>
+          <td width="100%"></td>
+        </tr>
+      </table>
+</div>
+<div class="memdoc">
+
+<p>
+Returns standard error code on exit<p>
+Secure variant only Process entry point. Called by client using RProcess API <dl class="return" compact><dt><b>Returns:</b></dt><dd>Standard Epoc error code on process exit<p>
+Standard Epoc error code on process exit Secure variant only Process entry point. Called by client using RProcess API</dd></dl>
+Entry point for the example<p>
+The E32main function is the main entry point for the code.<p>
+The below section is added to make the code compatible with v9.1 This is because only exe files are compatible with v9.1<p>
+Standard entry point function. 
+<p>Definition at line <a class="el" href="taskscheduler_8cpp-source.html#l00458">458</a> of file <a class="el" href="taskscheduler_8cpp-source.html">taskscheduler.cpp</a>.</p>
+
+</div>
+</div><p>
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Jan 21 10:33:02 2010 for TB10.1 Example Applications by&nbsp;
+<a href="http://www.doxygen.org/index.html">
+<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
+</body>
+</html>