Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > eebc325dc36bd6e3b09b9b45133e42f8 > files > 3519

HippoDraw-devel-docs-1.21.1-10.fc13.i686.rpm

<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&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.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="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="classes.html"><span>Class&nbsp;Index</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="namespacehippodraw.html">hippodraw</a>::<a class="el" href="classhippodraw_1_1ViewFactory.html">ViewFactory</a>
  </div>
</div>
<div class="contents">
<h1>ViewFactory Class Reference</h1><!-- doxytag: class="hippodraw::ViewFactory" -->
<p>The abstract base class for a factory that creates objects closely related to the graphics subsystem in use.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="ViewFactory_8h_source.html">ViewFactory.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for ViewFactory:</div>
<div class="dynsection">
<div class="center"><img src="classhippodraw_1_1ViewFactory__inherit__graph.gif" border="0" usemap="#ViewFactory_inherit__map" alt="Inheritance graph"/></div>
<map name="ViewFactory_inherit__map" id="ViewFactory_inherit__map">
<area shape="rect" id="node3" href="classhippodraw_1_1QtViewFactory.html" title="A ViewFactory which creates a view that uses Qt Drawing." alt="" coords="5,83,115,112"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for ViewFactory:</div>
<div class="dynsection">
<div class="center"><img src="classhippodraw_1_1ViewFactory__coll__graph.gif" border="0" usemap="#ViewFactory_coll__map" alt="Collaboration graph"/></div>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classhippodraw_1_1ViewFactory-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">virtual <a class="el" href="classhippodraw_1_1FontBase.html">FontBase</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1ViewFactory.html#a899d0c1db601348e775d815d17de5afc">createFont</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a default <a class="el" href="classhippodraw_1_1FontBase.html" title="A abstract base class for font handling.">FontBase</a> object.  <a href="#a899d0c1db601348e775d815d17de5afc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classhippodraw_1_1ViewBase.html">ViewBase</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1ViewFactory.html#aaa895487d5ae0f454e95502c04301d37">createView</a> (<a class="el" href="classhippodraw_1_1PlotterBase.html">PlotterBase</a> *plotter) const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a view for the <em>plotter</em>.  <a href="#aaa895487d5ae0f454e95502c04301d37"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1ViewFactory.html#ada8a106a1c17162286c62505992c4650">~ViewFactory</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The virtual destructor.  <a href="#ada8a106a1c17162286c62505992c4650"></a><br/></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="classhippodraw_1_1ViewFactory.html">ViewFactory</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1ViewFactory.html#a58ae11230ee002d2a4f5f47c9576cad7">instance</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The public interface for getting to the concrete default view factory.  <a href="#a58ae11230ee002d2a4f5f47c9576cad7"></a><br/></td></tr>
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1ViewFactory.html#a390cb9779736ebeb60803544610160ae">ViewFactory</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The default constructor is disallowed.  <a href="#a390cb9779736ebeb60803544610160ae"></a><br/></td></tr>
<tr><td colspan="2"><h2>Static Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classhippodraw_1_1ViewFactory.html">ViewFactory</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1ViewFactory.html#afa30175f3a71b4bb48ae93b70a2387a5">m_instance</a> = 0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">An instance of the default view factory.  <a href="#afa30175f3a71b4bb48ae93b70a2387a5"></a><br/></td></tr>
<tr><td colspan="2"><h2>Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1ViewFactory.html#ae33ed65cf28b64e7099c3a928c43325d">ViewFactory</a> (const <a class="el" href="classhippodraw_1_1ViewFactory.html">ViewFactory</a> &amp;)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The disallowed copy constructor.  <a href="#ae33ed65cf28b64e7099c3a928c43325d"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>The abstract base class for a factory that creates objects closely related to the graphics subsystem in use. </p>
<p>The factory objects create objects of concrete classes derived from <a class="el" href="classhippodraw_1_1ViewBase.html" title="The abstract base class for views.">ViewBase</a> and <a class="el" href="classhippodraw_1_1FontBase.html" title="A abstract base class for font handling.">FontBase</a>. Known examples of concrete view factorys are JavaViewFactory, OpenGLViewFactory and <a class="el" href="classhippodraw_1_1QtViewFactory.html" title="A ViewFactory which creates a view that uses Qt Drawing.">QtViewFactory</a>.</p>
<dl class="author"><dt><b>Author:</b></dt><dd>Paul F. Kunz &lt;<a href="mailto:Paul_Kunz@slac.stanford.edu">Paul_Kunz@slac.stanford.edu</a>&gt; </dd></dl>

<p>Definition at line <a class="el" href="ViewFactory_8h_source.html#l00035">35</a> of file <a class="el" href="ViewFactory_8h_source.html">ViewFactory.h</a>.</p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a390cb9779736ebeb60803544610160ae"></a><!-- doxytag: member="hippodraw::ViewFactory::ViewFactory" ref="a390cb9779736ebeb60803544610160ae" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classhippodraw_1_1ViewFactory.html">ViewFactory</a> </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The default constructor is disallowed. </p>

<p>Definition at line <a class="el" href="ViewFactory_8cxx_source.html#l00017">17</a> of file <a class="el" href="ViewFactory_8cxx_source.html">ViewFactory.cxx</a>.</p>

<p>References <a class="el" href="ViewFactory_8h_source.html#l00042">ViewFactory::m_instance</a>.</p>

</div>
</div>
<a class="anchor" id="ae33ed65cf28b64e7099c3a928c43325d"></a><!-- doxytag: member="hippodraw::ViewFactory::ViewFactory" ref="ae33ed65cf28b64e7099c3a928c43325d" args="(const ViewFactory &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classhippodraw_1_1ViewFactory.html">ViewFactory</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classhippodraw_1_1ViewFactory.html">ViewFactory</a> &amp;&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The disallowed copy constructor. </p>

</div>
</div>
<a class="anchor" id="ada8a106a1c17162286c62505992c4650"></a><!-- doxytag: member="hippodraw::ViewFactory::~ViewFactory" ref="ada8a106a1c17162286c62505992c4650" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual ~<a class="el" href="classhippodraw_1_1ViewFactory.html">ViewFactory</a> </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The virtual destructor. </p>
<p>The virtual destrcutor which is only needed to keep warning messages from some compilers such as Gcc 4.0.0. </p>

<p>Definition at line <a class="el" href="ViewFactory_8h_source.html#l00057">57</a> of file <a class="el" href="ViewFactory_8h_source.html">ViewFactory.h</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a899d0c1db601348e775d815d17de5afc"></a><!-- doxytag: member="hippodraw::ViewFactory::createFont" ref="a899d0c1db601348e775d815d17de5afc" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classhippodraw_1_1FontBase.html">FontBase</a>* createFont </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a default <a class="el" href="classhippodraw_1_1FontBase.html" title="A abstract base class for font handling.">FontBase</a> object. </p>

<p>Implemented in <a class="el" href="classhippodraw_1_1QtViewFactory.html#a9bb77cb2762438c24c221e2f36350691">QtViewFactory</a>.</p>

</div>
</div>
<a class="anchor" id="aaa895487d5ae0f454e95502c04301d37"></a><!-- doxytag: member="hippodraw::ViewFactory::createView" ref="aaa895487d5ae0f454e95502c04301d37" args="(PlotterBase *plotter) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classhippodraw_1_1ViewBase.html">ViewBase</a>* createView </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classhippodraw_1_1PlotterBase.html">PlotterBase</a> *&nbsp;</td>
          <td class="paramname"> <em>plotter</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a view for the <em>plotter</em>. </p>

<p>Implemented in <a class="el" href="classhippodraw_1_1QtViewFactory.html#a414d7a4a8284dff9db73bc7ed6be8b3c">QtViewFactory</a>.</p>

<p>Referenced by <a class="el" href="DisplayController_8cxx_source.html#l00709">DisplayController::createTextView()</a>, and <a class="el" href="XmlController_8cxx_source.html#l00316">XmlController::createView()</a>.</p>

</div>
</div>
<a class="anchor" id="a58ae11230ee002d2a4f5f47c9576cad7"></a><!-- doxytag: member="hippodraw::ViewFactory::instance" ref="a58ae11230ee002d2a4f5f47c9576cad7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classhippodraw_1_1ViewFactory.html">ViewFactory</a> * instance </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The public interface for getting to the concrete default view factory. </p>

<p>Reimplemented in <a class="el" href="classhippodraw_1_1QtViewFactory.html#a58ae11230ee002d2a4f5f47c9576cad7">QtViewFactory</a>.</p>

<p>Definition at line <a class="el" href="ViewFactory_8cxx_source.html#l00022">22</a> of file <a class="el" href="ViewFactory_8cxx_source.html">ViewFactory.cxx</a>.</p>

<p>References <a class="el" href="ViewFactory_8h_source.html#l00042">ViewFactory::m_instance</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="afa30175f3a71b4bb48ae93b70a2387a5"></a><!-- doxytag: member="hippodraw::ViewFactory::m_instance" ref="afa30175f3a71b4bb48ae93b70a2387a5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classhippodraw_1_1ViewFactory.html">ViewFactory</a> * <a class="el" href="classhippodraw_1_1ViewFactory.html#afa30175f3a71b4bb48ae93b70a2387a5">m_instance</a> = 0<code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>An instance of the default view factory. </p>
<p>It should be created at the application initialization time for the default concrete view factory. </p>

<p>Definition at line <a class="el" href="ViewFactory_8h_source.html#l00042">42</a> of file <a class="el" href="ViewFactory_8h_source.html">ViewFactory.h</a>.</p>

<p>Referenced by <a class="el" href="ViewFactory_8cxx_source.html#l00022">ViewFactory::instance()</a>, <a class="el" href="QtViewFactory_8cxx_source.html#l00030">QtViewFactory::instance()</a>, and <a class="el" href="ViewFactory_8cxx_source.html#l00017">ViewFactory::ViewFactory()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="ViewFactory_8h_source.html">ViewFactory.h</a></li>
<li><a class="el" href="ViewFactory_8cxx_source.html">ViewFactory.cxx</a></li>
</ul>
</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>