classaflibchainnode.html

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

HTML
330
字号
<!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>aflibChainNode class Reference</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>aflibChainNode  Class Reference</h1>Data class used by <a class="el" href="classaflibChain.html">aflibChain</a> base class. <a href="#_details">More...</a><p><code>#include &lt;<a class="el" href="aflibChainNode_8h-source.html">aflibChainNode.h</a>&gt;</code><p><a href="classaflibChainNode-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0><tr><td colspan=2><br><h2>Public Methods</h2></td></tr><tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classaflibChainNode.html#a0">aflibChainNode</a> (<a class="el" href="classaflibAudio.html">aflibAudio</a> &amp;audio_item)</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>This is the only constructor available and requires node it represents.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classaflibChainNode.html#a1">~aflibChainNode</a> ()</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Destructor.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classaflibChainNode.html#a2">addParent</a> (<a class="el" href="classaflibAudio.html">aflibAudio</a> &amp;parent_item)</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Adds a parent audio object to the list of parents for this node.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classaflibChainNode.html#a3">removeParent</a> (int parent_id)</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Remove a parent from this node.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classaflibChainNode.html#a4">replaceParent</a> (<a class="el" href="classaflibAudio.html">aflibAudio</a> &amp;parent_item, int parent_id)</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Replaces an existing parent with a new parent.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top><a class="el" href="classaflibAudio.html">aflibAudio</a> &amp;&nbsp;</td><td valign=bottom><a class="el" href="classaflibChainNode.html#a5">getAudioItem</a> ()</td></tr><tr><td nowrap align=right valign=top>map&lt; int, <a class="el" href="classaflibAudio.html">aflibAudio</a> *, less&lt;<br> int &gt; &gt; &amp;&nbsp;</td><td valign=bottom><a class="el" href="classaflibChainNode.html#a6">getParents</a> ()</td></tr><tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classaflibChainNode.html#a7">getNodeProcessed</a> () const</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Returns if this node has been processed.</em> <a href="#a7">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classaflibChainNode.html#a8">setNodeProcessed</a> (bool node)</td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>Data class used by <a class="el" href="classaflibChain.html">aflibChain</a> base class.<p>This class contains all of the information about a node in the Chain. It keeps track of all the parents of a node in the chain. It also keeps track if a node has been processed in a chain. All nodes in a chain must be processed before data can flow thru the chain. This class is designed to be used by the <a class="el" href="classaflibChain.html">aflibChain</a> class only. <p><hr><h2>Constructor &amp; Destructor Documentation</h2><a name="a0" doxytag="aflibChainNode::aflibChainNode"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> aflibChainNode::aflibChainNode </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classaflibAudio.html">aflibAudio</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>audio_item</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>This is the only constructor available and requires node it represents.<p>    </td>  </tr></table><a name="a1" doxytag="aflibChainNode::~aflibChainNode"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> aflibChainNode::~aflibChainNode </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Destructor.<p>    </td>  </tr></table><hr><h2>Member Function Documentation</h2><a name="a2" doxytag="aflibChainNode::addParent"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> int aflibChainNode::addParent </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classaflibAudio.html">aflibAudio</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>parent_item</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Adds a parent audio object to the list of parents for this node.<p>Add a parent to this node . If the parent already exists then its ID will be returned. If it is not found then it will be added to the parent list and a unique ID returned.     </td>  </tr></table><a name="a5" doxytag="aflibChainNode::getAudioItem"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="classaflibAudio.html">aflibAudio</a> &amp; aflibChainNode::getAudioItem </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>\breify Returns the audio object that this node represents.     </td>  </tr></table><a name="a7" doxytag="aflibChainNode::getNodeProcessed"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> bool aflibChainNode::getNodeProcessed </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap> const</td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Returns if this node has been processed.<p>This notifies the caller if the chain has been fully processed. This is useful so that the base classes can modify the chain if it needs to after it has been changed or modified and before any data it passed thru the chain. This is needed for things such as the sample rate converter class that can be inserted automattically if needed. If TRUE is returned then this node has not changed since it was processed last. If FALSE then this node has changed.     </td>  </tr></table><a name="a6" doxytag="aflibChainNode::getParents"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> map&lt; int, <a class="el" href="classaflibAudio.html">aflibAudio</a> *, less&lt; int &gt; &gt; &amp; aflibChainNode::getParents </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>\breify Returns the parents of this audio object.<p>This returns the parents for this audio object. It will return them in a map so that the caller will have the IDs and objects. They will be in ID assending order.     </td>  </tr></table><a name="a3" doxytag="aflibChainNode::removeParent"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> void aflibChainNode::removeParent </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">int&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>parent_id</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Remove a parent from this node.<p>    </td>  </tr></table><a name="a4" doxytag="aflibChainNode::replaceParent"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> void aflibChainNode::replaceParent </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classaflibAudio.html">aflibAudio</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>parent_item</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>int&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>parent_id</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Replaces an existing parent with a new parent.<p>This will replace an existing parent with a new parent keeping the ID number the same for this node.     </td>  </tr></table><a name="a8" doxytag="aflibChainNode::setNodeProcessed"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> void aflibChainNode::setNodeProcessed </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">bool&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>node</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>\breify Sets the processed state of this node.<p>This allows the caller to set the state of the node. The state is set to FALSE internally in this class when the state is changed. The caller should set it to TRUE when the chain has been fully setup and processed.     </td>  </tr></table><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="aflibChainNode_8h-source.html">aflibChainNode.h</a><li><a class="el" href="aflibChainNode_8cc.html">aflibChainNode.cc</a></ul><hr><address align="right"><small>Generated on Wed May 8 20:51:10 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 + -
显示快捷键?