<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>NeL: NL3D::UPSSoundServer struct Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.6 --> <div class="qindex"> <form class="search" action="search.php" method="get"> <a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div> <h1>NL3D::UPSSoundServer Struct Reference</h1><code>#include <<a class="el" href="a06623.html">u_ps_sound_interface.h</a>></code> <p> <p>Inheritance diagram for NL3D::UPSSoundServer: <p><center><img src="a03940.png" usemap="#NL3D::UPSSoundServer_map" border="0" alt=""></center> <map name="NL3D::UPSSoundServer_map"> <area href="a03237.html" alt="NL3D::CPSSoundServImpl" shape="rect" coords="0,56,160,80"> </map> <hr><a name="_details"></a><h2>Detailed Description</h2> This class is an interface which allow the particle system to create a sound. When a sound is created, the system get an interface on a sound instance. The interface must be registered to the particle system. when it has been created. <dl compact><dt><b>Author:</b></dt><dd>Nicolas Vizerie <p> Nevrax France </dd></dl> <dl compact><dt><b>Date:</b></dt><dd>2001 </dd></dl> <p> <p> Definition at line <a class="el" href="a06623.html#l00052">52</a> of file <a class="el" href="a06623.html">u_ps_sound_interface.h</a>.<table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03939.html">UPSSoundInstance</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03940.html#NL3D_1_1UPSSoundServera0">createSound</a> (const <a class="el" href="a05378.html#a236">NLMISC::TStringId</a> &soundName, bool spawn=false)=0</td></tr> </table> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="NL3D_1_1UPSSoundServera0" doxytag="NL3D::UPSSoundServer::createSound" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> virtual <a class="el" href="a03939.html">UPSSoundInstance</a>* NL3D::UPSSoundServer::createSound </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="a05378.html#a236">NLMISC::TStringId</a> & </td> <td class="mdname" nowrap> <em>soundName</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td></td> <td class="md" nowrap>bool </td> <td class="mdname" nowrap> <em>spawn</em> = false</td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [pure virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Querry the implementer to create a sound instance, and retrieve an interface to it. NULL means that the server can't create the sound, so it is ignored <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>soundName</em> </td><td>the name of the sound in the sound bank </td></tr> <tr><td valign=top><em>spawn</em> </td><td>true if the sound must be spawned e.g it continues after this interface is removed </td></tr> <tr><td valign=top><em>cb</em> </td><td>useful only for spawned sound, it tells when a spawned sound has been removed</td></tr> </table> </dl> <p> Implemented in <a class="el" href="a03237.html#NL3D_1_1CPSSoundServImpla1">NL3D::CPSSoundServImpl</a>. </td> </tr> </table> <hr>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="a06623.html">u_ps_sound_interface.h</a></ul> <hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 08:48:53 2004 for NeL by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.6 </small></address> </body> </html>