Willkommen bei WordPress. Dies ist dein erster Beitrag. Bearbeite oder lösche ihn und beginne mit dem Schreiben!
Hallo Welt!
von raredesign | Dez 3, 2019 | Allgemein | 0 Kommentare
Cokiee Shell
Current Path : /proc/self/root/usr/share/doc/libclam-doc/html/ |
Current File : //proc/self/root/usr/share/doc/libclam-doc/html/SpectralPeakDetect_8hxx_source.html |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <title>CLAM-Development: SpectralPeakDetect.hxx Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">CLAM-Development  <span id="projectnumber">1.4.0</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.1 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <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="modules.html"><span>Modules</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> <div id="navrow2" class="tabs2"> <ul class="tablist"> <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 id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_098894a2b9860dda60979d343b8f7997.html">Processing</a></li><li class="navelem"><a class="el" href="dir_3bb38452a33e18a9d5968b07586046b5.html">Analysis</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">SpectralPeakDetect.hxx</div> </div> </div><!--header--> <div class="contents"> <a href="SpectralPeakDetect_8hxx.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"> * Copyright (c) 2001-2004 MUSIC TECHNOLOGY GROUP (MTG)</span></div> <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * UNIVERSITAT POMPEU FABRA</span></div> <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> *</span></div> <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> *</span></div> <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * This program is free software; you can redistribute it and/or modify</span></div> <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * it under the terms of the GNU General Public License as published by</span></div> <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * the Free Software Foundation; either version 2 of the License, or</span></div> <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * (at your option) any later version.</span></div> <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> *</span></div> <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * This program is distributed in the hope that it will be useful,</span></div> <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div> <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></div> <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * GNU General Public License for more details.</span></div> <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> *</span></div> <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * You should have received a copy of the GNU General Public License</span></div> <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * along with this program; if not, write to the Free Software</span></div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span></div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> *</span></div> <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> */</span></div> <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div> <div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#ifndef _SpectralPeakDetect_</span></div> <div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor"></span><span class="preprocessor">#define _SpectralPeakDetect_</span></div> <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include "<a class="code" href="Processing_8hxx.html">Processing.hxx</a>"</span></div> <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include "<a class="code" href="InPort_8hxx.html">InPort.hxx</a>"</span></div> <div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include "<a class="code" href="OutPort_8hxx.html">OutPort.hxx</a>"</span></div> <div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include "<a class="code" href="SpectralPeakDetectConfig_8hxx.html">SpectralPeakDetectConfig.hxx</a>"</span></div> <div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include "<a class="code" href="Spectrum_8hxx.html">Spectrum.hxx</a>"</span></div> <div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div> <div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="keyword">namespace </span>CLAM</div> <div class="line"><a name="l00032"></a><span class="lineno"> 32</span> {</div> <div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div> <div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="keyword">class </span>SpectralPeakArray;</div> <div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="keyword">class </span>Storage;</div> <div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="keyword">class </span>ProcessingConfig;</div> <div class="line"><a name="l00037"></a><span class="lineno"> 37</span> </div> <div class="line"><a name="l00048"></a><span class="lineno"><a class="code" href="classCLAM_1_1SpectralPeakDetect.html"> 48</a></span>  <span class="keyword">class </span><a class="code" href="classCLAM_1_1SpectralPeakDetect.html" title="This class is dedicated to find magnitude SpectralPeaks in a given spectral frame.">SpectralPeakDetect</a>: <span class="keyword">public</span> <a class="code" href="classCLAM_1_1Processing.html" title="The base class for all the CLAM processing object classes.">Processing</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>  <span class="keyword">protected</span>: <span class="comment">// attributes</span></div> <div class="line"><a name="l00051"></a><span class="lineno"><a class="code" href="classCLAM_1_1SpectralPeakDetect.html#a885543bfd8f48a8e7662d000580ec049"> 51</a></span>  <a class="code" href="classCLAM_1_1SpectralPeakDetectConfig.html" title="Configuration class for SpectralPeakDetect objects.">SpectralPeakDetectConfig</a> <a class="code" href="classCLAM_1_1SpectralPeakDetect.html#a885543bfd8f48a8e7662d000580ec049">mConfig</a>;</div> <div class="line"><a name="l00052"></a><span class="lineno"> 52</span> </div> <div class="line"><a name="l00053"></a><span class="lineno"><a class="code" href="classCLAM_1_1SpectralPeakDetect.html#a2c72a9037ee9faaea158e6e8de46b77c"> 53</a></span>  <a class="code" href="classCLAM_1_1InPort.html">InPort< Spectrum ></a> <a class="code" href="classCLAM_1_1SpectralPeakDetect.html#a2c72a9037ee9faaea158e6e8de46b77c">mInput</a>;</div> <div class="line"><a name="l00054"></a><span class="lineno"><a class="code" href="classCLAM_1_1SpectralPeakDetect.html#ab0c342aeb5d8def119c0d866ab63463e"> 54</a></span>  <a class="code" href="classCLAM_1_1OutPort.html">OutPort< SpectralPeakArray ></a> <a class="code" href="classCLAM_1_1SpectralPeakDetect.html#ab0c342aeb5d8def119c0d866ab63463e">mOutput</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">protected</span>: <span class="comment">// methods</span></div> <div class="line"><a name="l00060"></a><span class="lineno"><a class="code" href="classCLAM_1_1SpectralPeakDetect.html#a4053b30664067523701d53bd2e9f5431"> 60</a></span> <span class="comment"></span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="classCLAM_1_1SpectralPeakDetect.html#a4053b30664067523701d53bd2e9f5431" title="This method returns the name of the object.">GetClassName</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <span class="stringliteral">"SpectralPeakDetect"</span>;}</div> <div class="line"><a name="l00061"></a><span class="lineno"> 61</span> </div> <div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keywordtype">bool</span> <a class="code" href="classCLAM_1_1SpectralPeakDetect.html#a7dcf3c1de55934c5c993d61cd9068113" title="Config change method.">ConcreteConfigure</a>(<span class="keyword">const</span> <a class="code" href="classCLAM_1_1ProcessingConfig.html" title="This is an abstract class which serves as interface for configuration classes used as processing obje...">ProcessingConfig</a>&);</div> <div class="line"><a name="l00068"></a><span class="lineno"> 68</span> </div> <div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keyword">public</span>:</div> <div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <a class="code" href="classCLAM_1_1SpectralPeakDetect.html#a760210d857d2697aa892ac1867d74637" title="Base constructor of class.">SpectralPeakDetect</a>();</div> <div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <a class="code" href="classCLAM_1_1SpectralPeakDetect.html#a760210d857d2697aa892ac1867d74637" title="Base constructor of class.">SpectralPeakDetect</a>(<span class="keyword">const</span> <a class="code" href="classCLAM_1_1SpectralPeakDetectConfig.html" title="Configuration class for SpectralPeakDetect objects.">SpectralPeakDetectConfig</a> &c);</div> <div class="line"><a name="l00076"></a><span class="lineno"> 76</span> </div> <div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keyword">virtual</span> <a class="code" href="classCLAM_1_1SpectralPeakDetect.html#a066afd7494d41002ef1f7bee36f172de" title="Destructor of the class.">~SpectralPeakDetect</a>();</div> <div class="line"><a name="l00079"></a><span class="lineno"> 79</span> </div> <div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div> <div class="line"><a name="l00084"></a><span class="lineno"><a class="code" href="classCLAM_1_1SpectralPeakDetect.html#a46b1299675ed3708c86c5db6cff6fcd6"> 84</a></span>  <span class="keyword">const</span> <a class="code" href="classCLAM_1_1ProcessingConfig.html" title="This is an abstract class which serves as interface for configuration classes used as processing obje...">ProcessingConfig</a> &<a class="code" href="classCLAM_1_1SpectralPeakDetect.html#a46b1299675ed3708c86c5db6cff6fcd6" title="This method allows to obtain the SpectralPeakDetectConfig object of the class.">GetConfig</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classCLAM_1_1SpectralPeakDetect.html#a885543bfd8f48a8e7662d000580ec049">mConfig</a>;}</div> <div class="line"><a name="l00085"></a><span class="lineno"> 85</span> </div> <div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="keywordtype">bool</span> <a class="code" href="classCLAM_1_1SpectralPeakDetect.html#a5b5d3589b9e01e9bae2cd9a65f6310db" title="Supervised Do() function.">Do</a>(<span class="keywordtype">void</span>);</div> <div class="line"><a name="l00088"></a><span class="lineno"> 88</span> </div> <div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="keywordtype">bool</span> <a class="code" href="classCLAM_1_1SpectralPeakDetect.html#a5b5d3589b9e01e9bae2cd9a65f6310db" title="Supervised Do() function.">Do</a>(<span class="keyword">const</span> <a class="code" href="classCLAM_1_1Spectrum.html" title="Spectrum is a ProcessingData class that allows the following representations: Mag/Phase, Complex, Polar and Break Point Function (BPF).">Spectrum</a>& input, <a class="code" href="classCLAM_1_1SpectralPeakArray.html" title="This processing data class offers an interface for storing an array of spectral peaks while maintaini...">SpectralPeakArray</a>& out);</div> <div class="line"><a name="l00095"></a><span class="lineno"> 95</span> </div> <div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="keywordtype">bool</span> <a class="code" href="classCLAM_1_1SpectralPeakDetect.html#a0052d224428699891c423a5b27166a2d">SetPrototypes</a>(<a class="code" href="classCLAM_1_1Spectrum.html" title="Spectrum is a ProcessingData class that allows the following representations: Mag/Phase, Complex, Polar and Break Point Function (BPF).">Spectrum</a>& inputs,<span class="keyword">const</span> <a class="code" href="classCLAM_1_1SpectralPeakArray.html" title="This processing data class offers an interface for storing an array of spectral peaks while maintaini...">SpectralPeakArray</a>& out);</div> <div class="line"><a name="l00103"></a><span class="lineno"> 103</span> </div> <div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keywordtype">bool</span> <a class="code" href="classCLAM_1_1SpectralPeakDetect.html#a0052d224428699891c423a5b27166a2d">SetPrototypes</a>();</div> <div class="line"><a name="l00105"></a><span class="lineno"> 105</span> </div> <div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="keywordtype">bool</span> <a class="code" href="classCLAM_1_1SpectralPeakDetect.html#a1a70eecfd4ad4459b4008fe8c8981950">UnsetPrototypes</a>();</div> <div class="line"><a name="l00107"></a><span class="lineno"> 107</span> </div> <div class="line"><a name="l00108"></a><span class="lineno"><a class="code" href="classCLAM_1_1SpectralPeakDetect.html#a8b55d98ebcdf26a0d77868d502dbc335"> 108</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classCLAM_1_1SpectralPeakDetect.html#a8b55d98ebcdf26a0d77868d502dbc335">MayDisableExecution</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <span class="keyword">true</span>;}</div> <div class="line"><a name="l00109"></a><span class="lineno"> 109</span> </div> <div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <span class="keyword">private</span>:</div> <div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> Detect(<a class="code" href="classCLAM_1_1Spectrum.html" title="Spectrum is a ProcessingData class that allows the following representations: Mag/Phase, Complex, Polar and Break Point Function (BPF).">Spectrum</a>& inputs, <a class="code" href="classCLAM_1_1Spectrum.html" title="Spectrum is a ProcessingData class that allows the following representations: Mag/Phase, Complex, Polar and Break Point Function (BPF).">Spectrum</a>& out);</div> <div class="line"><a name="l00113"></a><span class="lineno"> 113</span> </div> <div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="keywordtype">bool</span> CheckInputType(<span class="keyword">const</span> <a class="code" href="classCLAM_1_1Spectrum.html" title="Spectrum is a ProcessingData class that allows the following representations: Mag/Phase, Complex, Polar and Break Point Function (BPF).">Spectrum</a> &in);</div> <div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="keywordtype">bool</span> CheckOutputType(<span class="keyword">const</span> <a class="code" href="classCLAM_1_1SpectralPeakArray.html" title="This processing data class offers an interface for storing an array of spectral peaks while maintaini...">SpectralPeakArray</a> &out);</div> <div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  </div> <div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <a class="code" href="classCLAM_1_1Spectrum.html" title="Spectrum is a ProcessingData class that allows the following representations: Mag/Phase, Complex, Polar and Break Point Function (BPF).">Spectrum</a> mTmpLinearInSpectrum;</div> <div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  }; </div> <div class="line"><a name="l00119"></a><span class="lineno"> 119</span> </div> <div class="line"><a name="l00120"></a><span class="lineno"> 120</span> } <span class="comment">//namespace CLAM</span></div> <div class="line"><a name="l00121"></a><span class="lineno"> 121</span> </div> <div class="line"><a name="l00122"></a><span class="lineno"> 122</span> <span class="preprocessor">#endif // _SpectralPeak_Detect_</span></div> <div class="line"><a name="l00123"></a><span class="lineno"> 123</span> <span class="preprocessor"></span></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.1 </small></address> </body> </html>
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare