1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
<html xmlns="http://www.w3.org/1999/xhtml">
4
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
<title>DSPatch: DspWire.h Source File</title>
8
<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
<link href="doxygen.css" rel="stylesheet" type="text/css" />
11
<link href="search/search.css" rel="stylesheet" type="text/css"/>
12
<script type="text/javascript" src="jquery.js"></script>
13
<script type="text/javascript" src="search/search.js"></script>
14
<script type="text/javascript">
15
$(document).ready(function() { searchBox.OnSelectItem(0); });
20
<div id="top"><!-- do not remove this div! -->
24
<table cellspacing="0" cellpadding="0">
26
<tr style="height: 56px;">
28
<td id="projectlogo"><img alt="Logo" src="heartbeat.png"/></td>
31
<td style="padding-left: 0.5em;">
32
<div id="projectname">DSPatch
33
 <span id="projectnumber">v.2.51</span>
35
<div id="projectbrief">C++ Cross-Platform, Object-Oriented, Flow-Based Programming Library</div>
45
<!-- Generated by Doxygen 1.8.0 -->
46
<script type="text/javascript">
47
var searchBox = new SearchBox("searchBox", "search",false,'Search');
49
<div id="navrow1" class="tabs">
51
<li><a href="index.html"><span>Main Page</span></a></li>
52
<li><a href="pages.html"><span>Related Pages</span></a></li>
53
<li><a href="annotated.html"><span>Classes</span></a></li>
54
<li class="current"><a href="files.html"><span>Files</span></a></li>
56
<div id="MSearchBox" class="MSearchBoxInactive">
58
<img id="MSearchSelect" src="search/mag_sel.png"
59
onmouseover="return searchBox.OnSearchSelectShow()"
60
onmouseout="return searchBox.OnSearchSelectHide()"
62
<input type="text" id="MSearchField" value="Search" accesskey="S"
63
onfocus="searchBox.OnSearchFieldFocus(true)"
64
onblur="searchBox.OnSearchFieldFocus(false)"
65
onkeyup="searchBox.OnSearchFieldChange(event)"/>
66
</span><span class="right">
67
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
73
<div id="navrow2" class="tabs2">
75
<li><a href="files.html"><span>File List</span></a></li>
79
<!-- window showing the filter options -->
80
<div id="MSearchSelectWindow"
81
onmouseover="return searchBox.OnSearchSelectShow()"
82
onmouseout="return searchBox.OnSearchSelectHide()"
83
onkeydown="return searchBox.OnSearchSelectKey(event)">
84
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a></div>
86
<!-- iframe showing the search results (closed by default) -->
87
<div id="MSearchResultsWindow">
88
<iframe src="javascript:void(0)" frameborder="0"
89
name="MSearchResults" id="MSearchResults">
94
<div class="headertitle">
95
<div class="title">DspWire.h</div> </div>
97
<div class="contents">
98
<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/************************************************************************</span>
99
<a name="l00002"></a>00002 <span class="comment">DSPatch - Cross-Platform, Object-Oriented, Flow-Based Programming Library</span>
100
<a name="l00003"></a>00003 <span class="comment">Copyright (c) 2012-2013 Marcus Tomlinson</span>
101
<a name="l00004"></a>00004 <span class="comment"></span>
102
<a name="l00005"></a>00005 <span class="comment">This file is part of DSPatch.</span>
103
<a name="l00006"></a>00006 <span class="comment"></span>
104
<a name="l00007"></a>00007 <span class="comment">GNU Lesser General Public License Usage</span>
105
<a name="l00008"></a>00008 <span class="comment">This file may be used under the terms of the GNU Lesser General Public</span>
106
<a name="l00009"></a>00009 <span class="comment">License version 3.0 as published by the Free Software Foundation and</span>
107
<a name="l00010"></a>00010 <span class="comment">appearing in the file LGPLv3.txt included in the packaging of this</span>
108
<a name="l00011"></a>00011 <span class="comment">file. Please review the following information to ensure the GNU Lesser</span>
109
<a name="l00012"></a>00012 <span class="comment">General Public License version 3.0 requirements will be met:</span>
110
<a name="l00013"></a>00013 <span class="comment">http://www.gnu.org/copyleft/lgpl.html.</span>
111
<a name="l00014"></a>00014 <span class="comment"></span>
112
<a name="l00015"></a>00015 <span class="comment">Other Usage</span>
113
<a name="l00016"></a>00016 <span class="comment">Alternatively, this file may be used in accordance with the terms and</span>
114
<a name="l00017"></a>00017 <span class="comment">conditions contained in a signed written agreement between you and</span>
115
<a name="l00018"></a>00018 <span class="comment">Marcus Tomlinson.</span>
116
<a name="l00019"></a>00019 <span class="comment"></span>
117
<a name="l00020"></a>00020 <span class="comment">DSPatch is distributed in the hope that it will be useful,</span>
118
<a name="l00021"></a>00021 <span class="comment">but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
119
<a name="l00022"></a>00022 <span class="comment">MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</span>
120
<a name="l00023"></a>00023 <span class="comment">************************************************************************/</span>
121
<a name="l00024"></a>00024
122
<a name="l00025"></a>00025 <span class="preprocessor">#ifndef DSPWIRE_H</span>
123
<a name="l00026"></a>00026 <span class="preprocessor"></span><span class="preprocessor">#define DSPWIRE_H</span>
124
<a name="l00027"></a>00027 <span class="preprocessor"></span>
125
<a name="l00028"></a>00028 <span class="comment">//-------------------------------------------------------------------------------------------------</span>
126
<a name="l00029"></a>00029
127
<a name="l00030"></a>00030 <span class="keyword">class </span><a class="code" href="class_dsp_component.html" title="Abstract base class for all DSPatch components.">DspComponent</a>;
128
<a name="l00031"></a>00031
129
<a name="l00032"></a>00032 <span class="comment">//=================================================================================================</span>
130
<a name="l00034"></a>00034 <span class="comment"></span>
131
<a name="l00042"></a><a class="code" href="struct_dsp_wire.html">00042</a> <span class="keyword">struct </span><a class="code" href="struct_dsp_wire.html" title="Connection between two components.">DspWire</a>
132
<a name="l00043"></a>00043 {
133
<a name="l00044"></a>00044 <a class="code" href="struct_dsp_wire.html" title="Connection between two components.">DspWire</a>( <a class="code" href="class_dsp_component.html" title="Abstract base class for all DSPatch components.">DspComponent</a>* newLinkedComponent,
134
<a name="l00045"></a>00045 <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> newFromSignalIndex,
135
<a name="l00046"></a>00046 <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> newToSignalIndex )
136
<a name="l00047"></a>00047 : linkedComponent( newLinkedComponent ),
137
<a name="l00048"></a>00048 fromSignalIndex( newFromSignalIndex ),
138
<a name="l00049"></a>00049 toSignalIndex( newToSignalIndex ) {}
139
<a name="l00050"></a>00050
140
<a name="l00051"></a>00051 <a class="code" href="class_dsp_component.html" title="Abstract base class for all DSPatch components.">DspComponent</a>* linkedComponent;
141
<a name="l00052"></a>00052 <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> fromSignalIndex;
142
<a name="l00053"></a>00053 <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> toSignalIndex;
143
<a name="l00054"></a>00054 };
144
<a name="l00055"></a>00055
145
<a name="l00056"></a>00056 <span class="comment">//=================================================================================================</span>
146
<a name="l00057"></a>00057
147
<a name="l00058"></a>00058 <span class="preprocessor">#endif // DSPWIRE_H</span>
148
</pre></div></div><!-- contents -->
151
<hr class="footer"/><address class="footer"><small>
152
Generated on Fri Sep 13 2013 07:57:23 for DSPatch by  <a href="http://www.doxygen.org/index.html">
153
<img class="footer" src="doxygen.png" alt="doxygen"/>