blob: bd008ac5b5c39509e5d65b4c1ce396302fdd5558 [file] [log] [blame]
<!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>pv_engine_types.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> &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>
<hr><h1>pv_engine_types.h</h1><a href="pv__engine__types_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="preprocessor">#ifndef PV_ENGINE_TYPES_H_INCLUDED</span>
00002 <span class="preprocessor"></span><span class="preprocessor">#define PV_ENGINE_TYPES_H_INCLUDED</span>
00003 <span class="preprocessor"></span>
00004 <span class="preprocessor">#ifndef OSCL_BASE_H_INCLUDED</span>
00005 <span class="preprocessor"></span><span class="preprocessor">#include "oscl_base.h"</span>
00006 <span class="preprocessor">#endif</span>
00007 <span class="preprocessor"></span><span class="preprocessor">#ifndef OSCL_STRING_H_INCLUDED</span>
00008 <span class="preprocessor"></span><span class="preprocessor">#include "oscl_string.h"</span>
00009 <span class="preprocessor">#endif</span>
00010 <span class="preprocessor"></span><span class="preprocessor">#ifndef OSCL_STRING_CONTAINERS_H_INCLUDED</span>
00011 <span class="preprocessor"></span><span class="preprocessor">#include "oscl_string_containers.h"</span>
00012 <span class="preprocessor">#endif</span>
00013 <span class="preprocessor"></span><span class="preprocessor">#ifndef OSCL_MEM_H_INCLUDED</span>
00014 <span class="preprocessor"></span><span class="preprocessor">#include "oscl_mem.h"</span>
00015 <span class="preprocessor">#endif</span>
00016 <span class="preprocessor"></span><span class="preprocessor">#ifndef PVMF_FORMAT_TYPE_H_INCLUDED</span>
00017 <span class="preprocessor"></span><span class="preprocessor">#include "pvmf_format_type.h"</span>
00018 <span class="preprocessor">#endif</span>
00019 <span class="preprocessor"></span><span class="preprocessor">#ifndef PV_UUID_H_INCLUDED</span>
00020 <span class="preprocessor"></span><span class="preprocessor">#include "pv_uuid.h"</span>
00021 <span class="preprocessor">#endif</span>
00022 <span class="preprocessor"></span><span class="preprocessor">#ifndef PV_INTERFACE_H_INCLUDED</span>
00023 <span class="preprocessor"></span><span class="preprocessor">#include "pv_interface.h"</span>
00024 <span class="preprocessor">#endif</span>
00025 <span class="preprocessor"></span><span class="preprocessor">#ifndef OSCL_VECTOR_H_INCLUDED</span>
00026 <span class="preprocessor"></span><span class="preprocessor">#include "oscl_vector.h"</span>
00027 <span class="preprocessor">#endif</span>
00028 <span class="preprocessor"></span>
00029 <span class="comment">// DATA TYPES</span>
<a name="l00030"></a><a class="code" href="pv__engine__types_8h.html#a0">00030</a> <span class="keyword">typedef</span> int32 <a class="code" href="pv__engine__types_8h.html#a0">PVCommandId</a>;
<a name="l00031"></a><a class="code" href="pv__engine__types_8h.html#a1">00031</a> <span class="keyword">typedef</span> int32 <a class="code" href="pv__engine__types_8h.html#a1">PVEventType</a>;
<a name="l00032"></a><a class="code" href="pv__engine__types_8h.html#a2">00032</a> <span class="keyword">typedef</span> OsclAny* <a class="code" href="pv__engine__types_8h.html#a2">PVExclusivePtr</a>;
<a name="l00033"></a><a class="code" href="pv__engine__types_8h.html#a3">00033</a> <span class="keyword">typedef</span> int32 <a class="code" href="pv__engine__types_8h.html#a3">PVResponseType</a>;
<a name="l00034"></a><a class="code" href="pv__engine__types_8h.html#a4">00034</a> <span class="keyword">typedef</span> int32 <a class="code" href="pv__engine__types_8h.html#a4">PVLogLevelInfo</a>;
<a name="l00035"></a><a class="code" href="pv__engine__types_8h.html#a5">00035</a> <span class="keyword">typedef</span> Oscl_Vector&lt;OSCL_HeapString&lt;OsclMemAllocator&gt;, OsclMemAllocator&gt; <a class="code" href="pv__engine__types_8h.html#a5">PVPMetadataList</a>;
00036 <span class="comment">/* Temporary definitions */</span>
<a name="l00037"></a><a class="code" href="pv__engine__types_8h.html#a6">00037</a> <span class="keyword">typedef</span> int32 <a class="code" href="pv__engine__types_8h.html#a6">PVSDKModuleInfo</a>;
00038 <span class="comment">/* END of temp defs */</span>
00039
<a name="l00040"></a><a class="code" href="structPVSDKInfo.html">00040</a> <span class="keyword">struct </span><a class="code" href="structPVSDKInfo.html">PVSDKInfo</a>
00041 {
<a name="l00042"></a><a class="code" href="structPVSDKInfo.html#a0">00042</a> <a class="code" href="structPVSDKInfo.html#a0">PVSDKInfo</a>()
00043 {
00044 <a class="code" href="structPVSDKInfo.html#m1">iDate</a> = 0x00000000;
00045 }
00046
<a name="l00047"></a><a class="code" href="structPVSDKInfo.html#a1">00047</a> <a class="code" href="structPVSDKInfo.html">PVSDKInfo</a>&amp; <a class="code" href="structPVSDKInfo.html#a1">operator=</a>(<span class="keyword">const</span> <a class="code" href="structPVSDKInfo.html">PVSDKInfo</a>&amp; aSDKInfo)
00048 {
00049 <a class="code" href="structPVSDKInfo.html#m0">iLabel</a> = aSDKInfo.<a class="code" href="structPVSDKInfo.html#m0">iLabel</a>;
00050 <a class="code" href="structPVSDKInfo.html#m1">iDate</a> = aSDKInfo.<a class="code" href="structPVSDKInfo.html#m1">iDate</a>;
00051 <span class="keywordflow">return</span> *<span class="keyword">this</span>;
00052 }
00053
<a name="l00054"></a><a class="code" href="structPVSDKInfo.html#m0">00054</a> OSCL_StackString&lt;80&gt; <a class="code" href="structPVSDKInfo.html#m0">iLabel</a>;
<a name="l00055"></a><a class="code" href="structPVSDKInfo.html#m1">00055</a> uint32 <a class="code" href="structPVSDKInfo.html#m1">iDate</a>; <span class="comment">// 0xyyyymmdd</span>
00056 };
00057
00058
<a name="l00065"></a><a class="code" href="classPVEngineCommand.html">00065</a> <span class="keyword">class </span><a class="code" href="classPVEngineCommand.html">PVEngineCommand</a>
00066 {
00067 <span class="keyword">public</span>:
<a name="l00077"></a><a class="code" href="classPVEngineCommand.html#a0">00077</a> <a class="code" href="classPVEngineCommand.html#a0">PVEngineCommand</a>(int32 aCmdType, <a class="code" href="pv__engine__types_8h.html#a0">PVCommandId</a> aCmdId, OsclAny* aContextData = NULL, OsclAny* aParam1 = NULL, OsclAny* aParam2 = NULL, OsclAny* aParam3 = NULL) :
00078 <a class="code" href="classPVEngineCommand.html#m0">iCmdType</a>(aCmdType), <a class="code" href="classPVEngineCommand.html#m1">iCmdId</a>(aCmdId), <a class="code" href="classPVEngineCommand.html#m2">iContextData</a>(aContextData), <a class="code" href="classPVEngineCommand.html#m3">iParam1</a>(aParam1), <a class="code" href="classPVEngineCommand.html#m4">iParam2</a>(aParam2), <a class="code" href="classPVEngineCommand.html#m5">iParam3</a>(aParam3) {}
00079
<a name="l00087"></a><a class="code" href="classPVEngineCommand.html#a1">00087</a> <a class="code" href="classPVEngineCommand.html#a0">PVEngineCommand</a>(<span class="keyword">const</span> <a class="code" href="classPVEngineCommand.html">PVEngineCommand</a>&amp; aCmd)
00088 {
00089 <a class="code" href="classPVEngineCommand.html#m0">iCmdType</a> = aCmd.<a class="code" href="classPVEngineCommand.html#m0">iCmdType</a>;
00090 <a class="code" href="classPVEngineCommand.html#m1">iCmdId</a> = aCmd.<a class="code" href="classPVEngineCommand.html#m1">iCmdId</a>;
00091 <a class="code" href="classPVEngineCommand.html#m2">iContextData</a> = aCmd.<a class="code" href="classPVEngineCommand.html#m2">iContextData</a>;
00092 <a class="code" href="classPVEngineCommand.html#m3">iParam1</a> = aCmd.<a class="code" href="classPVEngineCommand.html#m3">iParam1</a>;
00093 <a class="code" href="classPVEngineCommand.html#m4">iParam2</a> = aCmd.<a class="code" href="classPVEngineCommand.html#m4">iParam2</a>;
00094 <a class="code" href="classPVEngineCommand.html#m5">iParam3</a> = aCmd.<a class="code" href="classPVEngineCommand.html#m5">iParam3</a>;
00095 <a class="code" href="classPVEngineCommand.html#m6">iMimeType</a> = aCmd.<a class="code" href="classPVEngineCommand.html#m6">iMimeType</a>;
00096 <a class="code" href="classPVEngineCommand.html#m7">iUuid</a> = aCmd.<a class="code" href="classPVEngineCommand.html#m7">iUuid</a>;
00097 }
00098
<a name="l00104"></a><a class="code" href="classPVEngineCommand.html#a2">00104</a> int32 <a class="code" href="classPVEngineCommand.html#a2">GetCmdType</a>()<span class="keyword">const</span>
00105 {
00106 <span class="keywordflow">return</span> <a class="code" href="classPVEngineCommand.html#m0">iCmdType</a>;
00107 }
00108
<a name="l00114"></a><a class="code" href="classPVEngineCommand.html#a3">00114</a> <a class="code" href="pv__engine__types_8h.html#a0">PVCommandId</a> <a class="code" href="classPVEngineCommand.html#a3">GetCmdId</a>()<span class="keyword">const</span>
00115 {
00116 <span class="keywordflow">return</span> <a class="code" href="classPVEngineCommand.html#m1">iCmdId</a>;
00117 }
00118
<a name="l00124"></a><a class="code" href="classPVEngineCommand.html#a4">00124</a> OsclAny* <a class="code" href="classPVEngineCommand.html#a4">GetContext</a>()<span class="keyword">const</span>
00125 {
00126 <span class="keywordflow">return</span> <a class="code" href="classPVEngineCommand.html#m2">iContextData</a>;
00127 }
00128
<a name="l00134"></a><a class="code" href="classPVEngineCommand.html#a5">00134</a> OsclAny* <a class="code" href="classPVEngineCommand.html#a5">GetParam1</a>()<span class="keyword">const</span>
00135 {
00136 <span class="keywordflow">return</span> <a class="code" href="classPVEngineCommand.html#m3">iParam1</a>;
00137 }
00138
<a name="l00144"></a><a class="code" href="classPVEngineCommand.html#a6">00144</a> OsclAny* <a class="code" href="classPVEngineCommand.html#a6">GetParam2</a>()<span class="keyword">const</span>
00145 {
00146 <span class="keywordflow">return</span> <a class="code" href="classPVEngineCommand.html#m4">iParam2</a>;
00147 }
00148
<a name="l00154"></a><a class="code" href="classPVEngineCommand.html#a7">00154</a> OsclAny* <a class="code" href="classPVEngineCommand.html#a7">GetParam3</a>()<span class="keyword">const</span>
00155 {
00156 <span class="keywordflow">return</span> <a class="code" href="classPVEngineCommand.html#m5">iParam3</a>;
00157 }
00158
<a name="l00164"></a><a class="code" href="classPVEngineCommand.html#a8">00164</a> <span class="keyword">const</span> PvmfMimeString&amp; <a class="code" href="classPVEngineCommand.html#a8">GetMimeType</a>()<span class="keyword">const</span>
00165 {
00166 <span class="keywordflow">return</span> <a class="code" href="classPVEngineCommand.html#m6">iMimeType</a>;
00167 }
00168
<a name="l00174"></a><a class="code" href="classPVEngineCommand.html#a9">00174</a> PVUuid <a class="code" href="classPVEngineCommand.html#a9">GetUuid</a>()<span class="keyword">const</span>
00175 {
00176 <span class="keywordflow">return</span> <a class="code" href="classPVEngineCommand.html#m7">iUuid</a>;
00177 }
00178
<a name="l00182"></a><a class="code" href="classPVEngineCommand.html#a10">00182</a> <span class="keywordtype">void</span> <a class="code" href="classPVEngineCommand.html#a10">SetMimeType</a>(<span class="keyword">const</span> PvmfMimeString&amp; aMimeType)
00183 {
00184 <a class="code" href="classPVEngineCommand.html#m6">iMimeType</a> = aMimeType;
00185 }
00186
<a name="l00190"></a><a class="code" href="classPVEngineCommand.html#a11">00190</a> <span class="keywordtype">void</span> <a class="code" href="classPVEngineCommand.html#a11">SetUuid</a>(<span class="keyword">const</span> PVUuid&amp; aUuid)
00191 {
00192 <a class="code" href="classPVEngineCommand.html#m7">iUuid</a> = aUuid;
00193 }
00194
<a name="l00195"></a><a class="code" href="classPVEngineCommand.html#m0">00195</a> int32 <a class="code" href="classPVEngineCommand.html#m0">iCmdType</a>;
<a name="l00196"></a><a class="code" href="classPVEngineCommand.html#m1">00196</a> <a class="code" href="pv__engine__types_8h.html#a0">PVCommandId</a> <a class="code" href="classPVEngineCommand.html#m1">iCmdId</a>;
<a name="l00197"></a><a class="code" href="classPVEngineCommand.html#m2">00197</a> OsclAny* <a class="code" href="classPVEngineCommand.html#m2">iContextData</a>;
<a name="l00198"></a><a class="code" href="classPVEngineCommand.html#m3">00198</a> OsclAny* <a class="code" href="classPVEngineCommand.html#m3">iParam1</a>;
<a name="l00199"></a><a class="code" href="classPVEngineCommand.html#m4">00199</a> OsclAny* <a class="code" href="classPVEngineCommand.html#m4">iParam2</a>;
<a name="l00200"></a><a class="code" href="classPVEngineCommand.html#m5">00200</a> OsclAny* <a class="code" href="classPVEngineCommand.html#m5">iParam3</a>;
<a name="l00201"></a><a class="code" href="classPVEngineCommand.html#m6">00201</a> OSCL_HeapString&lt;OsclMemAllocator&gt; <a class="code" href="classPVEngineCommand.html#m6">iMimeType</a>;
<a name="l00202"></a><a class="code" href="classPVEngineCommand.html#m7">00202</a> PVUuid <a class="code" href="classPVEngineCommand.html#m7">iUuid</a>;
00203 };
00204
00205
<a name="l00212"></a><a class="code" href="classPVEngineAsyncEvent.html">00212</a> <span class="keyword">class </span><a class="code" href="classPVEngineAsyncEvent.html">PVEngineAsyncEvent</a>
00213 {
00214 <span class="keyword">public</span>:
<a name="l00224"></a><a class="code" href="classPVEngineAsyncEvent.html#a0">00224</a> <a class="code" href="classPVEngineAsyncEvent.html#a0">PVEngineAsyncEvent</a>(int32 aAsyncEventType) :
00225 <a class="code" href="classPVEngineAsyncEvent.html#m0">iAsyncEventType</a>(aAsyncEventType) {}
00226
<a name="l00234"></a><a class="code" href="classPVEngineAsyncEvent.html#a1">00234</a> <a class="code" href="classPVEngineAsyncEvent.html#a0">PVEngineAsyncEvent</a>(<span class="keyword">const</span> <a class="code" href="classPVEngineAsyncEvent.html">PVEngineAsyncEvent</a>&amp; aAsyncEvent)
00235 {
00236 <a class="code" href="classPVEngineAsyncEvent.html#m0">iAsyncEventType</a> = aAsyncEvent.<a class="code" href="classPVEngineAsyncEvent.html#m0">iAsyncEventType</a>;
00237 }
00238
<a name="l00244"></a><a class="code" href="classPVEngineAsyncEvent.html#a2">00244</a> int32 <a class="code" href="classPVEngineAsyncEvent.html#a2">GetAsyncEventType</a>()<span class="keyword">const</span>
00245 {
00246 <span class="keywordflow">return</span> <a class="code" href="classPVEngineAsyncEvent.html#m0">iAsyncEventType</a>;
00247 }
00248
<a name="l00249"></a><a class="code" href="classPVEngineAsyncEvent.html#m0">00249</a> int32 <a class="code" href="classPVEngineAsyncEvent.html#m0">iAsyncEventType</a>;
00250 };
00251
00252 <span class="preprocessor">#endif</span>
00253 <span class="preprocessor"></span>
</pre></div><hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>PV Author Engine</small>
<address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small>
</small></address>
</body>
</html>