Sophie

Sophie

distrib > Fedora > 14 > i386 > by-pkgid > abb2634846290d27f545cecded067e1f > files > 683

barry-devel-docs-0.17.1-4.fc14.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Barry: Barry::Mode::JavaLoader 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.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="classes.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceBarry.html">Barry</a>::<b>Mode</b>::<a class="el" href="classBarry_1_1Mode_1_1JavaLoader.html">JavaLoader</a>
  </div>
</div>
<div class="contents">
<h1>Barry::Mode::JavaLoader Class Reference</h1><!-- doxytag: class="Barry::Mode::JavaLoader" --><!-- doxytag: inherits="Barry::Mode::Mode" --><code>#include &lt;<a class="el" href="m__javaloader_8h-source.html">m_javaloader.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for Barry::Mode::JavaLoader:</div>
<div class="dynsection">
<p><center><img src="classBarry_1_1Mode_1_1JavaLoader__inherit__graph.png" border="0" usemap="#Barry_1_1Mode_1_1JavaLoader__inherit__map" alt="Inheritance graph"></center>
<map name="Barry_1_1Mode_1_1JavaLoader__inherit__map">
<area shape="rect" href="classBarry_1_1Mode_1_1Mode.html" title="Base class for simple mode classes." alt="" coords="24,5,155,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<div class="dynheader">
Collaboration diagram for Barry::Mode::JavaLoader:</div>
<div class="dynsection">
<p><center><img src="classBarry_1_1Mode_1_1JavaLoader__coll__graph.png" border="0" usemap="#Barry_1_1Mode_1_1JavaLoader__coll__map" alt="Collaboration graph"></center>
<map name="Barry_1_1Mode_1_1JavaLoader__coll__map">
<area shape="rect" href="classBarry_1_1Mode_1_1Mode.html" title="Base class for simple mode classes." alt="" coords="1063,216,1193,243"><area shape="rect" href="classBarry_1_1Controller.html" title="The main interface class." alt="" coords="857,216,972,243"><area shape="rect" title="STL class." alt="" coords="332,85,412,112"><area shape="rect" title="STL class." alt="" coords="7,85,172,112"><area shape="rect" href="classBarry_1_1DataQueue.html" title="This class provides a thread aware fifo queue for Data objects, providing memory..." alt="" coords="27,399,152,425"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="classBarry_1_1Mode_1_1JavaLoader-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
The main interface class to the java program loader protocol. 
<p>
To use this class, use the following steps:<p>
<ul>
<li>Create a <a class="el" href="classBarry_1_1Controller.html" title="The main interface class.">Controller</a> object (see <a class="el" href="classBarry_1_1Controller.html" title="The main interface class.">Controller</a> class for more details)</li><li>Create this <a class="el" href="classBarry_1_1Mode_1_1JavaLoader.html" title="The main interface class to the java program loader protocol.">Mode::JavaLoader</a> object, passing in the <a class="el" href="classBarry_1_1Controller.html" title="The main interface class.">Controller</a> object during construction</li><li>Call <a class="el" href="classBarry_1_1Mode_1_1Mode.html#1110243f16be2b647ed9810da27abe11" title="Select device mode.">Open()</a> to open database socket and finish constructing.</li><li>Call LoadDatabase() to retrieve and store a database </li></ul>

<p>Definition at line <a class="el" href="m__javaloader_8h-source.html#l00220">220</a> of file <a class="el" href="m__javaloader_8h-source.html">m_javaloader.h</a>.</p>
<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">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBarry_1_1Mode_1_1JavaLoader.html#adb74f46b334a4b1ab17b9e060a63997">StopStream</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Must be called at the end of a <a class="el" href="classBarry_1_1Mode_1_1JavaLoader.html" title="The main interface class to the java program loader protocol.">JavaLoader</a> session.  <a href="#adb74f46b334a4b1ab17b9e060a63997"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBarry_1_1Mode_1_1JavaLoader.html#237c4ac1e59f5bbcfc57a7e6eec1cf11">GetScreenshot</a> (JLScreenInfo &amp;info, Data &amp;image)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Downloads screenshot from device, and fills info with size data and the given Data buffer image with the bitmap.  <a href="#237c4ac1e59f5bbcfc57a7e6eec1cf11"></a><br></td></tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="adb74f46b334a4b1ab17b9e060a63997"></a><!-- doxytag: member="Barry::Mode::JavaLoader::StopStream" ref="adb74f46b334a4b1ab17b9e060a63997" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Barry::Mode::JavaLoader::StopStream           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Must be called at the end of a <a class="el" href="classBarry_1_1Mode_1_1JavaLoader.html" title="The main interface class to the java program loader protocol.">JavaLoader</a> session. 
<p>
The JL_GOODBYE command is sent to the device. When the device responds with RESET_REQUIRED the device reset command will be sent when the socket is closed.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>true when a device reset was required </dd></dl>

<p>Definition at line <a class="el" href="m__javaloader_8cc-source.html#l00474">474</a> of file <a class="el" href="m__javaloader_8cc-source.html">m_javaloader.cc</a>.</p>

<p>References <a class="el" href="packet_8h-source.html#l00226">Barry::JLPacket::Goodbye()</a>, <a class="el" href="controller_8h-source.html#l00100">Barry::Controller::m_zero</a>, and <a class="el" href="error_8h-source.html#l00212">Barry::BadPacket::response()</a>.</p>

<p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
<p><center><img src="classBarry_1_1Mode_1_1JavaLoader_adb74f46b334a4b1ab17b9e060a63997_cgraph.png" border="0" usemap="#classBarry_1_1Mode_1_1JavaLoader_adb74f46b334a4b1ab17b9e060a63997_cgraph_map" alt=""></center>
<map name="classBarry_1_1Mode_1_1JavaLoader_adb74f46b334a4b1ab17b9e060a63997_cgraph_map">
<area shape="rect" href="classBarry_1_1JLPacket.html#15ed6b5e8f0d5752d46ad4682f8cff81" title="Barry::JLPacket::Goodbye" alt="" coords="304,5,480,32"><area shape="rect" href="classBarry_1_1BadPacket.html#efecf010326a51ee9e762d6f24230911" title="Barry::BadPacket::response" alt="" coords="300,56,484,83"></map>
</div>

</div>
</div><p>
<a class="anchor" name="237c4ac1e59f5bbcfc57a7e6eec1cf11"></a><!-- doxytag: member="Barry::Mode::JavaLoader::GetScreenshot" ref="237c4ac1e59f5bbcfc57a7e6eec1cf11" args="(JLScreenInfo &amp;info, Data &amp;image)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Barry::Mode::JavaLoader::GetScreenshot           </td>
          <td>(</td>
          <td class="paramtype">JLScreenInfo &amp;&nbsp;</td>
          <td class="paramname"> <em>info</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Data &amp;&nbsp;</td>
          <td class="paramname"> <em>image</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Downloads screenshot from device, and fills info with size data and the given Data buffer image with the bitmap. 
<p>

<p>Definition at line <a class="el" href="m__javaloader_8cc-source.html#l00615">615</a> of file <a class="el" href="m__javaloader_8cc-source.html">m_javaloader.cc</a>.</p>

<p>References <a class="el" href="packet_8h-source.html#l00232">Barry::JLPacket::GetData()</a>, <a class="el" href="packet_8cc-source.html#l00658">Barry::JLPacket::GetScreenshot()</a>, and <a class="el" href="packet_8cc-source.html#l00569">Barry::JLPacket::Size()</a>.</p>

<p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
<p><center><img src="classBarry_1_1Mode_1_1JavaLoader_237c4ac1e59f5bbcfc57a7e6eec1cf11_cgraph.png" border="0" usemap="#classBarry_1_1Mode_1_1JavaLoader_237c4ac1e59f5bbcfc57a7e6eec1cf11_cgraph_map" alt=""></center>
<map name="classBarry_1_1Mode_1_1JavaLoader_237c4ac1e59f5bbcfc57a7e6eec1cf11_cgraph_map">
<area shape="rect" href="classBarry_1_1JLPacket.html#e4b045bdc2048a9e4ea9be5b2bbcf1b8" title="Barry::JLPacket::GetData" alt="" coords="337,5,508,32"><area shape="rect" href="classBarry_1_1JLPacket.html#e31231ae3bd3525a722e2b94f6c67a96" title="Barry::JLPacket::GetScreenshot" alt="" coords="317,56,528,83"><area shape="rect" href="classBarry_1_1JLPacket.html#c0c7f72182eb34fd287b7c98c6979738" title="Barry::JLPacket::Size" alt="" coords="348,107,497,133"></map>
</div>

</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="m__javaloader_8h-source.html">m_javaloader.h</a><li><a class="el" href="m__javaloader_8cc-source.html">m_javaloader.cc</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Mar 1 17:51:06 2011 for Barry by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>