Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_bluetooth_p_m_p_example_engine.html
author Dominic Pinkman <dominic.pinkman@nokia.com>
Fri, 13 Aug 2010 16:47:46 +0100
changeset 14 578be2adaf3e
parent 6 43e37759235e
permissions -rw-r--r--
Week 32 contribution of PDK documentation content. See release notes for details. Fixes bug Bug 3582

<!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: CBluetoothPMPExampleEngine 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>CBluetoothPMPExampleEngine Class Reference</h1><!-- doxytag: class="CBluetoothPMPExampleEngine" --><!-- doxytag: inherits="MListenerObserver,MConnectorObserver,MDeviceDiscoObserver,MServiceDiscoObserver" -->
<p>Inherits <a class="el" href="class_m_listener_observer.html">MListenerObserver</a>, <a class="el" href="class_m_connector_observer.html">MConnectorObserver</a>, <a class="el" href="class_m_device_disco_observer.html">MDeviceDiscoObserver</a>, and <a class="el" href="class_m_service_disco_observer.html">MServiceDiscoObserver</a>.</p>

<p><a href="class_c_bluetooth_p_m_p_example_engine-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">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_bluetooth_p_m_p_example_engine.html#affdae8cb6bfb0255fc9b1ac6554a1377">~CBluetoothPMPExampleEngine</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_bluetooth_p_m_p_example_engine.html#a263f56c4840a8dde0c200faf26ca892c">DiscoverDevicesL</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_bluetooth_p_m_p_example_engine.html#aca469b2ff2b65a8d6e6bba8e8ef5c278">DiscoverServicesL</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_bluetooth_p_m_p_example_engine.html#a5979059dabc0f80ae9476ce7bc1940f5">StartSlaveL</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a244c07d471334cf85a8f0c21d7ffeb64"></a><!-- doxytag: member="CBluetoothPMPExampleEngine::StopSlaveL" ref="a244c07d471334cf85a8f0c21d7ffeb64" args="()" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>StopSlaveL</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_bluetooth_p_m_p_example_engine.html#ae14feab4e96888e04cc167f26db0af94">SendMessageL</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_bluetooth_p_m_p_example_engine.html#a5c23d69ce729c5eedaea3f6023a261f1">ConnectDevicesL</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_bluetooth_p_m_p_example_engine.html#ab782ecd1a4f9ac6e0ec028a0e52aa3f9">DisconnectDevices</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_bluetooth_p_m_p_example_engine.html#a9bc30d72f6cdc966d28b15cca6fefa60">ShowConnectedDevicesL</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_bluetooth_p_m_p_example_engine.html#af9f31c0f0d6e3cb6274ce77858f36a52">HandleListenerDataReceivedL</a> (const TDesC &amp;aData)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_bluetooth_p_m_p_example_engine.html#a0e2424a0b667fa35ea1e7b71fdfb0d3a">HandleConnectorDataReceivedL</a> (THostName aName, const TDesC &amp;aData)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab973526c2c048f254f09586734a9e16e"></a><!-- doxytag: member="CBluetoothPMPExampleEngine::HandleConnectorErrorL" ref="ab973526c2c048f254f09586734a9e16e" args="(THostName aName, TInt aError)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>HandleConnectorErrorL</b> (THostName aName, TInt aError)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_bluetooth_p_m_p_example_engine.html#a5b07909876345153ab932050401c7d06">HandleListenerConnectedL</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_bluetooth_p_m_p_example_engine.html#adb114bcd6cc5904f6b909e442f105119">HandleListenerDisconnectedL</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_bluetooth_p_m_p_example_engine.html#a7ecfca73d42f467526141670e419a279">HandleDeviceDiscoveryComplete</a> (TInt aError)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_bluetooth_p_m_p_example_engine.html#afd72201cdfd08c33ad9778744bedaf84">DeviceDiscovered</a> (const <a class="el" href="struct_t_device_data.html">TDeviceData</a> &amp;aDevice)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_bluetooth_p_m_p_example_engine.html#ae0ab462760a236a1b478d67b98d2d331">HandleServiceDiscoveryCompleteL</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_bluetooth_p_m_p_example_engine.html#ae59d201d7207b0ea47c9998c657ed396">ReportServiceDiscoveryErrorL</a> (TInt aError)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">TBool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_bluetooth_p_m_p_example_engine.html#aa874a3fe38a3b45bde19ac3d736df005">HasConnections</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abcef5f973ddb9d99687c05cb8f950e3f"></a><!-- doxytag: member="CBluetoothPMPExampleEngine::TurnBtOnL" ref="abcef5f973ddb9d99687c05cb8f950e3f" args="()" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>TurnBtOnL</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">TBool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_bluetooth_p_m_p_example_engine.html#ab8730306be948567629204fc0d8cf0e2">IsDiscoveryActive</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_bluetooth_p_m_p_example_engine.html#a0da1fc3e65e15ff7f175d5b880525aaf">StopDiscovery</a> ()</td></tr>
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_c_bluetooth_p_m_p_example_engine.html">CBluetoothPMPExampleEngine</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_bluetooth_p_m_p_example_engine.html#ad076e5044ee73884bef526125a0bdc94">NewL</a> (<a class="el" href="class_c_bluetooth_p_m_p_example_app_ui.html">CBluetoothPMPExampleAppUi</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_c_bluetooth_p_m_p_example_engine.html">CBluetoothPMPExampleEngine</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_bluetooth_p_m_p_example_engine.html#a02c6ef91ce83a8c79b2096086fed7ec3">NewLC</a> (<a class="el" href="class_c_bluetooth_p_m_p_example_app_ui.html">CBluetoothPMPExampleAppUi</a> &amp;)</td></tr>
<tr><td colspan="2"><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a82f8d8bf017a3950a1bcfb154664323c"></a><!-- doxytag: member="CBluetoothPMPExampleEngine::iListener" ref="a82f8d8bf017a3950a1bcfb154664323c" args="" -->
<a class="el" href="class_c_listener.html">CListener</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>iListener</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a63fa06d31526c592d4f85d4ac2c8703f"></a><!-- doxytag: member="CBluetoothPMPExampleEngine::iDeviceDiscoverer" ref="a63fa06d31526c592d4f85d4ac2c8703f" args="" -->
<a class="el" href="class_c_device_discoverer.html">CDeviceDiscoverer</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>iDeviceDiscoverer</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aadb28514668cfc6ad9e57b059618c64f"></a><!-- doxytag: member="CBluetoothPMPExampleEngine::iServiceAdvertiser" ref="aadb28514668cfc6ad9e57b059618c64f" args="" -->
<a class="el" href="class_c_service_advertiser.html">CServiceAdvertiser</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>iServiceAdvertiser</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adc57e901cdb243d9ad5eabde5f175e09"></a><!-- doxytag: member="CBluetoothPMPExampleEngine::iServiceDiscoverer" ref="adc57e901cdb243d9ad5eabde5f175e09" args="" -->
<a class="el" href="class_c_service_discoverer.html">CServiceDiscoverer</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>iServiceDiscoverer</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1ff47f06bed4e7d5c260340d88f7c390"></a><!-- doxytag: member="CBluetoothPMPExampleEngine::iIsSlave" ref="a1ff47f06bed4e7d5c260340d88f7c390" args="" -->
TBool&nbsp;</td><td class="memItemRight" valign="bottom"><b>iIsSlave</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6091fc83bd6a8674f770fd2a30e3cb85"></a><!-- doxytag: member="CBluetoothPMPExampleEngine::iIsMaster" ref="a6091fc83bd6a8674f770fd2a30e3cb85" args="" -->
TBool&nbsp;</td><td class="memItemRight" valign="bottom"><b>iIsMaster</b></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p><a class="el" href="class_c_bluetooth_p_m_p_example_engine.html">CBluetoothPMPExampleEngine</a> application engine class. </p>

<p>Definition at line <a class="el" href="_bluetooth_p_m_p_example_engine_8h_source.html#l00097">97</a> of file <a class="el" href="_bluetooth_p_m_p_example_engine_8h_source.html">BluetoothPMPExampleEngine.h</a>.</p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="affdae8cb6bfb0255fc9b1ac6554a1377"></a><!-- doxytag: member="CBluetoothPMPExampleEngine::~CBluetoothPMPExampleEngine" ref="affdae8cb6bfb0255fc9b1ac6554a1377" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CBluetoothPMPExampleEngine::~CBluetoothPMPExampleEngine </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>~CBluetoothPMPExampleContainer()</p>
<p>discussion Destroy the object and release all memory objects </p>

<p>Definition at line <a class="el" href="_bluetooth_p_m_p_example_engine_8cpp_source.html#l00103">103</a> of file <a class="el" href="_bluetooth_p_m_p_example_engine_8cpp_source.html">BluetoothPMPExampleEngine.cpp</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ad076e5044ee73884bef526125a0bdc94"></a><!-- doxytag: member="CBluetoothPMPExampleEngine::NewL" ref="ad076e5044ee73884bef526125a0bdc94" args="(CBluetoothPMPExampleAppUi &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_c_bluetooth_p_m_p_example_engine.html">CBluetoothPMPExampleEngine</a> * CBluetoothPMPExampleEngine::NewL </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_c_bluetooth_p_m_p_example_app_ui.html">CBluetoothPMPExampleAppUi</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>aAppUi</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p><a class="el" href="class_c_bluetooth_p_m_p_example_engine.html#ad076e5044ee73884bef526125a0bdc94">NewL()</a></p>
<p>discussion Create new <a class="el" href="class_c_bluetooth_p_m_p_example_engine.html">CBluetoothPMPExampleEngine</a> object return a pointer to the created instance of <a class="el" href="class_c_bluetooth_p_m_p_example_engine.html">CBluetoothPMPExampleEngine</a> </p>

<p>Definition at line <a class="el" href="_bluetooth_p_m_p_example_engine_8cpp_source.html#l00017">17</a> of file <a class="el" href="_bluetooth_p_m_p_example_engine_8cpp_source.html">BluetoothPMPExampleEngine.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a02c6ef91ce83a8c79b2096086fed7ec3"></a><!-- doxytag: member="CBluetoothPMPExampleEngine::NewLC" ref="a02c6ef91ce83a8c79b2096086fed7ec3" args="(CBluetoothPMPExampleAppUi &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_c_bluetooth_p_m_p_example_engine.html">CBluetoothPMPExampleEngine</a> * CBluetoothPMPExampleEngine::NewLC </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_c_bluetooth_p_m_p_example_app_ui.html">CBluetoothPMPExampleAppUi</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>aAppUi</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p><a class="el" href="class_c_bluetooth_p_m_p_example_engine.html#a02c6ef91ce83a8c79b2096086fed7ec3">NewLC()</a> </p>

<p>Definition at line <a class="el" href="_bluetooth_p_m_p_example_engine_8cpp_source.html#l00027">27</a> of file <a class="el" href="_bluetooth_p_m_p_example_engine_8cpp_source.html">BluetoothPMPExampleEngine.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a263f56c4840a8dde0c200faf26ca892c"></a><!-- doxytag: member="CBluetoothPMPExampleEngine::DiscoverDevicesL" ref="a263f56c4840a8dde0c200faf26ca892c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CBluetoothPMPExampleEngine::DiscoverDevicesL </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p><a class="el" href="class_c_bluetooth_p_m_p_example_engine.html#a263f56c4840a8dde0c200faf26ca892c">DiscoverDevicesL()</a></p>
<p>discussion Discovers bluetooth devices within range. the discovered devices will be displayed to user. </p>

<p>Definition at line <a class="el" href="_bluetooth_p_m_p_example_engine_8cpp_source.html#l00161">161</a> of file <a class="el" href="_bluetooth_p_m_p_example_engine_8cpp_source.html">BluetoothPMPExampleEngine.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aca469b2ff2b65a8d6e6bba8e8ef5c278"></a><!-- doxytag: member="CBluetoothPMPExampleEngine::DiscoverServicesL" ref="aca469b2ff2b65a8d6e6bba8e8ef5c278" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CBluetoothPMPExampleEngine::DiscoverServicesL </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>StartServiceDiscovery()</p>
<p>discussion Starts service discovery for services on remote devices. </p>

<p>Definition at line <a class="el" href="_bluetooth_p_m_p_example_engine_8cpp_source.html#l00179">179</a> of file <a class="el" href="_bluetooth_p_m_p_example_engine_8cpp_source.html">BluetoothPMPExampleEngine.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a5979059dabc0f80ae9476ce7bc1940f5"></a><!-- doxytag: member="CBluetoothPMPExampleEngine::StartSlaveL" ref="a5979059dabc0f80ae9476ce7bc1940f5" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CBluetoothPMPExampleEngine::StartSlaveL </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p><a class="el" href="class_c_bluetooth_p_m_p_example_engine.html#a5979059dabc0f80ae9476ce7bc1940f5">StartSlaveL()</a></p>
<p>discussion Starts the application in slave more. the application will open listening socket to listen to incoming connection request, and advertise its services. </p>

<p>Definition at line <a class="el" href="_bluetooth_p_m_p_example_engine_8cpp_source.html#l00193">193</a> of file <a class="el" href="_bluetooth_p_m_p_example_engine_8cpp_source.html">BluetoothPMPExampleEngine.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ae14feab4e96888e04cc167f26db0af94"></a><!-- doxytag: member="CBluetoothPMPExampleEngine::SendMessageL" ref="ae14feab4e96888e04cc167f26db0af94" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CBluetoothPMPExampleEngine::SendMessageL </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p><a class="el" href="class_c_bluetooth_p_m_p_example_engine.html#ae14feab4e96888e04cc167f26db0af94">SendMessageL()</a></p>
<p>discussion Send a message to all connected slaves. the user will be prompted to enter the message text he/she wishes to send. </p>

<p>Definition at line <a class="el" href="_bluetooth_p_m_p_example_engine_8cpp_source.html#l00330">330</a> of file <a class="el" href="_bluetooth_p_m_p_example_engine_8cpp_source.html">BluetoothPMPExampleEngine.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a5c23d69ce729c5eedaea3f6023a261f1"></a><!-- doxytag: member="CBluetoothPMPExampleEngine::ConnectDevicesL" ref="a5c23d69ce729c5eedaea3f6023a261f1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CBluetoothPMPExampleEngine::ConnectDevicesL </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p><a class="el" href="class_c_bluetooth_p_m_p_example_engine.html#a5c23d69ce729c5eedaea3f6023a261f1">ConnectDevicesL()</a></p>
<p>discussion Connects to the remote devices that were discovered to offer the service we require. </p>

<p>Definition at line <a class="el" href="_bluetooth_p_m_p_example_engine_8cpp_source.html#l00255">255</a> of file <a class="el" href="_bluetooth_p_m_p_example_engine_8cpp_source.html">BluetoothPMPExampleEngine.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ab782ecd1a4f9ac6e0ec028a0e52aa3f9"></a><!-- doxytag: member="CBluetoothPMPExampleEngine::DisconnectDevices" ref="ab782ecd1a4f9ac6e0ec028a0e52aa3f9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CBluetoothPMPExampleEngine::DisconnectDevices </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p><a class="el" href="class_c_bluetooth_p_m_p_example_engine.html#ab782ecd1a4f9ac6e0ec028a0e52aa3f9">DisconnectDevices()</a></p>
<p>discussion Disconnects from connected remote devices. </p>

<p>Definition at line <a class="el" href="_bluetooth_p_m_p_example_engine_8cpp_source.html#l00235">235</a> of file <a class="el" href="_bluetooth_p_m_p_example_engine_8cpp_source.html">BluetoothPMPExampleEngine.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a9bc30d72f6cdc966d28b15cca6fefa60"></a><!-- doxytag: member="CBluetoothPMPExampleEngine::ShowConnectedDevicesL" ref="a9bc30d72f6cdc966d28b15cca6fefa60" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CBluetoothPMPExampleEngine::ShowConnectedDevicesL </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p><a class="el" href="class_c_bluetooth_p_m_p_example_engine.html#a9bc30d72f6cdc966d28b15cca6fefa60">ShowConnectedDevicesL()</a></p>
<p>discussion Displays the connected remote devices. </p>

<p>Definition at line <a class="el" href="_bluetooth_p_m_p_example_engine_8cpp_source.html#l00299">299</a> of file <a class="el" href="_bluetooth_p_m_p_example_engine_8cpp_source.html">BluetoothPMPExampleEngine.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="af9f31c0f0d6e3cb6274ce77858f36a52"></a><!-- doxytag: member="CBluetoothPMPExampleEngine::HandleListenerDataReceivedL" ref="af9f31c0f0d6e3cb6274ce77858f36a52" args="(const TDesC &amp;aData)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CBluetoothPMPExampleEngine::HandleListenerDataReceivedL </td>
          <td>(</td>
          <td class="paramtype">const TDesC &amp;&nbsp;</td>
          <td class="paramname"> <em>aData</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p><a class="el" href="class_c_bluetooth_p_m_p_example_engine.html#af9f31c0f0d6e3cb6274ce77858f36a52">HandleListenerDataReceivedL()</a></p>
<p>discussion Handles the data slave received from a master.</p>
<p>param aData the data received. </p>

<p>Implements <a class="el" href="class_m_listener_observer.html#abb33719cbddfe852456bc0c0043d7786">MListenerObserver</a>.</p>

<p>Definition at line <a class="el" href="_bluetooth_p_m_p_example_engine_8cpp_source.html#l00375">375</a> of file <a class="el" href="_bluetooth_p_m_p_example_engine_8cpp_source.html">BluetoothPMPExampleEngine.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a0e2424a0b667fa35ea1e7b71fdfb0d3a"></a><!-- doxytag: member="CBluetoothPMPExampleEngine::HandleConnectorDataReceivedL" ref="a0e2424a0b667fa35ea1e7b71fdfb0d3a" args="(THostName aName, const TDesC &amp;aData)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CBluetoothPMPExampleEngine::HandleConnectorDataReceivedL </td>
          <td>(</td>
          <td class="paramtype">THostName&nbsp;</td>
          <td class="paramname"> <em>aName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const TDesC &amp;&nbsp;</td>
          <td class="paramname"> <em>aData</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>HandleConnectedDataReceivedL()</p>
<p>discussion Handles the data a master received from a slave.</p>
<p>param aName the name of the slave that sent the data. param aData the data received. </p>

<p>Implements <a class="el" href="class_m_connector_observer.html#afe3b74e577328b88ae7a9e984b7895a0">MConnectorObserver</a>.</p>

<p>Definition at line <a class="el" href="_bluetooth_p_m_p_example_engine_8cpp_source.html#l00420">420</a> of file <a class="el" href="_bluetooth_p_m_p_example_engine_8cpp_source.html">BluetoothPMPExampleEngine.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a5b07909876345153ab932050401c7d06"></a><!-- doxytag: member="CBluetoothPMPExampleEngine::HandleListenerConnectedL" ref="a5b07909876345153ab932050401c7d06" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CBluetoothPMPExampleEngine::HandleListenerConnectedL </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p><a class="el" href="class_c_bluetooth_p_m_p_example_engine.html#a5b07909876345153ab932050401c7d06">HandleListenerConnectedL()</a></p>
<p>discussion Handles the event of slave connection (slave was connected to by master). user will be notified of connection. </p>

<p>Implements <a class="el" href="class_m_listener_observer.html#a33eb83a098a9f5e984ce83df549360f5">MListenerObserver</a>.</p>

<p>Definition at line <a class="el" href="_bluetooth_p_m_p_example_engine_8cpp_source.html#l00389">389</a> of file <a class="el" href="_bluetooth_p_m_p_example_engine_8cpp_source.html">BluetoothPMPExampleEngine.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="adb114bcd6cc5904f6b909e442f105119"></a><!-- doxytag: member="CBluetoothPMPExampleEngine::HandleListenerDisconnectedL" ref="adb114bcd6cc5904f6b909e442f105119" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CBluetoothPMPExampleEngine::HandleListenerDisconnectedL </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p><a class="el" href="class_c_bluetooth_p_m_p_example_engine.html#adb114bcd6cc5904f6b909e442f105119">HandleListenerDisconnectedL()</a></p>
<p>discussion Handles the event of slave disconnection, the master connection to slave was terminated. user will be notitied of disconnection. </p>

<p>Implements <a class="el" href="class_m_listener_observer.html#a39c91b102c81fe03392d0f49d0b2da53">MListenerObserver</a>.</p>

<p>Definition at line <a class="el" href="_bluetooth_p_m_p_example_engine_8cpp_source.html#l00400">400</a> of file <a class="el" href="_bluetooth_p_m_p_example_engine_8cpp_source.html">BluetoothPMPExampleEngine.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a7ecfca73d42f467526141670e419a279"></a><!-- doxytag: member="CBluetoothPMPExampleEngine::HandleDeviceDiscoveryComplete" ref="a7ecfca73d42f467526141670e419a279" args="(TInt aError)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CBluetoothPMPExampleEngine::HandleDeviceDiscoveryComplete </td>
          <td>(</td>
          <td class="paramtype">TInt&nbsp;</td>
          <td class="paramname"> <em>aError</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p><a class="el" href="class_c_bluetooth_p_m_p_example_engine.html#a7ecfca73d42f467526141670e419a279">HandleDeviceDiscoveryComplete()</a></p>
<p>discussion Handles the event of device discovery completion. the discovered devices will be displayed to user. </p>

<p>Implements <a class="el" href="class_m_device_disco_observer.html#a0c81cc1105d340428c4ec9ab792b3d8c">MDeviceDiscoObserver</a>.</p>

<p>Definition at line <a class="el" href="_bluetooth_p_m_p_example_engine_8cpp_source.html#l00507">507</a> of file <a class="el" href="_bluetooth_p_m_p_example_engine_8cpp_source.html">BluetoothPMPExampleEngine.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="afd72201cdfd08c33ad9778744bedaf84"></a><!-- doxytag: member="CBluetoothPMPExampleEngine::DeviceDiscovered" ref="afd72201cdfd08c33ad9778744bedaf84" args="(const TDeviceData &amp;aDevice)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CBluetoothPMPExampleEngine::DeviceDiscovered </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_t_device_data.html">TDeviceData</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>aDevice</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p><a class="el" href="class_c_bluetooth_p_m_p_example_engine.html#afd72201cdfd08c33ad9778744bedaf84">DeviceDiscovered()</a></p>
<p>discussion nofify observer that a new device was found. </p>

<p>Implements <a class="el" href="class_m_device_disco_observer.html#ac2f21c5261b18e23581d9c59d8dd8493">MDeviceDiscoObserver</a>.</p>

<p>Definition at line <a class="el" href="_bluetooth_p_m_p_example_engine_8cpp_source.html#l00613">613</a> of file <a class="el" href="_bluetooth_p_m_p_example_engine_8cpp_source.html">BluetoothPMPExampleEngine.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ae0ab462760a236a1b478d67b98d2d331"></a><!-- doxytag: member="CBluetoothPMPExampleEngine::HandleServiceDiscoveryCompleteL" ref="ae0ab462760a236a1b478d67b98d2d331" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CBluetoothPMPExampleEngine::HandleServiceDiscoveryCompleteL </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p><a class="el" href="class_c_bluetooth_p_m_p_example_engine.html#ae0ab462760a236a1b478d67b98d2d331">HandleServiceDiscoveryCompleteL()</a></p>
<p>discussion Handles the event of service discovery completion. the discovered services will be displayed to user. </p>

<p>Implements <a class="el" href="class_m_service_disco_observer.html#a364f228dafe48577465fac49bc49e20c">MServiceDiscoObserver</a>.</p>

<p>Definition at line <a class="el" href="_bluetooth_p_m_p_example_engine_8cpp_source.html#l00550">550</a> of file <a class="el" href="_bluetooth_p_m_p_example_engine_8cpp_source.html">BluetoothPMPExampleEngine.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ae59d201d7207b0ea47c9998c657ed396"></a><!-- doxytag: member="CBluetoothPMPExampleEngine::ReportServiceDiscoveryErrorL" ref="ae59d201d7207b0ea47c9998c657ed396" args="(TInt aError)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CBluetoothPMPExampleEngine::ReportServiceDiscoveryErrorL </td>
          <td>(</td>
          <td class="paramtype">TInt&nbsp;</td>
          <td class="paramname"> <em>aError</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p><a class="el" href="class_c_bluetooth_p_m_p_example_engine.html#ae59d201d7207b0ea47c9998c657ed396">ReportServiceDiscoveryErrorL()</a></p>
<p>discussion An error has occured during service discovery </p>

<p>Implements <a class="el" href="class_m_service_disco_observer.html">MServiceDiscoObserver</a>.</p>

<p>Definition at line <a class="el" href="_bluetooth_p_m_p_example_engine_8cpp_source.html#l00627">627</a> of file <a class="el" href="_bluetooth_p_m_p_example_engine_8cpp_source.html">BluetoothPMPExampleEngine.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aa874a3fe38a3b45bde19ac3d736df005"></a><!-- doxytag: member="CBluetoothPMPExampleEngine::HasConnections" ref="aa874a3fe38a3b45bde19ac3d736df005" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TBool CBluetoothPMPExampleEngine::HasConnections </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>HasConnection()</p>
<p>discussion Returns true if master has any slave connections. </p>

<p>Definition at line <a class="el" href="_bluetooth_p_m_p_example_engine_8cpp_source.html#l00592">592</a> of file <a class="el" href="_bluetooth_p_m_p_example_engine_8cpp_source.html">BluetoothPMPExampleEngine.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ab8730306be948567629204fc0d8cf0e2"></a><!-- doxytag: member="CBluetoothPMPExampleEngine::IsDiscoveryActive" ref="ab8730306be948567629204fc0d8cf0e2" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TBool CBluetoothPMPExampleEngine::IsDiscoveryActive </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p><a class="el" href="class_c_bluetooth_p_m_p_example_engine.html#ab8730306be948567629204fc0d8cf0e2">IsDiscoveryActive()</a></p>
<p>discussion It returns ETrue if there is an ongoing device discovery </p>

<p>Definition at line <a class="el" href="_bluetooth_p_m_p_example_engine_8cpp_source.html#l00709">709</a> of file <a class="el" href="_bluetooth_p_m_p_example_engine_8cpp_source.html">BluetoothPMPExampleEngine.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a0da1fc3e65e15ff7f175d5b880525aaf"></a><!-- doxytag: member="CBluetoothPMPExampleEngine::StopDiscovery" ref="a0da1fc3e65e15ff7f175d5b880525aaf" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CBluetoothPMPExampleEngine::StopDiscovery </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p><a class="el" href="class_c_bluetooth_p_m_p_example_engine.html#a0da1fc3e65e15ff7f175d5b880525aaf">StopDiscovery()</a></p>
<p>discussion It stops device discovery if there is any ongoing </p>

<p>Definition at line <a class="el" href="_bluetooth_p_m_p_example_engine_8cpp_source.html#l00717">717</a> of file <a class="el" href="_bluetooth_p_m_p_example_engine_8cpp_source.html">BluetoothPMPExampleEngine.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>