Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > bad97183153701b09df5fae1052b1c30 > files > 3661

crystalspace-doc-1.2.1-5mdv2010.0.i586.rpm

<!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>Crystal Space 1.2.1: iSharedVariable Struct Reference (Crystal Space 1.2.1 Public API Reference)</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="head">
 <tr height="59">
  <td class="head" width="202" valign="bottom" style="padding-left:0;"><a href="http://www.crystalspace3d.org/"><img src="csblur.png" width="236" height="59" alt="CrystalSpace" border="0"></a></td>
  <td class="head"><h2>Public API Reference</h2></td>
 </tr>
 <tr height="11">
  <td colspan="2" class="headshadow" valign="top" style="padding-left:0;"><img src="csblurb.png" width="236" height="11" alt="" border="0"></td>
 </tr>
</table>
<div class="content">
<!-- Generated by Doxygen 1.5.3 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="modules.html"><span>Modules</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li class="current"><a href="classes.html"><span>Classes</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
  </ul>
</div>
<div class="tabs">
  <ul>
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
  </ul>
</div>
<h1>iSharedVariable Struct Reference<br>
<small>
[<a class="el" href="group__engine3d.html">Crystal Space 3D Engine</a>]</small>
</h1><!-- doxytag: class="iSharedVariable" --><!-- doxytag: inherits="iBase" --><a class="el" href="structiSharedVariable.html" title="iSharedVariable implements a refcounted value which can be shared across many objects...">iSharedVariable</a> implements a refcounted value which can be shared across many objects and updated efficiently.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="sharevar_8h-source.html">iengine/sharevar.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for iSharedVariable:</div>
<div class="dynsection">
<p><center><img src="structiSharedVariable__inherit__graph.png" border="0" usemap="#iSharedVariable__inherit__map" alt="Inheritance graph"></center>
<map name="iSharedVariable__inherit__map">
<area shape="rect" href="structiBase.html" title="This is the basic interface: all other interfaces should be derived from this one..." alt="" coords="37,7,93,33"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="structiSharedVariable-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiSharedVariable.html#3d92773963c63daf5c1f3339c06549f4">SharedVariableType</a> { <br>
&nbsp;&nbsp;<a class="el" href="structiSharedVariable.html#3d92773963c63daf5c1f3339c06549f48f19d9be5d2ea08d0cbba95e70662bab">SV_UNKNOWN</a> =  0, 
<a class="el" href="structiSharedVariable.html#3d92773963c63daf5c1f3339c06549f463b6dd5e6712e779dd532ff96ad68b29">SV_FLOAT</a> =  1, 
<a class="el" href="structiSharedVariable.html#3d92773963c63daf5c1f3339c06549f46bdf786529f64bd593c36e5357d1a533">SV_COLOR</a> =  2, 
<a class="el" href="structiSharedVariable.html#3d92773963c63daf5c1f3339c06549f41d9ecf0323bbe1bf11c805b0ab5ed9a1">SV_VECTOR</a> =  3, 
<br>
&nbsp;&nbsp;<a class="el" href="structiSharedVariable.html#3d92773963c63daf5c1f3339c06549f490bed0a4b597ccf73f2b86f6b5249050">SV_STRING</a> =  4
<br>
 }</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Possible types stored by this class.  <a href="structiSharedVariable.html#3d92773963c63daf5c1f3339c06549f4">More...</a><br></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiSharedVariable.html#36a80b83d9cc49b1866b839d29c4d5e6">AddListener</a> (<a class="el" href="structiSharedVariableListener.html">iSharedVariableListener</a> *listener)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Add a listener to variables.  <a href="#36a80b83d9cc49b1866b839d29c4d5e6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiSharedVariable.html#4a4d99dab514db69f4ab42240e49e0a0">Get</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the floating point version of the var value.  <a href="#4a4d99dab514db69f4ab42240e49e0a0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const <a class="el" href="classcsColor.html">csColor</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiSharedVariable.html#5715316807d55507845988c7da140f6a">GetColor</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the <a class="el" href="classcsColor.html" title="A class used to represent a color in RGB space.">csColor</a> from the variable.  <a href="#5715316807d55507845988c7da140f6a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiSharedVariable.html#43615a1af35703211ec643e39fa213e7">GetName</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the name of this variable.  <a href="#43615a1af35703211ec643e39fa213e7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiSharedVariable.html#24e6178982c95369c6ebaccb396442ca">GetString</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the string from the variable.  <a href="#24e6178982c95369c6ebaccb396442ca"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiSharedVariable.html#0d5a4f68a8747f123c070ba09c50ee16">GetType</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the type currently stored by this variable.  <a href="#0d5a4f68a8747f123c070ba09c50ee16"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const <a class="el" href="classcsVector3.html">csVector3</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiSharedVariable.html#a9cbb45ecbbaccb0e778165a8016fdaa">GetVector</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the vector from the variable.  <a href="#a9cbb45ecbbaccb0e778165a8016fdaa"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="structiObject.html">iObject</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiSharedVariable.html#be48000128b6cd565a15c63ff53a71ca">QueryObject</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the private object interface.  <a href="#be48000128b6cd565a15c63ff53a71ca"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiSharedVariable.html#7e844606f39bb5c9e5d9cf712ad57152">RemoveListener</a> (<a class="el" href="structiSharedVariableListener.html">iSharedVariableListener</a> *listener)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Remove a listener.  <a href="#7e844606f39bb5c9e5d9cf712ad57152"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiSharedVariable.html#3baa9f096dacfd96ff00bc964458755e">Set</a> (float val)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the variable to a floating pt value.  <a href="#3baa9f096dacfd96ff00bc964458755e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiSharedVariable.html#f15cf6a1762900824eb83458c77c2e2d">SetColor</a> (const <a class="el" href="classcsColor.html">csColor</a> &amp;col)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the variable to store a <a class="el" href="classcsColor.html" title="A class used to represent a color in RGB space.">csColor</a>.  <a href="#f15cf6a1762900824eb83458c77c2e2d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiSharedVariable.html#e88c3d5680f2fc065b01c65dc21f77b7">SetName</a> (const char *name)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">iSharedVariables are referenced by name. Here is where you set it.  <a href="#e88c3d5680f2fc065b01c65dc21f77b7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiSharedVariable.html#efe2441eb60bf05b534cfefa75de8efe">SetString</a> (const char *str)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the string from the variable.  <a href="#efe2441eb60bf05b534cfefa75de8efe"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiSharedVariable.html#fafa43673f7ece9edf1da6023683346f">SetVector</a> (const <a class="el" href="classcsVector3.html">csVector3</a> &amp;v)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the variable to store a <a class="el" href="classcsVector3.html" title="A 3D vector.">csVector3</a>.  <a href="#fafa43673f7ece9edf1da6023683346f"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="structiSharedVariable.html" title="iSharedVariable implements a refcounted value which can be shared across many objects...">iSharedVariable</a> implements a refcounted value which can be shared across many objects and updated efficiently. 
<p>
Main creators of instances implementing this interface:<ul>
<li><a class="el" href="structiSharedVariableList.html#35b0f575df2458087392200647498540" title="iSharedVariable Factory method. This does not add the new var to the list.">iSharedVariableList::New()</a></li></ul>
<p>
Main ways to get pointers to this interface:<ul>
<li><a class="el" href="structiEngine.html#83c863eac2f8c0e24ee0fa5807b9cd36" title="Get the list of all shared variables.">iEngine::GetVariableList()</a></li><li><a class="el" href="structiSharedVariableList.html#609915394942bd97eb7f5f71f3e98c7e" title="Return a SharedVariable by index.">iSharedVariableList::Get()</a> </li></ul>

<p>Definition at line <a class="el" href="sharevar_8h-source.html#l00050">50</a> of file <a class="el" href="sharevar_8h-source.html">sharevar.h</a>.</p>
<hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="3d92773963c63daf5c1f3339c06549f4"></a><!-- doxytag: member="iSharedVariable::SharedVariableType" ref="3d92773963c63daf5c1f3339c06549f4" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="structiSharedVariable.html#3d92773963c63daf5c1f3339c06549f4">iSharedVariable::SharedVariableType</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Possible types stored by this class. 
<p>
<dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="3d92773963c63daf5c1f3339c06549f48f19d9be5d2ea08d0cbba95e70662bab"></a><!-- doxytag: member="SV_UNKNOWN" ref="3d92773963c63daf5c1f3339c06549f48f19d9be5d2ea08d0cbba95e70662bab" args="" -->SV_UNKNOWN</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="3d92773963c63daf5c1f3339c06549f463b6dd5e6712e779dd532ff96ad68b29"></a><!-- doxytag: member="SV_FLOAT" ref="3d92773963c63daf5c1f3339c06549f463b6dd5e6712e779dd532ff96ad68b29" args="" -->SV_FLOAT</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="3d92773963c63daf5c1f3339c06549f46bdf786529f64bd593c36e5357d1a533"></a><!-- doxytag: member="SV_COLOR" ref="3d92773963c63daf5c1f3339c06549f46bdf786529f64bd593c36e5357d1a533" args="" -->SV_COLOR</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="3d92773963c63daf5c1f3339c06549f41d9ecf0323bbe1bf11c805b0ab5ed9a1"></a><!-- doxytag: member="SV_VECTOR" ref="3d92773963c63daf5c1f3339c06549f41d9ecf0323bbe1bf11c805b0ab5ed9a1" args="" -->SV_VECTOR</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="3d92773963c63daf5c1f3339c06549f490bed0a4b597ccf73f2b86f6b5249050"></a><!-- doxytag: member="SV_STRING" ref="3d92773963c63daf5c1f3339c06549f490bed0a4b597ccf73f2b86f6b5249050" args="" -->SV_STRING</em>&nbsp;</td><td>
</td></tr>
</table>
</dl>

<p>Definition at line <a class="el" href="sharevar_8h-source.html#l00087">87</a> of file <a class="el" href="sharevar_8h-source.html">sharevar.h</a>.</p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="36a80b83d9cc49b1866b839d29c4d5e6"></a><!-- doxytag: member="iSharedVariable::AddListener" ref="36a80b83d9cc49b1866b839d29c4d5e6" args="(iSharedVariableListener *listener)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void iSharedVariable::AddListener           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structiSharedVariableListener.html">iSharedVariableListener</a> *&nbsp;</td>
          <td class="paramname"> <em>listener</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Add a listener to variables. 
<p>

</div>
</div><p>
<a class="anchor" name="4a4d99dab514db69f4ab42240e49e0a0"></a><!-- doxytag: member="iSharedVariable::Get" ref="4a4d99dab514db69f4ab42240e49e0a0" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual float iSharedVariable::Get           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the floating point version of the var value. 
<p>

</div>
</div><p>
<a class="anchor" name="5715316807d55507845988c7da140f6a"></a><!-- doxytag: member="iSharedVariable::GetColor" ref="5715316807d55507845988c7da140f6a" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const <a class="el" href="classcsColor.html">csColor</a>&amp; iSharedVariable::GetColor           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the <a class="el" href="classcsColor.html" title="A class used to represent a color in RGB space.">csColor</a> from the variable. 
<p>

</div>
</div><p>
<a class="anchor" name="43615a1af35703211ec643e39fa213e7"></a><!-- doxytag: member="iSharedVariable::GetName" ref="43615a1af35703211ec643e39fa213e7" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const char* iSharedVariable::GetName           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the name of this variable. 
<p>

</div>
</div><p>
<a class="anchor" name="24e6178982c95369c6ebaccb396442ca"></a><!-- doxytag: member="iSharedVariable::GetString" ref="24e6178982c95369c6ebaccb396442ca" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const char* iSharedVariable::GetString           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the string from the variable. 
<p>

</div>
</div><p>
<a class="anchor" name="0d5a4f68a8747f123c070ba09c50ee16"></a><!-- doxytag: member="iSharedVariable::GetType" ref="0d5a4f68a8747f123c070ba09c50ee16" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int iSharedVariable::GetType           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the type currently stored by this variable. 
<p>

</div>
</div><p>
<a class="anchor" name="a9cbb45ecbbaccb0e778165a8016fdaa"></a><!-- doxytag: member="iSharedVariable::GetVector" ref="a9cbb45ecbbaccb0e778165a8016fdaa" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const <a class="el" href="classcsVector3.html">csVector3</a>&amp; iSharedVariable::GetVector           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the vector from the variable. 
<p>

</div>
</div><p>
<a class="anchor" name="be48000128b6cd565a15c63ff53a71ca"></a><!-- doxytag: member="iSharedVariable::QueryObject" ref="be48000128b6cd565a15c63ff53a71ca" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="structiObject.html">iObject</a>* iSharedVariable::QueryObject           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the private object interface. 
<p>

</div>
</div><p>
<a class="anchor" name="7e844606f39bb5c9e5d9cf712ad57152"></a><!-- doxytag: member="iSharedVariable::RemoveListener" ref="7e844606f39bb5c9e5d9cf712ad57152" args="(iSharedVariableListener *listener)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void iSharedVariable::RemoveListener           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structiSharedVariableListener.html">iSharedVariableListener</a> *&nbsp;</td>
          <td class="paramname"> <em>listener</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Remove a listener. 
<p>

</div>
</div><p>
<a class="anchor" name="3baa9f096dacfd96ff00bc964458755e"></a><!-- doxytag: member="iSharedVariable::Set" ref="3baa9f096dacfd96ff00bc964458755e" args="(float val)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void iSharedVariable::Set           </td>
          <td>(</td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>val</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the variable to a floating pt value. 
<p>

</div>
</div><p>
<a class="anchor" name="f15cf6a1762900824eb83458c77c2e2d"></a><!-- doxytag: member="iSharedVariable::SetColor" ref="f15cf6a1762900824eb83458c77c2e2d" args="(const csColor &amp;col)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void iSharedVariable::SetColor           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classcsColor.html">csColor</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>col</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the variable to store a <a class="el" href="classcsColor.html" title="A class used to represent a color in RGB space.">csColor</a>. 
<p>

</div>
</div><p>
<a class="anchor" name="e88c3d5680f2fc065b01c65dc21f77b7"></a><!-- doxytag: member="iSharedVariable::SetName" ref="e88c3d5680f2fc065b01c65dc21f77b7" args="(const char *name)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void iSharedVariable::SetName           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
iSharedVariables are referenced by name. Here is where you set it. 
<p>

</div>
</div><p>
<a class="anchor" name="efe2441eb60bf05b534cfefa75de8efe"></a><!-- doxytag: member="iSharedVariable::SetString" ref="efe2441eb60bf05b534cfefa75de8efe" args="(const char *str)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void iSharedVariable::SetString           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>str</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the string from the variable. 
<p>

</div>
</div><p>
<a class="anchor" name="fafa43673f7ece9edf1da6023683346f"></a><!-- doxytag: member="iSharedVariable::SetVector" ref="fafa43673f7ece9edf1da6023683346f" args="(const csVector3 &amp;v)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void iSharedVariable::SetVector           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classcsVector3.html">csVector3</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>v</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the variable to store a <a class="el" href="classcsVector3.html" title="A 3D vector.">csVector3</a>. 
<p>

</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li>iengine/<a class="el" href="sharevar_8h-source.html">sharevar.h</a></ul>
<hr size="1"><address><small>Generated for Crystal Space 1.2.1 by 
<a href="http://www.doxygen.org/index.html">doxygen</a> 1.5.3 
</small></address> </div></body> </html>