<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>HippoDraw Class Library</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> <link rel="shortcut icon" href="hippoApp.ico"> </head><body> <!-- Generated by Doxygen 1.6.2 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><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="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="dir_bd46360b4c6a7cd846adf95fa79d46e4.html">python</a> </div> </div> <div class="contents"> <h1>PyApp.cxx File Reference</h1> <p><a class="el" href="classhippodraw_1_1PyApp.html" title="A class to interface Python to application running in separate thread.">hippodraw::PyApp</a> class implementation and Python interface implementation. <a href="#_details">More...</a></p> <code>#include <boost/python.hpp></code><br/> <code>#include "<a class="el" href="PyApp_8h_source.html">PyApp.h</a>"</code><br/> <code>#include "<a class="el" href="PyCanvas_8h_source.html">PyCanvas.h</a>"</code><br/> <code>#include "<a class="el" href="CanvasWindow_8h_source.html">qt/CanvasWindow.h</a>"</code><br/> <code>#include "<a class="el" href="HdThread_8h_source.html">qt/HdThread.h</a>"</code><br/> <code>#include "<a class="el" href="QtApp_8h_source.html">qt/QtApp.h</a>"</code><br/> <code>#include "<a class="el" href="WindowController_8h_source.html">qt/WindowController.h</a>"</code><br/> <code>#include "qapplication.h"</code><br/> <code>#include "qwaitcondition.h"</code><br/> <code>#include <pthread.h></code><br/> <div class="dynheader"> Include dependency graph for PyApp.cxx:</div> <div class="dynsection"> <div class="center"><img src="PyApp_8cxx__incl.gif" border="0" usemap="#PyApp_8cxx_map" alt=""/></div> <map name="PyApp_8cxx_map" id="PyApp_8cxx"> <area shape="rect" id="node5" href="PyApp_8h.html" title="hippodraw::PyApp class interface." alt="" coords="676,83,748,112"/><area shape="rect" id="node9" href="PyCanvas_8h.html" title="hippodraw::PyCanvas class interface." alt="" coords="559,83,652,112"/><area shape="rect" id="node14" href="CanvasWindow_8h.html" title="hippodraw::CanvasWindow class interface." alt="" coords="396,83,535,112"/><area shape="rect" id="node34" href="HdThread_8h.html" title="hippodraw::HdThread class declaration" alt="" coords="932,83,1036,112"/><area shape="rect" id="node39" href="QtApp_8h.html" title="hippodraw::QtApp class interface" alt="" coords="772,83,857,112"/><area shape="rect" id="node45" href="WindowController_8h.html" title="hippodraw::WindowController class interface" alt="" coords="223,83,372,112"/><area shape="rect" id="node16" href="CanvasWindowBase_8h.html" title="The file created from CanvasWindowBase.ui with the Qt uic tool." alt="" coords="165,160,344,189"/><area shape="rect" id="node24" href="libqthippo_8h.html" title="qt/libqthippo.h" alt="" coords="591,237,692,267"/></map> </div> <p><a href="PyApp_8cxx_source.html">Go to the source code of this file.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Namespaces</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehippodraw.html">hippodraw</a></td></tr> <p><tr><td class="mdescLeft"> </td><td class="mdescRight"><p>Namespace for HippoDraw. </p> <br/></td></tr> </p> <tr><td class="memItemLeft" align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehippodraw_1_1Python.html">hippodraw::Python</a></td></tr> <p><tr><td class="mdescLeft"> </td><td class="mdescRight"><p>A namespace encapsulating functions to interface HippoDraw classes to Python using Boost.Python. </p> <br/></td></tr> </p> <tr><td colspan="2"><h2>Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehippodraw_1_1Python.html#a94378b30e7803aa8017abab99ce652cc">export_HDApp</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Exports the <a class="el" href="classhippodraw_1_1PyApp.html" title="A class to interface Python to application running in separate thread.">PyApp</a> class to <a class="el" href="namespacehippodraw_1_1Python.html" title="A namespace encapsulating functions to interface HippoDraw classes to Python using...">Python</a>. <a href="#a94378b30e7803aa8017abab99ce652cc"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="PyApp_8cxx.html#a00d0ca614a30db319bf2e5d03ed1e601">run</a> (void *arg)</td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p><a class="el" href="classhippodraw_1_1PyApp.html" title="A class to interface Python to application running in separate thread.">hippodraw::PyApp</a> class implementation and Python interface implementation. </p> <p>Original taken from QTDIR/examples/canvas/main.cpp version 3.0</p> <p>Copyright (C) 2002-2006 The Board of Trustees of The Leland Stanford Junior University. All Rights Reserved.</p> <dl class="rcs"><dt><b>Id</b></dt><dd><a class="el" href="PyApp_8cxx.html" title="hippodraw::PyApp class implementation and Python interface implementation.">PyApp.cxx</a>,v 1.81 2007/07/02 18:17:15 pfkeb Exp </dd></dl> <p>Definition in file <a class="el" href="PyApp_8cxx_source.html">PyApp.cxx</a>.</p> <hr/><h2>Function Documentation</h2> <a class="anchor" id="a00d0ca614a30db319bf2e5d03ed1e601"></a><!-- doxytag: member="PyApp.cxx::run" ref="a00d0ca614a30db319bf2e5d03ed1e601" args="(void *arg)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void* run </td> <td>(</td> <td class="paramtype">void * </td> <td class="paramname"> <em>arg</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="PyApp_8cxx_source.html#l00135">135</a> of file <a class="el" href="PyApp_8cxx_source.html">PyApp.cxx</a>.</p> <p>References <a class="elRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qapplication.html#exec">QApplication::exec()</a>, and <a class="el" href="QtApp_8cxx_source.html#l00169">QtApp::setFirstWindow()</a>.</p> <p>Referenced by <a class="el" href="PyApp_8cxx_source.html#l00153">PyApp::PyApp()</a>.</p> </div> </div> </div> <hr size="1"><address style="align: right;"><small> Generated for HippoDraw Class Library by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0> </a> </small></address> </body> </html>