mirror of https://github.com/AxioDL/amuse.git
228 lines
18 KiB
HTML
228 lines
18 KiB
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"/>
|
|
<meta name="generator" content="Doxygen 1.8.11"/>
|
|
<title>Amuse: amuse::Emitter 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="navtree.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="resize.js"></script>
|
|
<script type="text/javascript" src="navtreedata.js"></script>
|
|
<script type="text/javascript" src="navtree.js"></script>
|
|
<script type="text/javascript">
|
|
$(document).ready(initResizable);
|
|
$(window).load(resizeHeight);
|
|
</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>
|
|
<script type="text/javascript">
|
|
$(document).ready(function() { init_search(); });
|
|
</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">Amuse
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.11 -->
|
|
<script type="text/javascript">
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
</script>
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
|
<li><a href="files.html"><span>Files</span></a></li>
|
|
<li>
|
|
<div id="MSearchBox" class="MSearchBoxInactive">
|
|
<span class="left">
|
|
<img id="MSearchSelect" src="search/mag_sel.png"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
alt=""/>
|
|
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
|
onfocus="searchBox.OnSearchFieldFocus(true)"
|
|
onblur="searchBox.OnSearchFieldFocus(false)"
|
|
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
|
</span><span class="right">
|
|
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
|
</span>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div id="navrow2" class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
|
<li><a href="classes.html"><span>Class Index</span></a></li>
|
|
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
|
</ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
|
<div id="nav-tree">
|
|
<div id="nav-tree-contents">
|
|
<div id="nav-sync" class="sync"></div>
|
|
</div>
|
|
</div>
|
|
<div id="splitbar" style="-moz-user-select:none;"
|
|
class="ui-resizable-handle">
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
$(document).ready(function(){initNavTree('classamuse_1_1_emitter.html','');});
|
|
</script>
|
|
<div id="doc-content">
|
|
<!-- 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 class="header">
|
|
<div class="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#friends">Friends</a> |
|
|
<a href="classamuse_1_1_emitter-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">amuse::Emitter Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p><code>#include <<a class="el" href="_emitter_8hpp_source.html">Emitter.hpp</a>></code></p>
|
|
<div class="dynheader">
|
|
Inheritance diagram for amuse::Emitter:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classamuse_1_1_emitter__inherit__graph.png" border="0" usemap="#amuse_1_1_emitter_inherit__map" alt="Inheritance graph"/></div>
|
|
<map name="amuse_1_1_emitter_inherit__map" id="amuse_1_1_emitter_inherit__map">
|
|
<area shape="rect" id="node2" href="classamuse_1_1_entity.html" title="{amuse::Entity\n|# m_destroyed\l# m_engine\l# m_audioGroup\l# m_groupId\l# m_objectId\l|+ Entity()\l+ ~Entity()\l+ getEngine()\l+ getAudioGroup()\l+ getGroupId()\l+ getObjectId()\l# _destroy()\l}" alt="" coords="5,5,144,229"/>
|
|
</map>
|
|
</div>
|
|
<div class="dynheader">
|
|
Collaboration diagram for amuse::Emitter:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classamuse_1_1_emitter__coll__graph.png" border="0" usemap="#amuse_1_1_emitter_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="amuse_1_1_emitter_coll__map" id="amuse_1_1_emitter_coll__map">
|
|
<area shape="rect" id="node2" href="classamuse_1_1_entity.html" title="{amuse::Entity\n|# m_destroyed\l# m_groupId\l# m_objectId\l|+ Entity()\l+ ~Entity()\l+ getEngine()\l+ getAudioGroup()\l+ getGroupId()\l+ getObjectId()\l# _destroy()\l}" alt="" coords="98,351,237,545"/>
|
|
<area shape="rect" id="node3" href="classamuse_1_1_audio_group.html" title="{amuse::AudioGroup\n||+ operator bool()\l+ AudioGroup()\l+ getSample()\l+ getSampleData()\l+ getProj()\l+ getPool()\l}" alt="" coords="5,71,148,222"/>
|
|
<area shape="rect" id="node4" href="classamuse_1_1_engine.html" title="{amuse::Engine\n||+ ~Engine()\l+ Engine()\l+ getBackend()\l+ pumpEngine()\l+ addAudioGroup()\l+ removeAudioGroup()\l+ addSubmix()\l+ removeSubmix()\l+ fxStart()\l+ addEmitter()\l+ seqPlay()\l+ findVoice()\l+ killKeygroup()\l+ sendMacroMessage()\l+ nextRandom()\l}" alt="" coords="172,5,347,288"/>
|
|
</map>
|
|
</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:a158e0999610ad5acc171b7e6290c0af2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a158e0999610ad5acc171b7e6290c0af2"></a>
|
|
 </td><td class="memItemRight" valign="bottom"><b>Emitter</b> (<a class="el" href="classamuse_1_1_engine.html">Engine</a> &engine, const <a class="el" href="classamuse_1_1_audio_group.html">AudioGroup</a> &group, std::shared_ptr< <a class="el" href="classamuse_1_1_voice.html">Voice</a> > &&vox)</td></tr>
|
|
<tr class="separator:a158e0999610ad5acc171b7e6290c0af2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9d801951b8f8cc20a2fc76463c2acef8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9d801951b8f8cc20a2fc76463c2acef8"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>setPos</b> (const Vector3f &pos)</td></tr>
|
|
<tr class="separator:a9d801951b8f8cc20a2fc76463c2acef8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8a7655e79a95251e8dadd8e60e1186b1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8a7655e79a95251e8dadd8e60e1186b1"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>setDir</b> (const Vector3f &dir)</td></tr>
|
|
<tr class="separator:a8a7655e79a95251e8dadd8e60e1186b1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2da0ce59463c0652f28d85c44fbca17a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2da0ce59463c0652f28d85c44fbca17a"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>setMaxDist</b> (float maxDist)</td></tr>
|
|
<tr class="separator:a2da0ce59463c0652f28d85c44fbca17a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6ddd332567ed6aafa4d62c05f1c4735f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6ddd332567ed6aafa4d62c05f1c4735f"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>setMaxVol</b> (float maxVol)</td></tr>
|
|
<tr class="separator:a6ddd332567ed6aafa4d62c05f1c4735f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a77ad5aae4249943d9dac6849547e5d92"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a77ad5aae4249943d9dac6849547e5d92"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>setMinVol</b> (float minVol)</td></tr>
|
|
<tr class="separator:a77ad5aae4249943d9dac6849547e5d92"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2e69d7ce61cdfcd7efa41bc1b074e2f1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2e69d7ce61cdfcd7efa41bc1b074e2f1"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>setFalloff</b> (float falloff)</td></tr>
|
|
<tr class="separator:a2e69d7ce61cdfcd7efa41bc1b074e2f1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1fd1989cf795444644c91320614a6fc7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1fd1989cf795444644c91320614a6fc7"></a>
|
|
std::shared_ptr< <a class="el" href="classamuse_1_1_voice.html">Voice</a> > & </td><td class="memItemRight" valign="bottom"><b>getVoice</b> ()</td></tr>
|
|
<tr class="separator:a1fd1989cf795444644c91320614a6fc7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="inherit_header pub_methods_classamuse_1_1_entity"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classamuse_1_1_entity')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classamuse_1_1_entity.html">amuse::Entity</a></td></tr>
|
|
<tr class="memitem:a47a992c8b6652668c5dd950408988070 inherit pub_methods_classamuse_1_1_entity"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a47a992c8b6652668c5dd950408988070"></a>
|
|
 </td><td class="memItemRight" valign="bottom"><b>Entity</b> (<a class="el" href="classamuse_1_1_engine.html">Engine</a> &engine, const <a class="el" href="classamuse_1_1_audio_group.html">AudioGroup</a> &group, int groupId, ObjectId oid=ObjectId())</td></tr>
|
|
<tr class="separator:a47a992c8b6652668c5dd950408988070 inherit pub_methods_classamuse_1_1_entity"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7a80d0bba104fea407a0f0369bf8615c inherit pub_methods_classamuse_1_1_entity"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7a80d0bba104fea407a0f0369bf8615c"></a>
|
|
<a class="el" href="classamuse_1_1_engine.html">Engine</a> & </td><td class="memItemRight" valign="bottom"><b>getEngine</b> ()</td></tr>
|
|
<tr class="separator:a7a80d0bba104fea407a0f0369bf8615c inherit pub_methods_classamuse_1_1_entity"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2b495ce425cca1cec48a4d998f65e369 inherit pub_methods_classamuse_1_1_entity"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2b495ce425cca1cec48a4d998f65e369"></a>
|
|
const <a class="el" href="classamuse_1_1_audio_group.html">AudioGroup</a> & </td><td class="memItemRight" valign="bottom"><b>getAudioGroup</b> () const </td></tr>
|
|
<tr class="separator:a2b495ce425cca1cec48a4d998f65e369 inherit pub_methods_classamuse_1_1_entity"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a56322c8946faee72551194459233f46b inherit pub_methods_classamuse_1_1_entity"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a56322c8946faee72551194459233f46b"></a>
|
|
int </td><td class="memItemRight" valign="bottom"><b>getGroupId</b> () const </td></tr>
|
|
<tr class="separator:a56322c8946faee72551194459233f46b inherit pub_methods_classamuse_1_1_entity"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa992a4b2d56f6345b20820ade0a0bc8e inherit pub_methods_classamuse_1_1_entity"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa992a4b2d56f6345b20820ade0a0bc8e"></a>
|
|
ObjectId </td><td class="memItemRight" valign="bottom"><b>getObjectId</b> () const </td></tr>
|
|
<tr class="separator:aa992a4b2d56f6345b20820ade0a0bc8e inherit pub_methods_classamuse_1_1_entity"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
|
|
Friends</h2></td></tr>
|
|
<tr class="memitem:a3e1914489e4bed4f9f23cdeab34a43dc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3e1914489e4bed4f9f23cdeab34a43dc"></a>
|
|
class </td><td class="memItemRight" valign="bottom"><b>Engine</b></td></tr>
|
|
<tr class="separator:a3e1914489e4bed4f9f23cdeab34a43dc"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
|
|
Additional Inherited Members</h2></td></tr>
|
|
<tr class="inherit_header pro_methods_classamuse_1_1_entity"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classamuse_1_1_entity')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classamuse_1_1_entity.html">amuse::Entity</a></td></tr>
|
|
<tr class="memitem:a6128f61bb44144f9f3fab353b90bf6f2 inherit pro_methods_classamuse_1_1_entity"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6128f61bb44144f9f3fab353b90bf6f2"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>_destroy</b> ()</td></tr>
|
|
<tr class="separator:a6128f61bb44144f9f3fab353b90bf6f2 inherit pro_methods_classamuse_1_1_entity"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="inherit_header pro_attribs_classamuse_1_1_entity"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classamuse_1_1_entity')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classamuse_1_1_entity.html">amuse::Entity</a></td></tr>
|
|
<tr class="memitem:a8daa80960e618e3553f2092051c44ebe inherit pro_attribs_classamuse_1_1_entity"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8daa80960e618e3553f2092051c44ebe"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><b>m_destroyed</b> = false</td></tr>
|
|
<tr class="separator:a8daa80960e618e3553f2092051c44ebe inherit pro_attribs_classamuse_1_1_entity"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1382e56f563ec3fc772b3fc027e02b0c inherit pro_attribs_classamuse_1_1_entity"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1382e56f563ec3fc772b3fc027e02b0c"></a>
|
|
<a class="el" href="classamuse_1_1_engine.html">Engine</a> & </td><td class="memItemRight" valign="bottom"><b>m_engine</b></td></tr>
|
|
<tr class="separator:a1382e56f563ec3fc772b3fc027e02b0c inherit pro_attribs_classamuse_1_1_entity"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa71a4031b665176c49cebf9f5ccf7d6f inherit pro_attribs_classamuse_1_1_entity"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa71a4031b665176c49cebf9f5ccf7d6f"></a>
|
|
const <a class="el" href="classamuse_1_1_audio_group.html">AudioGroup</a> & </td><td class="memItemRight" valign="bottom"><b>m_audioGroup</b></td></tr>
|
|
<tr class="separator:aa71a4031b665176c49cebf9f5ccf7d6f inherit pro_attribs_classamuse_1_1_entity"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a62c7f163ca10b1e68bdadbab5156537b inherit pro_attribs_classamuse_1_1_entity"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a62c7f163ca10b1e68bdadbab5156537b"></a>
|
|
int </td><td class="memItemRight" valign="bottom"><b>m_groupId</b></td></tr>
|
|
<tr class="separator:a62c7f163ca10b1e68bdadbab5156537b inherit pro_attribs_classamuse_1_1_entity"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0359d16c7e02c42002b0eb3f40a8ec3b inherit pro_attribs_classamuse_1_1_entity"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0359d16c7e02c42002b0eb3f40a8ec3b"></a>
|
|
ObjectId </td><td class="memItemRight" valign="bottom"><b>m_objectId</b> = 0xffff</td></tr>
|
|
<tr class="separator:a0359d16c7e02c42002b0eb3f40a8ec3b inherit pro_attribs_classamuse_1_1_entity"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p><a class="el" href="classamuse_1_1_voice.html">Voice</a> wrapper with positional-3D level control </p>
|
|
|
|
<p>Definition at line <a class="el" href="_emitter_8hpp_source.html#l00014">14</a> of file <a class="el" href="_emitter_8hpp_source.html">Emitter.hpp</a>.</p>
|
|
</div><hr/>The documentation for this class was generated from the following file:<ul>
|
|
<li>include/amuse/<a class="el" href="_emitter_8hpp_source.html">Emitter.hpp</a></li>
|
|
</ul>
|
|
</div><!-- contents -->
|
|
</div><!-- doc-content -->
|
|
<!-- start footer part -->
|
|
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
|
<ul>
|
|
<li class="navelem"><b>amuse</b></li><li class="navelem"><a class="el" href="classamuse_1_1_emitter.html">Emitter</a></li>
|
|
<li class="footer">Generated on Wed May 18 2016 20:05:19 for Amuse by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|