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 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109
|
<HTML>
<HEAD>
<TITLE>TOPPViewBehaviorInterface.h Source File</TITLE>
<LINK HREF="doxygen.css" REL="stylesheet" TYPE="text/css">
<LINK HREF="style_ini.css" REL="stylesheet" TYPE="text/css">
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<A href="index.html">Home</A> ·
<A href="classes.html">Classes</A> ·
<A href="annotated.html">Annotated Classes</A> ·
<A href="modules.html">Modules</A> ·
<A href="functions_func.html">Members</A> ·
<A href="namespaces.html">Namespaces</A> ·
<A href="pages.html">Related Pages</A>
<HR style="height:1px; border:none; border-top:1px solid #c0c0c0;">
<!-- Generated by Doxygen 1.8.5 -->
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_e770f0cf77e550adde3f44739ef529fe.html">include</a></li><li class="navelem"><a class="el" href="dir_6a63c4937d4da007e55fff5dcf71e0f8.html">OpenMS</a></li><li class="navelem"><a class="el" href="dir_2997ac12008a18000666f01ba7d0ffaa.html">VISUAL</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">TOPPViewBehaviorInterface.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="TOPPViewBehaviorInterface_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">// --------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// OpenMS -- Open-Source Mass Spectrometry</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// --------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">// Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// ETH Zurich, and Freie Universitaet Berlin 2002-2013.</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">//</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">// This software is released under a three-clause BSD license:</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">// * Redistributions of source code must retain the above copyright</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">// notice, this list of conditions and the following disclaimer.</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">// * Redistributions in binary form must reproduce the above copyright</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">// notice, this list of conditions and the following disclaimer in the</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">// documentation and/or other materials provided with the distribution.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">// * Neither the name of any author or any participating institution</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">// may be used to endorse or promote products derived from this software</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">// without specific prior written permission.</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment">// For a full list of authors, refer to the file AUTHORS.</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment">// --------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment">// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment">// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment">// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment">// ARE DISCLAIMED. IN NO EVENT SHALL ANY OF THE AUTHORS OR THE CONTRIBUTING</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment">// INSTITUTIONS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment">// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment">// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment">// OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment">// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="comment">// OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="comment">// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="comment">//</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment">// --------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="comment">// $Maintainer: Timo Sachsenberg $</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="comment">// $Authors: Timo Sachsenberg $</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="comment">// --------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor">#ifndef OPENMS_VISUAL_TOPPVIEWBEHAVIORINTERFACE_H</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor"></span><span class="preprocessor">#define OPENMS_VISUAL_TOPPVIEWBEHAVIORINTERFACE_H</span></div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor"></span></div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor">#include <QtCore/QObject></span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor">#include <vector></span></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> </div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="keyword">namespace </span>OpenMS</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> {</div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="classOpenMS_1_1TOPPViewBehaviorInterface.html"> 47</a></span>  <span class="keyword">class </span><a class="code" href="classOpenMS_1_1TOPPViewBehaviorInterface.html">TOPPViewBehaviorInterface</a> :</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keyword">public</span> <a class="code" href="classQObject.html">QObject</a></div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  {</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  Q_OBJECT</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> </div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="keyword">public</span>:</div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="classOpenMS_1_1TOPPViewBehaviorInterface.html#a573541cd8818f6cd864dbb8bc56bb88f"> 54</a></span>  <span class="keyword">virtual</span> <a class="code" href="classOpenMS_1_1TOPPViewBehaviorInterface.html#a573541cd8818f6cd864dbb8bc56bb88f">~TOPPViewBehaviorInterface</a>() {}</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> </div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="keyword">public</span> slots:</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classOpenMS_1_1TOPPViewBehaviorInterface.html#a8d113e37a90360da158ddf07c7a39515">showSpectrumAs1D</a>(<span class="keywordtype">int</span> index) = 0;</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> </div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classOpenMS_1_1TOPPViewBehaviorInterface.html#a45c6956a747532e2ce992e6fcabfae6e">activate1DSpectrum</a>(<span class="keywordtype">int</span> index) = 0;</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classOpenMS_1_1TOPPViewBehaviorInterface.html#a45c6956a747532e2ce992e6fcabfae6e">activate1DSpectrum</a>(std::vector<<span class="keywordtype">int</span>, std::allocator<int> > indices) = 0;</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> </div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classOpenMS_1_1TOPPViewBehaviorInterface.html#a80ba9ed3b77406b3829d012cdf74c839">deactivate1DSpectrum</a>(<span class="keywordtype">int</span> index) = 0;</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> </div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classOpenMS_1_1TOPPViewBehaviorInterface.html#ab67dd8f6035206616d85476a595bd880">activateBehavior</a>() = 0;</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> </div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classOpenMS_1_1TOPPViewBehaviorInterface.html#adc772e16dd4c19d332dc38fa2daf0a6f">deactivateBehavior</a>() = 0;</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  };</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> }</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> </div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> <span class="preprocessor">#endif // OPENMS_VISUAL_TOPPVIEWBEHAVIORINTERFACE_H</span></div>
<div class="ttc" id="classOpenMS_1_1TOPPViewBehaviorInterface_html_a80ba9ed3b77406b3829d012cdf74c839"><div class="ttname"><a href="classOpenMS_1_1TOPPViewBehaviorInterface.html#a80ba9ed3b77406b3829d012cdf74c839">OpenMS::TOPPViewBehaviorInterface::deactivate1DSpectrum</a></div><div class="ttdeci">virtual void deactivate1DSpectrum(int index)=0</div><div class="ttdoc">Behavior for deactivate1DSpectrum. </div></div>
<div class="ttc" id="classQObject_html"><div class="ttname"><a href="classQObject.html">QObject</a></div></div>
<div class="ttc" id="classOpenMS_1_1TOPPViewBehaviorInterface_html_adc772e16dd4c19d332dc38fa2daf0a6f"><div class="ttname"><a href="classOpenMS_1_1TOPPViewBehaviorInterface.html#adc772e16dd4c19d332dc38fa2daf0a6f">OpenMS::TOPPViewBehaviorInterface::deactivateBehavior</a></div><div class="ttdeci">virtual void deactivateBehavior()=0</div><div class="ttdoc">Slot for behavior deactivation. </div></div>
<div class="ttc" id="classOpenMS_1_1TOPPViewBehaviorInterface_html_a8d113e37a90360da158ddf07c7a39515"><div class="ttname"><a href="classOpenMS_1_1TOPPViewBehaviorInterface.html#a8d113e37a90360da158ddf07c7a39515">OpenMS::TOPPViewBehaviorInterface::showSpectrumAs1D</a></div><div class="ttdeci">virtual void showSpectrumAs1D(int index)=0</div><div class="ttdoc">Behavior for showSpectraumAs1D. </div></div>
<div class="ttc" id="classOpenMS_1_1TOPPViewBehaviorInterface_html_a573541cd8818f6cd864dbb8bc56bb88f"><div class="ttname"><a href="classOpenMS_1_1TOPPViewBehaviorInterface.html#a573541cd8818f6cd864dbb8bc56bb88f">OpenMS::TOPPViewBehaviorInterface::~TOPPViewBehaviorInterface</a></div><div class="ttdeci">virtual ~TOPPViewBehaviorInterface()</div><div class="ttdoc">Destructor. </div><div class="ttdef"><b>Definition:</b> TOPPViewBehaviorInterface.h:54</div></div>
<div class="ttc" id="classOpenMS_1_1TOPPViewBehaviorInterface_html_a45c6956a747532e2ce992e6fcabfae6e"><div class="ttname"><a href="classOpenMS_1_1TOPPViewBehaviorInterface.html#a45c6956a747532e2ce992e6fcabfae6e">OpenMS::TOPPViewBehaviorInterface::activate1DSpectrum</a></div><div class="ttdeci">virtual void activate1DSpectrum(int index)=0</div><div class="ttdoc">Behavior for activate1DSpectrum. </div></div>
<div class="ttc" id="classOpenMS_1_1TOPPViewBehaviorInterface_html"><div class="ttname"><a href="classOpenMS_1_1TOPPViewBehaviorInterface.html">OpenMS::TOPPViewBehaviorInterface</a></div><div class="ttdoc">Interface class to model different behaviors of TOPPView. </div><div class="ttdef"><b>Definition:</b> TOPPViewBehaviorInterface.h:47</div></div>
<div class="ttc" id="classOpenMS_1_1TOPPViewBehaviorInterface_html_ab67dd8f6035206616d85476a595bd880"><div class="ttname"><a href="classOpenMS_1_1TOPPViewBehaviorInterface.html#ab67dd8f6035206616d85476a595bd880">OpenMS::TOPPViewBehaviorInterface::activateBehavior</a></div><div class="ttdeci">virtual void activateBehavior()=0</div><div class="ttdoc">Slot for behavior activation. </div></div>
</div><!-- fragment --></div><!-- contents -->
<HR style="height:1px; border:none; border-top:1px solid #c0c0c0;">
<TABLE width="100%" border="0">
<TR>
<TD><font color="#c0c0c0">OpenMS / TOPP release 1.11.1</font></TD>
<TD align="right"><font color="#c0c0c0">Documentation generated on Thu Nov 14 2013 11:19:22 using doxygen 1.8.5</font></TD>
</TR>
</TABLE>
</BODY>
</HTML>
|