Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_example_resolver.html
author Graeme Price <GRAEME.PRICE@NOKIA.COM>
Fri, 15 Oct 2010 14:32:18 +0100
changeset 15 307f4279f433
parent 6 43e37759235e
permissions -rw-r--r--
Initial contribution of the Adaptation Documentation.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>TB9.2 Example Applications: CExampleResolver Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.2 -->
<div class="contents">
<h1>CExampleResolver Class Reference</h1><!-- doxytag: class="CExampleResolver" -->
<p><a href="class_c_example_resolver-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">TUid&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_example_resolver.html#a69f86a4e738658a27f4140d047ab1c6d">IdentifyImplementationL</a> (TUid aInterfaceUid, const TEComResolverParams &amp;aAdditionalParameters) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">RImplInfoArray *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_example_resolver.html#ade80c48bb5089b04715bf3d4e192331f">ListAllL</a> (TUid aInterfaceUid, const TEComResolverParams &amp;aAdditionalParameters) const </td></tr>
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa37febb01f74d305076abacddbd375a8"></a><!-- doxytag: member="CExampleResolver::NewL" ref="aa37febb01f74d305076abacddbd375a8" args="(MPublicRegistry &amp;aRegistry)" -->
static <a class="el" href="class_c_example_resolver.html">CExampleResolver</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>NewL</b> (MPublicRegistry &amp;aRegistry)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Implements a non-default resolver.</p>
<p>This controls the identification, (resolution), of which implementation will be used to satisfy an interface implementation instantiation. </p>

<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" id="a69f86a4e738658a27f4140d047ab1c6d"></a><!-- doxytag: member="CExampleResolver::IdentifyImplementationL" ref="a69f86a4e738658a27f4140d047ab1c6d" 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> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Request that the resolver identify the most appropriate interface implementation. </p>
<dl><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>
  </dd>
</dl>
<dl class="return"><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>
<a class="anchor" id="ade80c48bb5089b04715bf3d4e192331f"></a><!-- doxytag: member="CExampleResolver::ListAllL" ref="ade80c48bb5089b04715bf3d4e192331f" 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> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>List all the implementations which satisfy the specified interface. </p>
<dl><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>
  </dd>
</dl>
<dl class="return"><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>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
</body>
</html>