summaryrefslogtreecommitdiffstats
path: root/ue3/doxygen/cdisplay_8h-source.html
blob: b8c4ef31fcb9151f9b32eecfedadcbc364d59c22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>mycpu: mycpu/cdisplay.h Source File</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.3 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</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>
  </ul>
</div>
<h1>mycpu/cdisplay.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00008"></a>00008 <span class="preprocessor">#ifndef CDISPLAY_H</span>
<a name="l00009"></a>00009 <span class="preprocessor"></span><span class="preprocessor">#define CDISPLAY_H 1</span>
<a name="l00010"></a>00010 <span class="preprocessor"></span>
<a name="l00016"></a>00016 <span class="keyword">template</span> &lt;<span class="keyword">class</span> T&gt;
<a name="l00017"></a><a class="code" href="classCDisplayT.html">00017</a> <span class="keyword">class </span><a class="code" href="classCDisplayT.html">CDisplayT</a>
<a name="l00018"></a>00018 {
<a name="l00019"></a>00019   <span class="keyword">public</span>:
<a name="l00029"></a><a class="code" href="classCDisplayT.html#d65d27ce8533285525788f3cc534ff14">00029</a>     <a class="code" href="classCDisplayT.html#d65d27ce8533285525788f3cc534ff14" title="Default ctor.">CDisplayT</a>(std::string name)
<a name="l00030"></a>00030       : <a class="code" href="classCDisplayT.html#ba8ab4d4abe2426b266660134efb370f">m_name</a>(name)
<a name="l00031"></a>00031     {}
<a name="l00032"></a>00032 
<a name="l00042"></a><a class="code" href="classCDisplayT.html#edeeab4320b2c3a5b482d216e73e5999">00042</a>     <span class="keyword">virtual</span> <a class="code" href="classCDisplayT.html#edeeab4320b2c3a5b482d216e73e5999" title="Default dtor.">~CDisplayT</a>()
<a name="l00043"></a>00043     {}
<a name="l00044"></a>00044 
<a name="l00054"></a><a class="code" href="classCDisplayT.html#32897b9abaec6e9a0e73ae746ab5cec0">00054</a>     <span class="keyword">virtual</span> <span class="keyword">const</span> std::string&amp; <a class="code" href="classCDisplayT.html#32897b9abaec6e9a0e73ae746ab5cec0" title="returns name of display">getName</a>()
<a name="l00055"></a>00055     {
<a name="l00056"></a>00056       <span class="keywordflow">return</span> <a class="code" href="classCDisplayT.html#ba8ab4d4abe2426b266660134efb370f">m_name</a>;
<a name="l00057"></a>00057     }
<a name="l00058"></a>00058 
<a name="l00068"></a>00068     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classCDisplayT.html#5a15f96d3d76bdbb2b172c52036859c2" title="prints value to display">display</a>(<span class="keyword">const</span> T &amp;value) = 0;
<a name="l00069"></a>00069 
<a name="l00070"></a>00070   <span class="keyword">protected</span>:
<a name="l00071"></a>00071     <span class="comment">/* members */</span>
<a name="l00073"></a><a class="code" href="classCDisplayT.html#ba8ab4d4abe2426b266660134efb370f">00073</a>     std::string <a class="code" href="classCDisplayT.html#ba8ab4d4abe2426b266660134efb370f">m_name</a>;
<a name="l00074"></a>00074 };
<a name="l00075"></a>00075 
<a name="l00081"></a>00081 <span class="keyword">typedef</span> <a class="code" href="classCDisplayT.html">CDisplayT&lt;CDat&gt;</a> <a class="code" href="classCDisplay.html">CDisplay</a>;
<a name="l00082"></a>00082 
<a name="l00083"></a>00083 <span class="preprocessor">#endif</span>
<a name="l00084"></a>00084 <span class="preprocessor"></span>
<a name="l00085"></a>00085 <span class="comment">/* vim: set et sw=2 ts=2: */</span>
</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Thu May 14 18:19:16 2009 for mycpu by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
</body>
</html>