Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/taskscheduler_8cpp.html
--- /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,"MyTaskName\n")" -->
+ </td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTaskName,"MyTaskName\n")</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,"Task Scheduler example")" -->
+ </td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTitle,"Task Scheduler example")</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,"\nPress any key to step through the example\n")" -->
+ </td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTextPressAKey,"\nPress any key to step through the example\n")</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,"\nPress any key to exit the application")" -->
+ </td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KExit,"\nPress any key to exit the application")</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,"\nPress any key to continue\n")" -->
+ </td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KPressAKey,"\nPress any key to continue\n")</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,"\nConnecting the client to the task scheduler server")" -->
+ </td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KConnect,"\nConnecting the client to the task scheduler server")</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,"\nRegistering the client\n")" -->
+ </td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KRegisterClient,"\nRegistering the client\n")</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,"Creating a persistent schedule\n")" -->
+ </td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KCreateSchedule,"Creating a persistent schedule\n")</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,"Creating task for the schedule\n")" -->
+ </td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KCreateTask,"Creating task for the schedule\n")</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,"Waiting for the persistent task to complete. This will take 20 seconds\n")" -->
+ </td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KPersistentWait,"Waiting for the persistent task to complete. This will take 20 seconds\n")</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,"Task complete \n")" -->
+ </td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KDone,"Task complete \n")</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,"A transient schedule")" -->
+ </td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTransientSchedule,"A transient schedule")</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,"Waiting for the transient task to complete. This will take 20 seconds\n")" -->
+ </td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTransientWait,"Waiting for the transient task to complete. This will take 20 seconds\n")</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,"\nCreating a transient schedule with non-repeating task\n")" -->
+ </td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KCreateTransient,"\nCreating a transient schedule with non-repeating task\n")</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,"\nDeleting all the persistent tasks scheduled by this exe")" -->
+ </td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KDeleteAllTasks,"\nDeleting all the persistent tasks scheduled by this exe")</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,"\nDeleting all schedules created by this exe\n")" -->
+ </td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KDeleteAllSchedules,"\nDeleting all schedules created by this exe\n")</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,"Number of task(s) scheduled by us is(are) %d\n")" -->
+ </td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTask,"Number of task(s) scheduled by us is(are) %d\n")</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,"The tasks scheduled exist\n")" -->
+ </td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KExists,"The tasks scheduled exist\n")</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,"Error! Unexpected schedules not scheduled by this exe exist\n")" -->
+ </td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KOtherTask,"Error! Unexpected schedules not scheduled by this exe exist\n")</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">void </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 </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> ) </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> ) </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
+<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>