aflibchain_8h-source.html

来自「一个共享源码的音频库5(doc 文档)」· HTML 代码 · 共 135 行

HTML
135
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>aflibChain.h Source File</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.2.15 --><center><a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center><hr><h1>aflibChain.h</h1><a href="aflibChain_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <font class="comment">/*</font>00002 <font class="comment"> * Copyright: (C) 1999-2001 Bruce W. Forsberg</font>00003 <font class="comment"> *</font>00004 <font class="comment"> *   This library is free software; you can redistribute it and/or</font>00005 <font class="comment"> *   modify it under the terms of the GNU Lesser General Public</font>00006 <font class="comment"> *   License as published by the Free Software Foundation; either</font>00007 <font class="comment"> *   version 2.1 of the License, or any later version.</font>00008 <font class="comment"> *</font>00009 <font class="comment"> *   This library is distributed in the hope that it will be useful,</font>00010 <font class="comment"> *   but WITHOUT ANY WARRANTY; without even the implied warranty of</font>00011 <font class="comment"> *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU</font>00012 <font class="comment"> *   Lesser General Public License for more details.</font>00013 <font class="comment"> *</font>00014 <font class="comment"> *   You should have received a copy of the GNU Lesser General Public</font>00015 <font class="comment"> *   License along with this library; if not, write to the Free Software</font>00016 <font class="comment"> *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA</font>00017 <font class="comment"> *</font>00018 <font class="comment"> *   Bruce Forsberg  forsberg@tns.net</font>00019 <font class="comment"> *</font>00020 <font class="comment"> */</font>00021 00022 00023 <font class="preprocessor">#ifndef _AFLIBCHAIN_H</font>00024 <font class="preprocessor"></font><font class="preprocessor">#define _AFLIBCHAIN_H</font>00025 <font class="preprocessor"></font>00026 <font class="preprocessor">#ifdef HAVE_CONFIG_H</font>00027 <font class="preprocessor"></font><font class="preprocessor">#include &lt;config.h&gt;</font>00028 <font class="preprocessor">#endif</font>00029 <font class="preprocessor"></font>00030 <font class="preprocessor">#include &lt;list&gt;</font>00031 <font class="preprocessor">#include &lt;map&gt;</font>00032 <font class="preprocessor">#include &lt;functional&gt;</font>00033 <font class="preprocessor">#include "<a class="code" href="aflib_8h.html">aflib.h</a>"</font>00034 <font class="keyword">using</font> std::list;00035 <font class="keyword">using</font> std::map;00036 <font class="keyword">using</font> std::less;00037 00056 <font class="keyword">class </font><a class="code" href="classaflibAudio.html">aflibAudio</a>;00057 <font class="keyword">class </font><a class="code" href="classaflibChainNode.html">aflibChainNode</a>;00058 00059 00060 <font class="keyword">class </font><a class="code" href="classaflibChain.html">aflibChain</a> {00061 00062 <font class="keyword">public</font>:00063 00064    <font class="keyword">virtual</font>00065    <a class="code" href="classaflibChain.html#a0">~aflibChain</a>();00066 00067    <font class="keyword">const</font> map&lt;int, aflibAudio *, less&lt;int&gt; &gt;&amp;00068    <a class="code" href="classaflibChain.html#a1">getParents</a>() <font class="keyword">const</font>;00069 00070    <font class="keywordtype">int</font>00071    <a class="code" href="classaflibChain.html#a2">addParent</a>(<a class="code" href="classaflibAudio.html">aflibAudio</a>&amp; parent);00072 00073    <font class="keywordtype">void</font>00074    <a class="code" href="classaflibChain.html#a3">removeParent</a>(<font class="keywordtype">int</font> parent_id);00075 00076    <font class="keywordtype">void</font>00077    <a class="code" href="classaflibChain.html#a3">removeParent</a>(<a class="code" href="classaflibAudio.html">aflibAudio</a>&amp; parent);00078 00079    <font class="keywordtype">bool</font>00080    <a class="code" href="classaflibChain.html#a5">getNodeProcessed</a>() <font class="keyword">const</font>;00081  00082    <font class="keywordtype">void</font>00083    <a class="code" href="classaflibChain.html#a6">setNodeProcessed</a>(<font class="keywordtype">bool</font> node);00084 00085    <font class="keywordtype">void</font>00086    <a class="code" href="classaflibChain.html#a7">dumpChain</a>(<font class="keywordtype">bool</font> check_env = TRUE);00087 00088 <font class="keyword">protected</font>:00089 00090    <a class="code" href="classaflibChain.html#b0">aflibChain</a>();00091    <a class="code" href="classaflibChain.html#b0">aflibChain</a>(<a class="code" href="classaflibAudio.html">aflibAudio</a>&amp; parent);00092 00093    <font class="keywordtype">void</font>00094    <a class="code" href="classaflibChain.html#b2">replaceParent</a>(00095       <a class="code" href="classaflibAudio.html">aflibAudio</a>&amp; old_p,00096       <a class="code" href="classaflibAudio.html">aflibAudio</a>&amp; new_p);00097 00098    <font class="comment">// These are callback functions that derived classes can over ride to be</font>00099    <font class="comment">// notified when a parent is destroyed or added. An Audio Editor object</font>00100    <font class="comment">// for instance may have many inputs and if one is destroyed then it needs to</font>00101    <font class="comment">// be notified so that it can rebuild its lists.</font>00102    <font class="keyword">virtual</font> <font class="keywordtype">void</font>00103    <a class="code" href="classaflibChain.html#b3">parentWasDestroyed</a>(<font class="keywordtype">int</font> parent_id);00104 00105    <font class="keyword">virtual</font> <font class="keywordtype">void</font>00106    <a class="code" href="classaflibChain.html#b4">parentWasAdded</a>(<font class="keywordtype">int</font> parent_id);00107 00108 <font class="keyword">private</font>:00109 00110    <a class="code" href="classaflibChain.html#b0">aflibChain</a>(<a class="code" href="classaflibChain.html">aflibChain</a>&amp; op);00111 00112    <font class="keyword">const</font> <a class="code" href="classaflibChain.html">aflibChain</a>&amp;00113    operator=(<font class="keyword">const</font> <a class="code" href="classaflibChain.html">aflibChain</a>&amp; op);00114 00115    <font class="keywordtype">void</font>00116    insertIntoChain(00117       <a class="code" href="classaflibAudio.html">aflibAudio</a>&amp; parent,00118       <a class="code" href="classaflibAudio.html">aflibAudio</a>&amp; child);00119 00120    <font class="keywordtype">void</font>00121    insertIntoChain(00122       <a class="code" href="classaflibAudio.html">aflibAudio</a>&amp; child);00123 00124    <font class="keywordtype">void</font>00125    removeFromChain(00126       <a class="code" href="classaflibAudio.html">aflibAudio</a>&amp; child);00127 00128 00129 <font class="keyword">static</font> list&lt;aflibChainNode *&gt;  _total_list;  00130 <a class="code" href="classaflibChainNode.html">aflibChainNode</a> *   _this_node;00131 <font class="keywordtype">bool</font>               _processing_constructor;00132 00133 };00134 00135 00136 <font class="preprocessor">#endif</font>00137 <font class="preprocessor"></font>00138 </pre></div><hr><address align="right"><small>Generated on Wed May 8 20:51:05 2002 for Open Source Audio Library Project by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.15 </small></address></body></html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?