blob: 910f7907c345724e46f89da4601f36149d3fb110 [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_2way_interface.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_2way_interface.h</h1><a href="pv__2way__interface_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*</span>
00002 <span class="comment">* ==============================================================================</span>
00003 <span class="comment">* Name : pv_2way_interface.h</span>
00004 <span class="comment">* Part of :</span>
00005 <span class="comment">* Interface :</span>
00006 <span class="comment">* Description : Interface class and supporting definitions for the PV2Way SDK</span>
00007 <span class="comment">* Version : (see RELEASE field in copyright header above)</span>
00008 <span class="comment">*</span>
00009 <span class="comment">* ==============================================================================</span>
00010 <span class="comment">*/</span>
00011
00012 <span class="preprocessor">#ifndef PV_2WAY_INTERFACE_H_INCLUDED</span>
00013 <span class="preprocessor"></span><span class="preprocessor">#define PV_2WAY_INTERFACE_H_INCLUDED</span>
00014 <span class="preprocessor"></span>
00015
00016 <span class="comment">// INCLUDES</span>
00017 <span class="preprocessor">#ifndef PV_COMMON_TYPES_H_INCLUDED</span>
00018 <span class="preprocessor"></span><span class="preprocessor">#include "pv_common_types.h"</span>
00019 <span class="preprocessor">#endif</span>
00020 <span class="preprocessor"></span>
00021 <span class="preprocessor">#ifndef OSCL_VECTOR_H_INCLUDED</span>
00022 <span class="preprocessor"></span><span class="preprocessor">#include "oscl_vector.h"</span>
00023 <span class="preprocessor">#endif</span>
00024 <span class="preprocessor"></span>
00025 <span class="preprocessor">#ifndef PVT_COMMON_H_INCLUDED</span>
00026 <span class="preprocessor"></span><span class="preprocessor">#include "pvt_common.h"</span>
00027 <span class="preprocessor">#endif</span>
00028 <span class="preprocessor"></span>
00029 <span class="preprocessor">#ifndef PVMF_NODE_INTERFACE_H_INCLUDED</span>
00030 <span class="preprocessor"></span><span class="preprocessor">#include "pvmf_node_interface.h"</span>
00031 <span class="preprocessor">#endif</span>
00032 <span class="preprocessor"></span>
00033 <span class="preprocessor">#ifndef PVLOGGER_ACCESSORIES_H_INCLUDED</span>
00034 <span class="preprocessor"></span><span class="preprocessor">#include "pvlogger_accessories.h"</span>
00035 <span class="preprocessor">#endif</span>
00036 <span class="preprocessor"></span>
00037 <span class="preprocessor">#ifndef PV_ENGINE_TYPES_H_INCLUDED</span>
00038 <span class="preprocessor"></span><span class="preprocessor">#include "pv_engine_types.h"</span>
00039 <span class="preprocessor">#endif</span>
00040 <span class="preprocessor"></span>
00041 <span class="preprocessor">#ifndef PVT_2WAY_BASIC_TYPES_H_INCLUDED</span>
00042 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="pv__2way__basic__types_8h.html">pv_2way_basic_types.h</a>"</span>
00043 <span class="preprocessor">#endif</span>
00044 <span class="preprocessor"></span>
00045 <span class="preprocessor">#ifndef PV_2WAY_H324M_TYPES_H_INCLUDED</span>
00046 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="pv__2way__h324m__types_8h.html">pv_2way_h324m_types.h</a>"</span>
00047 <span class="preprocessor">#endif</span>
00048 <span class="preprocessor"></span>
00049
00050 <span class="comment">// CONSTANTS</span>
00051
00052 <span class="comment">// DATA TYPES</span>
00053
00054 <span class="comment">// CLASS DECLARATION</span>
00055
<a name="l00066"></a><a class="code" href="classCPV2WayInterface.html">00066</a> <span class="keyword">class </span><a class="code" href="classCPV2WayInterface.html">CPV2WayInterface</a>
00067 {
00068 <span class="keyword">public</span>:
<a name="l00073"></a><a class="code" href="classCPV2WayInterface.html#a0">00073</a> <span class="keyword">virtual</span> <a class="code" href="classCPV2WayInterface.html#a0">~CPV2WayInterface</a>() {};
00074
00086 OSCL_IMPORT_REF <span class="keyword">virtual</span> PVCommandId <a class="code" href="classCPV2WayInterface.html#a1">GetSDKInfo</a>(PVSDKInfo &amp;aSDKInfo,
00087 OsclAny* aContextData = NULL) = 0;
00088
00104 OSCL_IMPORT_REF <span class="keyword">virtual</span> PVCommandId <a class="code" href="classCPV2WayInterface.html#a2">GetSDKModuleInfo</a>(PVSDKModuleInfo &amp;aSDKModuleInfo,
00105 OsclAny* aContextData = NULL) = 0;
00106
00107
00131 OSCL_IMPORT_REF <span class="keyword">virtual</span> PVCommandId <a class="code" href="classCPV2WayInterface.html#a3">Init</a>(<a class="code" href="classPV2WayInitInfo.html">PV2WayInitInfo</a>&amp; aInitInfo,
00132 OsclAny* aContextData = NULL) = 0;
00133
00153 OSCL_IMPORT_REF <span class="keyword">virtual</span> PVCommandId <a class="code" href="classCPV2WayInterface.html#a4">Reset</a>(OsclAny* aContextData = NULL) = 0;
00154
00176 OSCL_IMPORT_REF <span class="keyword">virtual</span> PVCommandId <a class="code" href="classCPV2WayInterface.html#a5">AddDataSource</a>(<a class="code" href="pv__2way__basic__types_8h.html#a8">PVTrackId</a> aTrackId,
00177 PVMFNodeInterface&amp; aDataSource,
00178 OsclAny* aContextData = NULL) = 0;
00179
00189 OSCL_IMPORT_REF <span class="keyword">virtual</span> PVCommandId <a class="code" href="classCPV2WayInterface.html#a6">RemoveDataSource</a>(PVMFNodeInterface&amp; aDataSource,
00190 OsclAny* aContextData = NULL) = 0;
00191
00213 OSCL_IMPORT_REF <span class="keyword">virtual</span> PVCommandId <a class="code" href="classCPV2WayInterface.html#a7">AddDataSink</a>(<a class="code" href="pv__2way__basic__types_8h.html#a8">PVTrackId</a> aTrackId,
00214 PVMFNodeInterface&amp; aDataSink,
00215 OsclAny* aContextData = NULL) = 0;
00216
00226 OSCL_IMPORT_REF <span class="keyword">virtual</span> PVCommandId <a class="code" href="classCPV2WayInterface.html#a8">RemoveDataSink</a>(PVMFNodeInterface&amp; aDataSink,
00227 OsclAny* aContextData = NULL) = 0;
00228
00244 OSCL_IMPORT_REF <span class="keyword">virtual</span> PVCommandId <a class="code" href="classCPV2WayInterface.html#a9">Connect</a>(<span class="keyword">const</span> <a class="code" href="classPV2WayConnectOptions.html">PV2WayConnectOptions</a>&amp; aOptions,
00245 PVMFNodeInterface* aCommServer = NULL,
00246 OsclAny* aContextData = NULL) = 0;
00247
00269 OSCL_IMPORT_REF <span class="keyword">virtual</span> PVCommandId <a class="code" href="classCPV2WayInterface.html#a10">Disconnect</a>(OsclAny* aContextData = NULL) = 0;
00270
00282 OSCL_IMPORT_REF <span class="keyword">virtual</span> PVCommandId <a class="code" href="classCPV2WayInterface.html#a11">GetState</a>(<a class="code" href="pv__2way__basic__types_8h.html#a48">PV2WayState</a>&amp; aState,
00283 OsclAny* aContextData = NULL) = 0;
00284
00297 OSCL_IMPORT_REF <span class="keyword">virtual</span> PVCommandId <a class="code" href="classCPV2WayInterface.html#a12">Pause</a>(<a class="code" href="pv__2way__basic__types_8h.html#a6">PV2WayDirection</a> aDirection,
00298 <a class="code" href="pv__2way__basic__types_8h.html#a8">PVTrackId</a> aTrackId,
00299 OsclAny* aContextData = NULL) = 0;
00300
00314 OSCL_IMPORT_REF <span class="keyword">virtual</span> PVCommandId <a class="code" href="classCPV2WayInterface.html#a13">Resume</a>(<a class="code" href="pv__2way__basic__types_8h.html#a6">PV2WayDirection</a> aDirection,
00315 <a class="code" href="pv__2way__basic__types_8h.html#a8">PVTrackId</a> aTrackId,
00316 OsclAny* aContextData = NULL) = 0;
00317
00318
00338 OSCL_IMPORT_REF <span class="keyword">virtual</span> PVCommandId <a class="code" href="classCPV2WayInterface.html#a14">SetLogAppender</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* aTag,
00339 OsclSharedPtr&lt;PVLoggerAppender&gt;&amp; aAppender,
00340 OsclAny* aContextData = NULL) = 0;
00341
00342
00356 OSCL_IMPORT_REF <span class="keyword">virtual</span> PVCommandId <a class="code" href="classCPV2WayInterface.html#a15">RemoveLogAppender</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* aTag,
00357 OsclSharedPtr&lt;PVLoggerAppender&gt;&amp; aAppender,
00358 OsclAny* aContextData = NULL) = 0;
00359
00360
00379 OSCL_IMPORT_REF <span class="keyword">virtual</span> PVCommandId <a class="code" href="classCPV2WayInterface.html#a16">SetLogLevel</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* aTag,
00380 int32 aLevel,
00381 <span class="keywordtype">bool</span> aSetSubtree = <span class="keyword">false</span>,
00382 OsclAny* aContextData = NULL) = 0;
00383
00384
00400 OSCL_IMPORT_REF <span class="keyword">virtual</span> PVCommandId <a class="code" href="classCPV2WayInterface.html#a17">GetLogLevel</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* aTag,
00401 int32&amp; aLogInfo,
00402 OsclAny* aContextData = NULL) = 0;
00403
00419 OSCL_IMPORT_REF <span class="keyword">virtual</span> PVCommandId <a class="code" href="classCPV2WayInterface.html#a18">QueryUUID</a>(<span class="keyword">const</span> PvmfMimeString&amp; aMimeType,
00420 Oscl_Vector&lt;PVUuid, BasicAlloc&gt;&amp; aUuids,
00421 <span class="keywordtype">bool</span> aExactUuidsOnly = <span class="keyword">false</span>,
00422 OsclAny* aContextData = NULL) = 0;
00423
00436 OSCL_IMPORT_REF <span class="keyword">virtual</span> PVCommandId <a class="code" href="classCPV2WayInterface.html#a19">QueryInterface</a>(<span class="keyword">const</span> PVUuid&amp; aUuid,
00437 PVInterface*&amp; aInterfacePtr,
00438 OsclAny* aContext = NULL) = 0;
00439
00447 OSCL_IMPORT_REF <span class="keyword">virtual</span> PVCommandId <a class="code" href="classCPV2WayInterface.html#a20">CancelAllCommands</a>(OsclAny* aContextData = NULL) = 0;
00448 };
00449
00450
00451
00452 <span class="preprocessor">#endif //</span>
00453 <span class="preprocessor"></span>
00454
</pre></div><hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>PV2Way Engine</small>
<address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small>
</small></address>
</body>
</html>