<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_dd37c879693a21e1d65a2840272c12ab.html">graphics</a> </div> </div> <div class="contents"> <h1>ViewFactory.h</h1><a href="ViewFactory_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* -*- mode: c++ -*- */</span> <a name="l00002"></a>00002 <a name="l00014"></a>00014 <span class="preprocessor">#ifndef _ViewFactory_H_</span> <a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define _ViewFactory_H_</span> <a name="l00016"></a>00016 <span class="preprocessor"></span> <a name="l00017"></a>00017 <span class="preprocessor">#include "<a class="code" href="libhippo_8h.html">pattern/libhippo.h</a>"</span> <a name="l00018"></a>00018 <a name="l00019"></a>00019 <span class="keyword">namespace </span>hippodraw { <a name="l00020"></a>00020 <a name="l00021"></a>00021 <span class="keyword">class </span>FontBase; <a name="l00022"></a>00022 <span class="keyword">class </span>PlotterBase; <a name="l00023"></a>00023 <span class="keyword">class </span>ViewBase; <a name="l00024"></a>00024 <a name="l00035"></a><a class="code" href="classhippodraw_1_1ViewFactory.html">00035</a> <span class="keyword">class </span><a class="code" href="libhippo_8h.html#a480024fd54849c743866874550153711">MDL_HIPPOPLOT_API</a> <a class="code" href="classhippodraw_1_1ViewFactory.html" title="The abstract base class for a factory that creates objects closely related to the...">ViewFactory</a> <a name="l00036"></a>00036 { <a name="l00037"></a>00037 <span class="keyword">protected</span>: <a name="l00038"></a>00038 <a name="l00042"></a><a class="code" href="classhippodraw_1_1ViewFactory.html#afa30175f3a71b4bb48ae93b70a2387a5">00042</a> <span class="keyword">static</span> <a class="code" href="classhippodraw_1_1ViewFactory.html" title="The abstract base class for a factory that creates objects closely related to the...">ViewFactory</a> * m_instance; <a name="l00043"></a>00043 <a name="l00045"></a>00045 <a class="code" href="classhippodraw_1_1ViewFactory.html" title="The abstract base class for a factory that creates objects closely related to the...">ViewFactory</a>(); <a name="l00046"></a>00046 <a name="l00047"></a>00047 <span class="keyword">private</span>: <a name="l00049"></a>00049 <a class="code" href="classhippodraw_1_1ViewFactory.html" title="The abstract base class for a factory that creates objects closely related to the...">ViewFactory</a>( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1ViewFactory.html" title="The abstract base class for a factory that creates objects closely related to the...">ViewFactory</a> & ); <a name="l00050"></a>00050 <a name="l00051"></a>00051 <span class="keyword">public</span>: <a name="l00052"></a>00052 <a name="l00057"></a><a class="code" href="classhippodraw_1_1ViewFactory.html#ada8a106a1c17162286c62505992c4650">00057</a> <span class="keyword">virtual</span> <a class="code" href="classhippodraw_1_1ViewFactory.html#ada8a106a1c17162286c62505992c4650" title="The virtual destructor.">~ViewFactory</a> () {}; <a name="l00058"></a>00058 <a name="l00060"></a>00060 <span class="keyword">static</span> <a class="code" href="classhippodraw_1_1ViewFactory.html" title="The abstract base class for a factory that creates objects closely related to the...">ViewFactory</a> * instance(); <a name="l00061"></a>00061 <a name="l00063"></a>00063 <span class="keyword">virtual</span> <a class="code" href="classhippodraw_1_1ViewBase.html" title="The abstract base class for views.">ViewBase</a> * createView ( <a class="code" href="classhippodraw_1_1PlotterBase.html" title="The base class for the PlotterBase hierarchy.">PlotterBase</a> * plotter ) <span class="keyword">const</span> = 0; <a name="l00064"></a>00064 <a name="l00067"></a>00067 <span class="keyword">virtual</span> <a class="code" href="classhippodraw_1_1FontBase.html" title="A abstract base class for font handling.">FontBase</a> * createFont ( ) <span class="keyword">const</span> = 0; <a name="l00068"></a>00068 <a name="l00069"></a>00069 }; <a name="l00070"></a>00070 <a name="l00071"></a>00071 } <span class="comment">// namespace hippodraw</span> <a name="l00072"></a>00072 <a name="l00073"></a>00073 <span class="preprocessor">#endif // _ViewFactory_H_</span> </pre></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>