Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_example_resolver.html
author Dominic Pinkman <Dominic.Pinkman@Nokia.com>
Fri, 22 Jan 2010 18:26:19 +0000
changeset 1 25a17d01db0c
child 6 43e37759235e
permissions -rw-r--r--
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608

<!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: CExampleResolver Class 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>CExampleResolver Class Reference</h1><!-- doxytag: class="CExampleResolver" -->
<p>
<a href="class_c_example_resolver-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="54edfb33a259d0661c4ac46e0db61b5f"></a><!-- doxytag: member="CExampleResolver::~CExampleResolver" ref="54edfb33a259d0661c4ac46e0db61b5f" args="()" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_example_resolver.html#54edfb33a259d0661c4ac46e0db61b5f">~CExampleResolver</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">TUid&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_example_resolver.html#69f86a4e738658a27f4140d047ab1c6d">IdentifyImplementationL</a> (TUid aInterfaceUid, const TEComResolverParams &amp;aAdditionalParameters) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">RImplInfoArray *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_example_resolver.html#de80c48bb5089b04715bf3d4e192331f">ListAllL</a> (TUid aInterfaceUid, const TEComResolverParams &amp;aAdditionalParameters) const </td></tr>

<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a37febb01f74d305076abacddbd375a8"></a><!-- doxytag: member="CExampleResolver::NewL" ref="a37febb01f74d305076abacddbd375a8" args="(MPublicRegistry &amp;aRegistry)" -->
static <a class="el" href="class_c_example_resolver.html">CExampleResolver</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_example_resolver.html#a37febb01f74d305076abacddbd375a8">NewL</a> (MPublicRegistry &amp;aRegistry)</td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Implements a non-default resolver.<p>
This controls the identification, (resolution), of which implementation will be used to satisfy an interface implementation instantiation. 
<p>Definition at line <a class="el" href="_example_resolver_8h-source.html#l00033">33</a> of file <a class="el" href="_example_resolver_8h-source.html">ExampleResolver.h</a>.</p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="69f86a4e738658a27f4140d047ab1c6d"></a><!-- doxytag: member="CExampleResolver::IdentifyImplementationL" ref="69f86a4e738658a27f4140d047ab1c6d" args="(TUid aInterfaceUid, const TEComResolverParams &amp;aAdditionalParameters) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TUid CExampleResolver::IdentifyImplementationL           </td>
          <td>(</td>
          <td class="paramtype">TUid&nbsp;</td>
          <td class="paramname"> <em>aInterfaceUid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const TEComResolverParams &amp;&nbsp;</td>
          <td class="paramname"> <em>aAdditionalParameters</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Request that the resolver identify the most appropriate interface implementation. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>aInterfaceUid</em>&nbsp;</td><td>The interface for which implementations are requested </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>aAdditionalParameters</em>&nbsp;</td><td>Data to be used to refine the search further </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The Uid of the best fit interface implementation - KNullUid if no match is found </dd></dl>

<p>Definition at line <a class="el" href="_example_resolver_8cpp-source.html#l00045">45</a> of file <a class="el" href="_example_resolver_8cpp-source.html">ExampleResolver.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="de80c48bb5089b04715bf3d4e192331f"></a><!-- doxytag: member="CExampleResolver::ListAllL" ref="de80c48bb5089b04715bf3d4e192331f" args="(TUid aInterfaceUid, const TEComResolverParams &amp;aAdditionalParameters) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">RImplInfoArray * CExampleResolver::ListAllL           </td>
          <td>(</td>
          <td class="paramtype">TUid&nbsp;</td>
          <td class="paramname"> <em>aInterfaceUid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const TEComResolverParams &amp;&nbsp;</td>
          <td class="paramname"> <em>aAdditionalParameters</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
List all the implementations which satisfy the specified interface. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>aInterfaceUid</em>&nbsp;</td><td>The interface for which implementations are requested </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>aAdditionalParameters</em>&nbsp;</td><td>Data to be used to refine the search further </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Pointer to an array of suitable implementations. Ownership of this array is passed to the calling function. </dd></dl>

<p>Definition at line <a class="el" href="_example_resolver_8cpp-source.html#l00076">76</a> of file <a class="el" href="_example_resolver_8cpp-source.html">ExampleResolver.cpp</a>.</p>

</div>
</div><p>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Jan 21 10:33:05 2010 for TB10.1 Example Applications by&nbsp;
<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>