| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> |
| <title>oscl_scheduler_ao.h Source File</title> |
| <link href="doxygen.css" rel="stylesheet" type="text/css"> |
| </head><body> |
| <!-- Generated by Doxygen 1.2.18 --> |
| <center> |
| <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="modules.html">Modules</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center> |
| <hr><h1>oscl_scheduler_ao.h</h1><a href="oscl__scheduler__ao_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 |
| 00012 <span class="preprocessor">#ifndef OSCL_SCHEDULER_AO_H_INCLUDED</span> |
| 00013 <span class="preprocessor"></span><span class="preprocessor">#define OSCL_SCHEDULER_AO_H_INCLUDED</span> |
| 00014 <span class="preprocessor"></span> |
| 00015 <span class="preprocessor">#ifndef OSCL_SCHEDULER_TYPES_H_INCLUDED</span> |
| 00016 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="oscl__scheduler__types_8h.html">oscl_scheduler_types.h</a>"</span> |
| 00017 <span class="preprocessor">#endif</span> |
| 00018 <span class="preprocessor"></span> |
| 00019 <span class="preprocessor">#ifndef OSCL_SCHEDULER_AOBASE_H_INCLUDED</span> |
| 00020 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="oscl__scheduler__aobase_8h.html">oscl_scheduler_aobase.h</a>"</span> |
| 00021 <span class="preprocessor">#endif</span> |
| 00022 <span class="preprocessor"></span> |
| 00023 <span class="preprocessor">#ifndef OSCL_MEM_H_INCLUDED</span> |
| 00024 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="oscl__mem_8h.html">oscl_mem.h</a>"</span> |
| 00025 <span class="preprocessor">#endif</span> |
| 00026 <span class="preprocessor"></span> |
| <a name="l00033"></a><a class="code" href="classOsclActiveObject.html">00033</a> <span class="keyword">class </span><a class="code" href="classOsclActiveObject.html">OsclActiveObject</a>: |
| 00034 <span class="keyword">public</span> <a class="code" href="classHeapBase.html">HeapBase</a>, |
| 00035 <span class="keyword">public</span> <a class="code" href="classPVActiveBase.html">PVActiveBase</a> |
| 00036 { |
| 00037 <span class="keyword">public</span>: |
| <a name="l00041"></a><a class="code" href="classOsclActiveObject.html#s5">00041</a> <span class="keyword">enum</span> <a class="code" href="classOsclActiveObject.html#s5">OsclActivePriority</a> |
| 00042 { |
| 00047 <a class="code" href="classOsclActiveObject.html#s5s0">EPriorityIdle</a> = -100, |
| 00051 <a class="code" href="classOsclActiveObject.html#s5s1">EPriorityLow</a> = -20, |
| 00055 <a class="code" href="classOsclActiveObject.html#s5s2">EPriorityNominal</a> = 0, |
| 00060 <a class="code" href="classOsclActiveObject.html#s5s3">EPriorityHigh</a> = 10, |
| 00064 <a class="code" href="classOsclActiveObject.html#s5s4">EPriorityHighest</a> = 20, |
| 00065 }; |
| 00066 |
| 00072 OSCL_IMPORT_REF <a class="code" href="classOsclActiveObject.html#a0">OsclActiveObject</a>(int32 aPriority, <span class="keyword">const</span> <span class="keywordtype">char</span> name[]); |
| 00073 |
| 00077 OSCL_IMPORT_REF <span class="keyword">virtual</span> <a class="code" href="classOsclActiveObject.html#a1">~OsclActiveObject</a>(); |
| 00078 |
| 00079 |
| 00088 OSCL_IMPORT_REF <span class="keywordtype">void</span> <a class="code" href="classOsclActiveObject.html#a2">SetBusy</a>(); |
| 00089 |
| 00094 OSCL_IMPORT_REF <span class="keywordtype">bool</span> <a class="code" href="classOsclActiveObject.html#a3">IsBusy</a>() <span class="keyword">const</span>; |
| 00095 |
| 00101 OSCL_IMPORT_REF <span class="keywordtype">void</span> <a class="code" href="classOsclActiveObject.html#a4">PendForExec</a>(); |
| 00102 |
| 00109 OSCL_IMPORT_REF <span class="keywordtype">void</span> <a class="code" href="classOsclActiveObject.html#a5">PendComplete</a>(int32 aStatus); |
| 00110 |
| 00114 OSCL_IMPORT_REF <span class="keywordtype">void</span> <a class="code" href="classOsclActiveObject.html#a6">AddToScheduler</a>(); |
| 00115 |
| 00122 OSCL_IMPORT_REF <span class="keywordtype">void</span> <a class="code" href="classOsclActiveObject.html#a7">RemoveFromScheduler</a>(); |
| 00123 |
| 00124 |
| 00132 OSCL_IMPORT_REF <span class="keywordtype">void</span> <a class="code" href="classOsclActiveObject.html#a8">RunIfNotReady</a>(); |
| 00133 |
| 00143 OSCL_IMPORT_REF <span class="keywordtype">void</span> <a class="code" href="classOsclActiveObject.html#a9">Cancel</a>(); |
| 00144 |
| 00145 |
| 00149 OSCL_IMPORT_REF int32 <a class="code" href="classOsclActiveObject.html#a10">Priority</a>() <span class="keyword">const</span>; |
| 00150 |
| 00154 OSCL_IMPORT_REF int32 <a class="code" href="classOsclActiveObject.html#a11">Status</a>()<span class="keyword">const</span>; |
| 00155 OSCL_IMPORT_REF <span class="keywordtype">void</span> <a class="code" href="classOsclActiveObject.html#a12">SetStatus</a>(int32); |
| 00156 OSCL_IMPORT_REF <a class="code" href="classOsclAOStatus.html">OsclAOStatus</a>& <a class="code" href="classOsclActiveObject.html#a13">StatusRef</a>(); |
| 00157 |
| 00158 <span class="keyword">protected</span>: |
| 00167 OSCL_IMPORT_REF <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classOsclActiveObject.html#b0">DoCancel</a>(); |
| 00168 |
| 00179 OSCL_IMPORT_REF <span class="keyword">virtual</span> int32 <a class="code" href="classOsclActiveObject.html#b1">RunError</a>(int32 aError); |
| 00180 |
| 00181 }; |
| 00182 |
| <a name="l00188"></a><a class="code" href="classOsclTimerObject.html">00188</a> <span class="keyword">class </span><a class="code" href="classOsclTimerObject.html">OsclTimerObject</a>: <span class="keyword">public</span> <a class="code" href="classHeapBase.html">HeapBase</a> |
| 00189 , <span class="keyword">public</span> <a class="code" href="classPVActiveBase.html">PVActiveBase</a> |
| 00190 { |
| 00191 <span class="keyword">public</span>: |
| 00197 OSCL_IMPORT_REF <a class="code" href="classOsclTimerObject.html#a0">OsclTimerObject</a>(int32 aPriority, <span class="keyword">const</span> <span class="keywordtype">char</span> name[]); |
| 00198 |
| 00202 OSCL_IMPORT_REF <span class="keyword">virtual</span> <a class="code" href="classOsclTimerObject.html#a1">~OsclTimerObject</a>(); |
| 00203 |
| 00207 OSCL_IMPORT_REF <span class="keywordtype">void</span> <a class="code" href="classOsclTimerObject.html#a2">AddToScheduler</a>(); |
| 00208 |
| 00209 |
| 00216 OSCL_IMPORT_REF <span class="keywordtype">void</span> <a class="code" href="classOsclTimerObject.html#a3">RemoveFromScheduler</a>(); |
| 00217 |
| 00218 |
| 00231 OSCL_IMPORT_REF <span class="keywordtype">void</span> <a class="code" href="classOsclTimerObject.html#a4">After</a>(int32 aDelayMicrosec); |
| 00232 |
| 00241 OSCL_IMPORT_REF <span class="keywordtype">void</span> <a class="code" href="classOsclTimerObject.html#a5">RunIfNotReady</a>(uint32 aDelayMicrosec = 0); |
| 00242 |
| 00250 OSCL_IMPORT_REF <span class="keywordtype">void</span> <a class="code" href="classOsclTimerObject.html#a6">SetBusy</a>(); |
| 00251 |
| 00256 OSCL_IMPORT_REF <span class="keywordtype">bool</span> <a class="code" href="classOsclTimerObject.html#a7">IsBusy</a>() <span class="keyword">const</span>; |
| 00257 |
| 00267 OSCL_IMPORT_REF <span class="keywordtype">void</span> <a class="code" href="classOsclTimerObject.html#a8">Cancel</a>(); |
| 00268 |
| 00272 OSCL_IMPORT_REF int32 <a class="code" href="classOsclTimerObject.html#a9">Priority</a>() <span class="keyword">const</span>; |
| 00276 OSCL_IMPORT_REF int32 <a class="code" href="classOsclTimerObject.html#a10">Status</a>()<span class="keyword">const</span>; |
| 00277 OSCL_IMPORT_REF <span class="keywordtype">void</span> <a class="code" href="classOsclTimerObject.html#a11">SetStatus</a>(int32); |
| 00278 OSCL_IMPORT_REF <a class="code" href="classOsclAOStatus.html">OsclAOStatus</a>& <a class="code" href="classOsclTimerObject.html#a12">StatusRef</a>(); |
| 00279 |
| 00280 <span class="keyword">protected</span>: |
| 00291 OSCL_IMPORT_REF <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classOsclTimerObject.html#b0">DoCancel</a>(); |
| 00292 |
| 00303 OSCL_IMPORT_REF <span class="keyword">virtual</span> int32 <a class="code" href="classOsclTimerObject.html#b1">RunError</a>(int32 aError); |
| 00304 }; |
| 00305 |
| 00306 |
| 00307 <span class="preprocessor">#endif</span> |
| 00308 <span class="preprocessor"></span> |
| </pre></div><hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small> |
| <address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small> |
| </small></address> |
| </body> |
| </html> |