• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3<title>oscl_scheduler_ao.h Source File</title>
4<link href="doxygen.css" rel="stylesheet" type="text/css">
5</head><body>
6<!-- Generated by Doxygen 1.2.18 -->
7<center>
8<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="modules.html">Modules</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Data Structures</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Data Fields</a> &nbsp; <a class="qindex" href="globals.html">Globals</a> &nbsp; </center>
9<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
1000012 <span class="preprocessor">#ifndef OSCL_SCHEDULER_AO_H_INCLUDED</span>
1100013 <span class="preprocessor"></span><span class="preprocessor">#define OSCL_SCHEDULER_AO_H_INCLUDED</span>
1200014 <span class="preprocessor"></span>
1300015 <span class="preprocessor">#ifndef OSCL_SCHEDULER_TYPES_H_INCLUDED</span>
1400016 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="oscl__scheduler__types_8h.html">oscl_scheduler_types.h</a>"</span>
1500017 <span class="preprocessor">#endif</span>
1600018 <span class="preprocessor"></span>
1700019 <span class="preprocessor">#ifndef OSCL_SCHEDULER_AOBASE_H_INCLUDED</span>
1800020 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="oscl__scheduler__aobase_8h.html">oscl_scheduler_aobase.h</a>"</span>
1900021 <span class="preprocessor">#endif</span>
2000022 <span class="preprocessor"></span>
2100023 <span class="preprocessor">#ifndef OSCL_MEM_H_INCLUDED</span>
2200024 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="oscl__mem_8h.html">oscl_mem.h</a>"</span>
2300025 <span class="preprocessor">#endif</span>
2400026 <span class="preprocessor"></span>
25<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>:
2600034             <span class="keyword">public</span> <a class="code" href="classHeapBase.html">HeapBase</a>,
2700035             <span class="keyword">public</span> <a class="code" href="classPVActiveBase.html">PVActiveBase</a>
2800036 {
2900037     <span class="keyword">public</span>:
30<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>
3100042         {
3200047             <a class="code" href="classOsclActiveObject.html#s5s0">EPriorityIdle</a> = -100,
3300051             <a class="code" href="classOsclActiveObject.html#s5s1">EPriorityLow</a> = -20,
3400055             <a class="code" href="classOsclActiveObject.html#s5s2">EPriorityNominal</a> = 0,
3500060             <a class="code" href="classOsclActiveObject.html#s5s3">EPriorityHigh</a> = 10,
3600064             <a class="code" href="classOsclActiveObject.html#s5s4">EPriorityHighest</a> = 20,
3700065         };
3800066
3900072         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[]);
4000073
4100077         OSCL_IMPORT_REF <span class="keyword">virtual</span> <a class="code" href="classOsclActiveObject.html#a1">~OsclActiveObject</a>();
4200078
4300079
4400088         OSCL_IMPORT_REF <span class="keywordtype">void</span> <a class="code" href="classOsclActiveObject.html#a2">SetBusy</a>();
4500089
4600094         OSCL_IMPORT_REF <span class="keywordtype">bool</span> <a class="code" href="classOsclActiveObject.html#a3">IsBusy</a>() <span class="keyword">const</span>;
4700095
4800101         OSCL_IMPORT_REF <span class="keywordtype">void</span> <a class="code" href="classOsclActiveObject.html#a4">PendForExec</a>();
4900102
5000109         OSCL_IMPORT_REF <span class="keywordtype">void</span> <a class="code" href="classOsclActiveObject.html#a5">PendComplete</a>(int32 aStatus);
5100110
5200114         OSCL_IMPORT_REF <span class="keywordtype">void</span> <a class="code" href="classOsclActiveObject.html#a6">AddToScheduler</a>();
5300115
5400122         OSCL_IMPORT_REF <span class="keywordtype">void</span> <a class="code" href="classOsclActiveObject.html#a7">RemoveFromScheduler</a>();
5500123
5600124
5700132         OSCL_IMPORT_REF <span class="keywordtype">void</span> <a class="code" href="classOsclActiveObject.html#a8">RunIfNotReady</a>();
5800133
5900143         OSCL_IMPORT_REF <span class="keywordtype">void</span> <a class="code" href="classOsclActiveObject.html#a9">Cancel</a>();
6000144
6100145
6200149         OSCL_IMPORT_REF int32 <a class="code" href="classOsclActiveObject.html#a10">Priority</a>() <span class="keyword">const</span>;
6300150
6400154         OSCL_IMPORT_REF int32 <a class="code" href="classOsclActiveObject.html#a11">Status</a>()<span class="keyword">const</span>;
6500155         OSCL_IMPORT_REF <span class="keywordtype">void</span> <a class="code" href="classOsclActiveObject.html#a12">SetStatus</a>(int32);
6600156         OSCL_IMPORT_REF <a class="code" href="classOsclAOStatus.html">OsclAOStatus</a>&amp; <a class="code" href="classOsclActiveObject.html#a13">StatusRef</a>();
6700157
6800158     <span class="keyword">protected</span>:
6900167         OSCL_IMPORT_REF <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classOsclActiveObject.html#b0">DoCancel</a>();
7000168
7100179         OSCL_IMPORT_REF <span class="keyword">virtual</span> int32 <a class="code" href="classOsclActiveObject.html#b1">RunError</a>(int32 aError);
7200180
7300181 };
7400182
75<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>
7600189             , <span class="keyword">public</span> <a class="code" href="classPVActiveBase.html">PVActiveBase</a>
7700190 {
7800191     <span class="keyword">public</span>:
7900197         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[]);
8000198
8100202         OSCL_IMPORT_REF <span class="keyword">virtual</span> <a class="code" href="classOsclTimerObject.html#a1">~OsclTimerObject</a>();
8200203
8300207         OSCL_IMPORT_REF <span class="keywordtype">void</span> <a class="code" href="classOsclTimerObject.html#a2">AddToScheduler</a>();
8400208
8500209
8600216         OSCL_IMPORT_REF <span class="keywordtype">void</span> <a class="code" href="classOsclTimerObject.html#a3">RemoveFromScheduler</a>();
8700217
8800218
8900231         OSCL_IMPORT_REF <span class="keywordtype">void</span> <a class="code" href="classOsclTimerObject.html#a4">After</a>(int32 aDelayMicrosec);
9000232
9100241         OSCL_IMPORT_REF <span class="keywordtype">void</span> <a class="code" href="classOsclTimerObject.html#a5">RunIfNotReady</a>(uint32 aDelayMicrosec = 0);
9200242
9300250         OSCL_IMPORT_REF <span class="keywordtype">void</span> <a class="code" href="classOsclTimerObject.html#a6">SetBusy</a>();
9400251
9500256         OSCL_IMPORT_REF <span class="keywordtype">bool</span> <a class="code" href="classOsclTimerObject.html#a7">IsBusy</a>() <span class="keyword">const</span>;
9600257
9700267         OSCL_IMPORT_REF <span class="keywordtype">void</span> <a class="code" href="classOsclTimerObject.html#a8">Cancel</a>();
9800268
9900272         OSCL_IMPORT_REF int32 <a class="code" href="classOsclTimerObject.html#a9">Priority</a>() <span class="keyword">const</span>;
10000276         OSCL_IMPORT_REF int32 <a class="code" href="classOsclTimerObject.html#a10">Status</a>()<span class="keyword">const</span>;
10100277         OSCL_IMPORT_REF <span class="keywordtype">void</span> <a class="code" href="classOsclTimerObject.html#a11">SetStatus</a>(int32);
10200278         OSCL_IMPORT_REF <a class="code" href="classOsclAOStatus.html">OsclAOStatus</a>&amp; <a class="code" href="classOsclTimerObject.html#a12">StatusRef</a>();
10300279
10400280     <span class="keyword">protected</span>:
10500291         OSCL_IMPORT_REF <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classOsclTimerObject.html#b0">DoCancel</a>();
10600292
10700303         OSCL_IMPORT_REF <span class="keyword">virtual</span> int32 <a class="code" href="classOsclTimerObject.html#b1">RunError</a>(int32 aError);
10800304 };
10900305
11000306
11100307 <span class="preprocessor">#endif</span>
11200308 <span class="preprocessor"></span>
113</pre></div><hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small>
114<address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small>
115</small></address>
116</body>
117</html>
118