/usr/share/doc/libjuce/apiref/classAudioParameterChoice.html is in libjuce-doc 4.3.0~repack-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 | <!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"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>JUCE: AudioParameterChoice Class Reference</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="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.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 id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">JUCE
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-attribs">Public Attributes</a> |
<a href="classAudioParameterChoice-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">AudioParameterChoice Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Provides a class of <a class="el" href="classAudioProcessorParameter.html" title="An abstract base class for parameter objects that can be added to an AudioProcessor. ">AudioProcessorParameter</a> that can be used to select an indexed, named choice from a list.
<a href="classAudioParameterChoice.html#details">More...</a></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
<img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for AudioParameterChoice:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center">
<img src="classAudioParameterChoice.png" usemap="#AudioParameterChoice_map" alt=""/>
<map id="AudioParameterChoice_map" name="AudioParameterChoice_map">
<area href="classAudioProcessorParameterWithID.html" title="This abstract base class is used by some AudioProcessorParameter helper classes. " alt="AudioProcessorParameterWithID" shape="rect" coords="0,56,197,80"/>
<area href="classAudioProcessorParameter.html" title="An abstract base class for parameter objects that can be added to an AudioProcessor. " alt="AudioProcessorParameter" shape="rect" coords="0,0,197,24"/>
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ae79f86d725ad17b87485c16fdbb6d3f9"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioParameterChoice.html#ae79f86d725ad17b87485c16fdbb6d3f9">AudioParameterChoice</a> (<a class="el" href="classString.html">String</a> parameterID, <a class="el" href="classString.html">String</a> <a class="el" href="classAudioProcessorParameterWithID.html#a26e3f108f8a3fabf92bb942518f9fd39">name</a>, const <a class="el" href="classStringArray.html">StringArray</a> &<a class="el" href="classAudioParameterChoice.html#afbeec68d8f56cf4cde23c1b615699b9f">choices</a>, int defaultItemIndex)</td></tr>
<tr class="memdesc:ae79f86d725ad17b87485c16fdbb6d3f9"><td class="mdescLeft"> </td><td class="mdescRight">Creates a <a class="el" href="classAudioParameterChoice.html" title="Provides a class of AudioProcessorParameter that can be used to select an indexed, named choice from a list. ">AudioParameterChoice</a> with an ID, name, and list of items. <a href="#ae79f86d725ad17b87485c16fdbb6d3f9">More...</a><br /></td></tr>
<tr class="separator:ae79f86d725ad17b87485c16fdbb6d3f9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abaecb29355bc6e5db36e077ea4162b64"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioParameterChoice.html#abaecb29355bc6e5db36e077ea4162b64">~AudioParameterChoice</a> ()</td></tr>
<tr class="memdesc:abaecb29355bc6e5db36e077ea4162b64"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#abaecb29355bc6e5db36e077ea4162b64">More...</a><br /></td></tr>
<tr class="separator:abaecb29355bc6e5db36e077ea4162b64"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af92fba857f94e81cd2e50eddf351c6d8"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioParameterChoice.html#af92fba857f94e81cd2e50eddf351c6d8">getIndex</a> () const noexcept</td></tr>
<tr class="memdesc:af92fba857f94e81cd2e50eddf351c6d8"><td class="mdescLeft"> </td><td class="mdescRight">Returns the current index of the selected item. <a href="#af92fba857f94e81cd2e50eddf351c6d8">More...</a><br /></td></tr>
<tr class="separator:af92fba857f94e81cd2e50eddf351c6d8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a06324df9e78630dcbc872ce0e416414d"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioParameterChoice.html#a06324df9e78630dcbc872ce0e416414d">operator int</a> () const noexcept</td></tr>
<tr class="memdesc:a06324df9e78630dcbc872ce0e416414d"><td class="mdescLeft"> </td><td class="mdescRight">Returns the current index of the selected item. <a href="#a06324df9e78630dcbc872ce0e416414d">More...</a><br /></td></tr>
<tr class="separator:a06324df9e78630dcbc872ce0e416414d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab8d07d0d1a7604711686df79732ffd9d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classString.html">String</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioParameterChoice.html#ab8d07d0d1a7604711686df79732ffd9d">getCurrentChoiceName</a> () const noexcept</td></tr>
<tr class="memdesc:ab8d07d0d1a7604711686df79732ffd9d"><td class="mdescLeft"> </td><td class="mdescRight">Returns the name of the currently selected item. <a href="#ab8d07d0d1a7604711686df79732ffd9d">More...</a><br /></td></tr>
<tr class="separator:ab8d07d0d1a7604711686df79732ffd9d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8088c4fe433a76c9a9bfd88c70f5fd21"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioParameterChoice.html#a8088c4fe433a76c9a9bfd88c70f5fd21">operator String</a> () const noexcept</td></tr>
<tr class="memdesc:a8088c4fe433a76c9a9bfd88c70f5fd21"><td class="mdescLeft"> </td><td class="mdescRight">Returns the name of the currently selected item. <a href="#a8088c4fe433a76c9a9bfd88c70f5fd21">More...</a><br /></td></tr>
<tr class="separator:a8088c4fe433a76c9a9bfd88c70f5fd21"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a80b1b0d2be85f40a0e8959277386e092"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classAudioParameterChoice.html">AudioParameterChoice</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioParameterChoice.html#a80b1b0d2be85f40a0e8959277386e092">operator=</a> (int newValue)</td></tr>
<tr class="memdesc:a80b1b0d2be85f40a0e8959277386e092"><td class="mdescLeft"> </td><td class="mdescRight">Changes the selected item to a new index. <a href="#a80b1b0d2be85f40a0e8959277386e092">More...</a><br /></td></tr>
<tr class="separator:a80b1b0d2be85f40a0e8959277386e092"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classAudioProcessorParameterWithID"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classAudioProcessorParameterWithID')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classAudioProcessorParameterWithID.html">AudioProcessorParameterWithID</a></td></tr>
<tr class="memitem:a26d780f6300ec2ff6433c95b3493fb17 inherit pub_methods_classAudioProcessorParameterWithID"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioProcessorParameterWithID.html#a26d780f6300ec2ff6433c95b3493fb17">AudioProcessorParameterWithID</a> (<a class="el" href="classString.html">String</a> parameterID, <a class="el" href="classString.html">String</a> <a class="el" href="classAudioProcessorParameterWithID.html#a26e3f108f8a3fabf92bb942518f9fd39">name</a>)</td></tr>
<tr class="memdesc:a26d780f6300ec2ff6433c95b3493fb17 inherit pub_methods_classAudioProcessorParameterWithID"><td class="mdescLeft"> </td><td class="mdescRight">Creation of this object requires providing a name and ID which will be constant for its lifetime. <a href="classAudioProcessorParameterWithID.html#a26d780f6300ec2ff6433c95b3493fb17">More...</a><br /></td></tr>
<tr class="separator:a26d780f6300ec2ff6433c95b3493fb17 inherit pub_methods_classAudioProcessorParameterWithID"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6382be17ef344cdd6b6a8b839fdc0909 inherit pub_methods_classAudioProcessorParameterWithID"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioProcessorParameterWithID.html#a6382be17ef344cdd6b6a8b839fdc0909">~AudioProcessorParameterWithID</a> ()</td></tr>
<tr class="memdesc:a6382be17ef344cdd6b6a8b839fdc0909 inherit pub_methods_classAudioProcessorParameterWithID"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="classAudioProcessorParameterWithID.html#a6382be17ef344cdd6b6a8b839fdc0909">More...</a><br /></td></tr>
<tr class="separator:a6382be17ef344cdd6b6a8b839fdc0909 inherit pub_methods_classAudioProcessorParameterWithID"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classAudioProcessorParameter"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classAudioProcessorParameter')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classAudioProcessorParameter.html">AudioProcessorParameter</a></td></tr>
<tr class="memitem:a3df493838d2f048ff182fef75f535729 inherit pub_methods_classAudioProcessorParameter"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioProcessorParameter.html#a3df493838d2f048ff182fef75f535729">AudioProcessorParameter</a> () noexcept</td></tr>
<tr class="separator:a3df493838d2f048ff182fef75f535729 inherit pub_methods_classAudioProcessorParameter"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a30e812a7e141bb25f509980d7d11d27b inherit pub_methods_classAudioProcessorParameter"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioProcessorParameter.html#a30e812a7e141bb25f509980d7d11d27b">~AudioProcessorParameter</a> ()</td></tr>
<tr class="memdesc:a30e812a7e141bb25f509980d7d11d27b inherit pub_methods_classAudioProcessorParameter"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="classAudioProcessorParameter.html#a30e812a7e141bb25f509980d7d11d27b">More...</a><br /></td></tr>
<tr class="separator:a30e812a7e141bb25f509980d7d11d27b inherit pub_methods_classAudioProcessorParameter"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac9b67f35339db50d2bd9a026d89390e1 inherit pub_methods_classAudioProcessorParameter"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioProcessorParameter.html#ac9b67f35339db50d2bd9a026d89390e1">setValueNotifyingHost</a> (float newValue)</td></tr>
<tr class="memdesc:ac9b67f35339db50d2bd9a026d89390e1 inherit pub_methods_classAudioProcessorParameter"><td class="mdescLeft"> </td><td class="mdescRight">Your filter can call this when it needs to change one of its parameters. <a href="classAudioProcessorParameter.html#ac9b67f35339db50d2bd9a026d89390e1">More...</a><br /></td></tr>
<tr class="separator:ac9b67f35339db50d2bd9a026d89390e1 inherit pub_methods_classAudioProcessorParameter"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aae70f0cce34b664206323bc277096ddc inherit pub_methods_classAudioProcessorParameter"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioProcessorParameter.html#aae70f0cce34b664206323bc277096ddc">beginChangeGesture</a> ()</td></tr>
<tr class="memdesc:aae70f0cce34b664206323bc277096ddc inherit pub_methods_classAudioProcessorParameter"><td class="mdescLeft"> </td><td class="mdescRight">Sends a signal to the host to tell it that the user is about to start changing this parameter. <a href="classAudioProcessorParameter.html#aae70f0cce34b664206323bc277096ddc">More...</a><br /></td></tr>
<tr class="separator:aae70f0cce34b664206323bc277096ddc inherit pub_methods_classAudioProcessorParameter"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a50c2a826a7aa77dbe0e55e77a93d061e inherit pub_methods_classAudioProcessorParameter"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioProcessorParameter.html#a50c2a826a7aa77dbe0e55e77a93d061e">endChangeGesture</a> ()</td></tr>
<tr class="memdesc:a50c2a826a7aa77dbe0e55e77a93d061e inherit pub_methods_classAudioProcessorParameter"><td class="mdescLeft"> </td><td class="mdescRight">Tells the host that the user has finished changing this parameter. <a href="classAudioProcessorParameter.html#a50c2a826a7aa77dbe0e55e77a93d061e">More...</a><br /></td></tr>
<tr class="separator:a50c2a826a7aa77dbe0e55e77a93d061e inherit pub_methods_classAudioProcessorParameter"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aca91257a6bd003f3541a907f028142e3 inherit pub_methods_classAudioProcessorParameter"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioProcessorParameter.html#aca91257a6bd003f3541a907f028142e3">isOrientationInverted</a> () const</td></tr>
<tr class="memdesc:aca91257a6bd003f3541a907f028142e3 inherit pub_methods_classAudioProcessorParameter"><td class="mdescLeft"> </td><td class="mdescRight">This can be overridden to tell the host that this parameter operates in the reverse direction. <a href="classAudioProcessorParameter.html#aca91257a6bd003f3541a907f028142e3">More...</a><br /></td></tr>
<tr class="separator:aca91257a6bd003f3541a907f028142e3 inherit pub_methods_classAudioProcessorParameter"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abcb70fe341ff9e30c7e1c5f6f9dae447 inherit pub_methods_classAudioProcessorParameter"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioProcessorParameter.html#abcb70fe341ff9e30c7e1c5f6f9dae447">isAutomatable</a> () const</td></tr>
<tr class="memdesc:abcb70fe341ff9e30c7e1c5f6f9dae447 inherit pub_methods_classAudioProcessorParameter"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the host can automate this parameter. <a href="classAudioProcessorParameter.html#abcb70fe341ff9e30c7e1c5f6f9dae447">More...</a><br /></td></tr>
<tr class="separator:abcb70fe341ff9e30c7e1c5f6f9dae447 inherit pub_methods_classAudioProcessorParameter"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4e415c0f716226806880acf93d4237e6 inherit pub_methods_classAudioProcessorParameter"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioProcessorParameter.html#a4e415c0f716226806880acf93d4237e6">isMetaParameter</a> () const</td></tr>
<tr class="memdesc:a4e415c0f716226806880acf93d4237e6 inherit pub_methods_classAudioProcessorParameter"><td class="mdescLeft"> </td><td class="mdescRight">Should return true if this parameter is a "meta" parameter. <a href="classAudioProcessorParameter.html#a4e415c0f716226806880acf93d4237e6">More...</a><br /></td></tr>
<tr class="separator:a4e415c0f716226806880acf93d4237e6 inherit pub_methods_classAudioProcessorParameter"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a35b9c23ce77721f84bc4686e217d76f7 inherit pub_methods_classAudioProcessorParameter"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioProcessorParameter.html#a35b9c23ce77721f84bc4686e217d76f7">getParameterIndex</a> () const noexcept</td></tr>
<tr class="memdesc:a35b9c23ce77721f84bc4686e217d76f7 inherit pub_methods_classAudioProcessorParameter"><td class="mdescLeft"> </td><td class="mdescRight">Returns the index of this parameter in its parent processor's parameter list. <a href="classAudioProcessorParameter.html#a35b9c23ce77721f84bc4686e217d76f7">More...</a><br /></td></tr>
<tr class="separator:a35b9c23ce77721f84bc4686e217d76f7 inherit pub_methods_classAudioProcessorParameter"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:afbeec68d8f56cf4cde23c1b615699b9f"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classStringArray.html">StringArray</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioParameterChoice.html#afbeec68d8f56cf4cde23c1b615699b9f">choices</a></td></tr>
<tr class="memdesc:afbeec68d8f56cf4cde23c1b615699b9f"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the list of choices that this parameter is working with. <a href="#afbeec68d8f56cf4cde23c1b615699b9f">More...</a><br /></td></tr>
<tr class="separator:afbeec68d8f56cf4cde23c1b615699b9f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_attribs_classAudioProcessorParameterWithID"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_classAudioProcessorParameterWithID')"><img src="closed.png" alt="-"/> Public Attributes inherited from <a class="el" href="classAudioProcessorParameterWithID.html">AudioProcessorParameterWithID</a></td></tr>
<tr class="memitem:a09fd779999685889367257e36ff648da inherit pub_attribs_classAudioProcessorParameterWithID"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classString.html">String</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioProcessorParameterWithID.html#a09fd779999685889367257e36ff648da">paramID</a></td></tr>
<tr class="memdesc:a09fd779999685889367257e36ff648da inherit pub_attribs_classAudioProcessorParameterWithID"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the parameter's ID string. <a href="classAudioProcessorParameterWithID.html#a09fd779999685889367257e36ff648da">More...</a><br /></td></tr>
<tr class="separator:a09fd779999685889367257e36ff648da inherit pub_attribs_classAudioProcessorParameterWithID"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a26e3f108f8a3fabf92bb942518f9fd39 inherit pub_attribs_classAudioProcessorParameterWithID"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classString.html">String</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioProcessorParameterWithID.html#a26e3f108f8a3fabf92bb942518f9fd39">name</a></td></tr>
<tr class="memdesc:a26e3f108f8a3fabf92bb942518f9fd39 inherit pub_attribs_classAudioProcessorParameterWithID"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the parameter's name. <a href="classAudioProcessorParameterWithID.html#a26e3f108f8a3fabf92bb942518f9fd39">More...</a><br /></td></tr>
<tr class="separator:a26e3f108f8a3fabf92bb942518f9fd39 inherit pub_attribs_classAudioProcessorParameterWithID"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac9e5aa7e602b64e78fda51972375579c inherit pub_attribs_classAudioProcessorParameterWithID"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classString.html">String</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioProcessorParameterWithID.html#ac9e5aa7e602b64e78fda51972375579c">label</a></td></tr>
<tr class="memdesc:ac9e5aa7e602b64e78fda51972375579c inherit pub_attribs_classAudioProcessorParameterWithID"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the parameter's label. <a href="classAudioProcessorParameterWithID.html#ac9e5aa7e602b64e78fda51972375579c">More...</a><br /></td></tr>
<tr class="separator:ac9e5aa7e602b64e78fda51972375579c inherit pub_attribs_classAudioProcessorParameterWithID"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Provides a class of <a class="el" href="classAudioProcessorParameter.html" title="An abstract base class for parameter objects that can be added to an AudioProcessor. ">AudioProcessorParameter</a> that can be used to select an indexed, named choice from a list. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classAudioParameterFloat.html" title="A subclass of AudioProcessorParameter that provides an easy way to create a parameter which maps onto...">AudioParameterFloat</a>, <a class="el" href="classAudioParameterInt.html" title="Provides a class of AudioProcessorParameter that can be used as an integer value with a given range...">AudioParameterInt</a>, <a class="el" href="classAudioParameterBool.html" title="Provides a class of AudioProcessorParameter that can be used as a boolean value. ">AudioParameterBool</a> </dd></dl>
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a id="ae79f86d725ad17b87485c16fdbb6d3f9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae79f86d725ad17b87485c16fdbb6d3f9">§ </a></span>AudioParameterChoice()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">AudioParameterChoice::AudioParameterChoice </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classString.html">String</a> </td>
<td class="paramname"><em>parameterID</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classString.html">String</a> </td>
<td class="paramname"><em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classStringArray.html">StringArray</a> & </td>
<td class="paramname"><em>choices</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>defaultItemIndex</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a <a class="el" href="classAudioParameterChoice.html" title="Provides a class of AudioProcessorParameter that can be used to select an indexed, named choice from a list. ">AudioParameterChoice</a> with an ID, name, and list of items. </p>
<p>On creation, its value is set to the default index. </p>
</div>
</div>
<a id="abaecb29355bc6e5db36e077ea4162b64"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abaecb29355bc6e5db36e077ea4162b64">§ </a></span>~AudioParameterChoice()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">AudioParameterChoice::~AudioParameterChoice </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Destructor. </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="af92fba857f94e81cd2e50eddf351c6d8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af92fba857f94e81cd2e50eddf351c6d8">§ </a></span>getIndex()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int AudioParameterChoice::getIndex </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the current index of the selected item. </p>
<p>References <a class="el" href="juce__MathsFunctions_8h.html#afe8eb86381d389f4ba9f9931a38e1a44">roundToInt()</a>.</p>
</div>
</div>
<a id="a06324df9e78630dcbc872ce0e416414d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a06324df9e78630dcbc872ce0e416414d">§ </a></span>operator int()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">AudioParameterChoice::operator int </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the current index of the selected item. </p>
</div>
</div>
<a id="ab8d07d0d1a7604711686df79732ffd9d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab8d07d0d1a7604711686df79732ffd9d">§ </a></span>getCurrentChoiceName()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classString.html">String</a> AudioParameterChoice::getCurrentChoiceName </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the name of the currently selected item. </p>
</div>
</div>
<a id="a8088c4fe433a76c9a9bfd88c70f5fd21"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8088c4fe433a76c9a9bfd88c70f5fd21">§ </a></span>operator String()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">AudioParameterChoice::operator <a class="el" href="classString.html">String</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the name of the currently selected item. </p>
</div>
</div>
<a id="a80b1b0d2be85f40a0e8959277386e092"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a80b1b0d2be85f40a0e8959277386e092">§ </a></span>operator=()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classAudioParameterChoice.html">AudioParameterChoice</a>& AudioParameterChoice::operator= </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>newValue</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Changes the selected item to a new index. </p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="afbeec68d8f56cf4cde23c1b615699b9f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afbeec68d8f56cf4cde23c1b615699b9f">§ </a></span>choices</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classStringArray.html">StringArray</a> AudioParameterChoice::choices</td>
</tr>
</table>
</div><div class="memdoc">
<p>Provides access to the list of choices that this parameter is working with. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="juce__AudioParameterChoice_8h.html">juce_AudioParameterChoice.h</a></li>
</ul>
</div><!-- contents -->
<hr class="footer"/>
<address class="footer"><small>All content © ROLI Ltd.</small></address><br/>
</body>
</html>
|