Sophie

Sophie

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

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: csutil/eventhandlers.h Source File (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><a href="classes.html"><span>Classes</span></a></li>
    <li class="current"><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
  </ul>
</div>
<h1>csutil/eventhandlers.h</h1><a href="csutil_2eventhandlers_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment">   Crystal Space 3D engine: Event and module naming interface</span>
<a name="l00003"></a>00003 <span class="comment">   (C) 2005 by Adam D. Bradley &lt;artdodge@cs.bu.edu&gt;</span>
<a name="l00004"></a>00004 <span class="comment">   </span>
<a name="l00005"></a>00005 <span class="comment">   This library is free software; you can redistribute it and/or</span>
<a name="l00006"></a>00006 <span class="comment">   modify it under the terms of the GNU Library General Public</span>
<a name="l00007"></a>00007 <span class="comment">   License as published by the Free Software Foundation; either</span>
<a name="l00008"></a>00008 <span class="comment">   version 2 of the License, or (at your option) any later version.</span>
<a name="l00009"></a>00009 <span class="comment">   </span>
<a name="l00010"></a>00010 <span class="comment">   This library is distributed in the hope that it will be useful,</span>
<a name="l00011"></a>00011 <span class="comment">   but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00012"></a>00012 <span class="comment">   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU</span>
<a name="l00013"></a>00013 <span class="comment">   Library General Public License for more details.</span>
<a name="l00014"></a>00014 <span class="comment">   </span>
<a name="l00015"></a>00015 <span class="comment">   You should have received a copy of the GNU Library General Public</span>
<a name="l00016"></a>00016 <span class="comment">   License along with this library; if not, write to the Free</span>
<a name="l00017"></a>00017 <span class="comment">   Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.</span>
<a name="l00018"></a>00018 <span class="comment">*/</span>
<a name="l00019"></a>00019 
<a name="l00020"></a>00020 <span class="preprocessor">#ifndef __CS_UTIL_EVENTHNAMES_H__</span>
<a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor">#define __CS_UTIL_EVENTHNAMES_H__</span>
<a name="l00022"></a>00022 <span class="preprocessor"></span>
<a name="l00023"></a>00023 <span class="preprocessor">#include "<a class="code" href="cssysdef_8h.html" title="This file should be #included before any other Crystal Space header files.">cssysdef.h</a>"</span>
<a name="l00024"></a>00024 <span class="preprocessor">#include "csextern.h"</span>
<a name="l00025"></a>00025 <span class="preprocessor">#include "<a class="code" href="iutil_2eventnames_8h.html" title="General event name resolver interface.">iutil/eventnames.h</a>"</span>
<a name="l00026"></a>00026 <span class="preprocessor">#include "<a class="code" href="iutil_2eventhandlers_8h.html" title="General event handler naming, name management, indexing, and instantiation interface...">iutil/eventhandlers.h</a>"</span>
<a name="l00027"></a>00027 <span class="preprocessor">#include "<a class="code" href="eventh_8h.html" title="Event handler interface.">iutil/eventh.h</a>"</span>
<a name="l00028"></a>00028 <span class="preprocessor">#include "<a class="code" href="csstring_8h.html" title="String utility class.">csutil/csstring.h</a>"</span>
<a name="l00029"></a>00029 <span class="preprocessor">#include "<a class="code" href="csutil_2eventnames_8h.html" title="Event naming and name relations.">csutil/eventnames.h</a>"</span>
<a name="l00030"></a>00030 <span class="preprocessor">#include "<a class="code" href="scf__implementation_8h.html" title="Crystal Space Shared Class Facility (SCF) - implementation creation support.">csutil/scf_implementation.h</a>"</span>
<a name="l00031"></a>00031 <span class="preprocessor">#include "<a class="code" href="hash_8h.html" title="A generic hash table.">csutil/hash.h</a>"</span>
<a name="l00032"></a>00032 <span class="preprocessor">#include "<a class="code" href="csutil_2strset_8h.html" title="String-to-ID hash table.">csutil/strset.h</a>"</span>
<a name="l00033"></a>00033 <span class="preprocessor">#include "<a class="code" href="ref_8h.html" title="Smart Pointers.">csutil/ref.h</a>"</span>
<a name="l00034"></a>00034 
<a name="l00035"></a>00035 <span class="keyword">struct </span><a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a>;
<a name="l00036"></a>00036 
<a name="l00044"></a>00044 <span class="keyword">struct </span><a class="code" href="structiEventHandler.html" title="This interface describes an entity that can receive events.">iEventHandler</a>;
<a name="l00045"></a>00045 
<a name="l00051"></a><a class="code" href="classcsEventHandlerRegistry.html">00051</a> <span class="keyword">class </span>CS_CRYSTALSPACE_EXPORT <a class="code" href="classcsEventHandlerRegistry.html" title="The csEventHandlerRegistry maintains a global one-to-one mapping from strings to...">csEventHandlerRegistry</a> : 
<a name="l00052"></a>00052   <span class="keyword">public</span> <a class="code" href="classscfImplementation1.html">scfImplementation1</a>&lt;csEventHandlerRegistry, iEventHandlerRegistry&gt;
<a name="l00053"></a>00053 {
<a name="l00054"></a>00054 <span class="keyword">public</span>:
<a name="l00055"></a>00055   <a class="code" href="classcsEventHandlerRegistry.html" title="The csEventHandlerRegistry maintains a global one-to-one mapping from strings to...">csEventHandlerRegistry</a>(<a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a>*);
<a name="l00056"></a>00056   ~<a class="code" href="classcsEventHandlerRegistry.html" title="The csEventHandlerRegistry maintains a global one-to-one mapping from strings to...">csEventHandlerRegistry</a>();
<a name="l00062"></a>00062   <a class="code" href="cssysdef_8h.html#66bba4b4bdb4b6dadd37563abc499d48" title="Use the CS_CONST_METHOD macro in front of method declarations to indicate that they...">CS_CONST_METHOD</a> <a class="code" href="group__event__handling.html#gd62f963e20f1180634a9557b392d987d">csHandlerID</a> GetGenericID (<span class="keyword">const</span> <span class="keywordtype">char</span>*);
<a name="l00063"></a><a class="code" href="classcsEventHandlerRegistry.html#aa085ce0ef055eaf2bd7b5e035bc1884">00063</a>   <span class="keyword">static</span> <a class="code" href="cssysdef_8h.html#66bba4b4bdb4b6dadd37563abc499d48" title="Use the CS_CONST_METHOD macro in front of method declarations to indicate that they...">CS_CONST_METHOD</a> <a class="code" href="group__event__handling.html#gd62f963e20f1180634a9557b392d987d">csHandlerID</a> GetGenericID (<a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a> *reg, 
<a name="l00064"></a>00064     <span class="keyword">const</span> <span class="keywordtype">char</span>* name) 
<a name="l00065"></a>00065   {
<a name="l00066"></a>00066     <span class="keywordflow">return</span> GetRegistry (reg)-&gt;GetGenericID (name);
<a name="l00067"></a>00067   }
<a name="l00068"></a>00068   <a class="code" href="cssysdef_8h.html#66bba4b4bdb4b6dadd37563abc499d48" title="Use the CS_CONST_METHOD macro in front of method declarations to indicate that they...">CS_CONST_METHOD</a> <a class="code" href="group__event__handling.html#gd62f963e20f1180634a9557b392d987d">csHandlerID</a> GetGenericPreBoundID (<a class="code" href="group__event__handling.html#gd62f963e20f1180634a9557b392d987d">csHandlerID</a>);
<a name="l00069"></a><a class="code" href="classcsEventHandlerRegistry.html#25eef7161c634d0077dcea1a717aa108">00069</a>   <span class="keyword">static</span> <a class="code" href="cssysdef_8h.html#66bba4b4bdb4b6dadd37563abc499d48" title="Use the CS_CONST_METHOD macro in front of method declarations to indicate that they...">CS_CONST_METHOD</a> <a class="code" href="group__event__handling.html#gd62f963e20f1180634a9557b392d987d">csHandlerID</a> GetGenericPreBoundID (
<a name="l00070"></a>00070     <a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a> *reg, <a class="code" href="group__event__handling.html#gd62f963e20f1180634a9557b392d987d">csHandlerID</a> <span class="keywordtype">id</span>) 
<a name="l00071"></a>00071   {
<a name="l00072"></a>00072     <span class="keywordflow">return</span> GetRegistry (reg)-&gt;GetGenericPreBoundID (<span class="keywordtype">id</span>);
<a name="l00073"></a>00073   }
<a name="l00074"></a>00074   <a class="code" href="cssysdef_8h.html#66bba4b4bdb4b6dadd37563abc499d48" title="Use the CS_CONST_METHOD macro in front of method declarations to indicate that they...">CS_CONST_METHOD</a> <a class="code" href="group__event__handling.html#gd62f963e20f1180634a9557b392d987d">csHandlerID</a> GetGenericPostBoundID (<a class="code" href="group__event__handling.html#gd62f963e20f1180634a9557b392d987d">csHandlerID</a>);
<a name="l00075"></a><a class="code" href="classcsEventHandlerRegistry.html#09009b0bb896b3ec715d1b63523de41f">00075</a>   <span class="keyword">static</span> <a class="code" href="cssysdef_8h.html#66bba4b4bdb4b6dadd37563abc499d48" title="Use the CS_CONST_METHOD macro in front of method declarations to indicate that they...">CS_CONST_METHOD</a> <a class="code" href="group__event__handling.html#gd62f963e20f1180634a9557b392d987d">csHandlerID</a> GetGenericPostBoundID (
<a name="l00076"></a>00076     <a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a> *reg, <a class="code" href="group__event__handling.html#gd62f963e20f1180634a9557b392d987d">csHandlerID</a> <span class="keywordtype">id</span>) 
<a name="l00077"></a>00077   {
<a name="l00078"></a>00078     <span class="keywordflow">return</span> GetRegistry (reg)-&gt;GetGenericPostBoundID (<span class="keywordtype">id</span>);
<a name="l00079"></a>00079   }
<a name="l00080"></a>00080     
<a name="l00085"></a>00085   <a class="code" href="group__event__handling.html#gd62f963e20f1180634a9557b392d987d">csHandlerID</a> GetID (<a class="code" href="structiEventHandler.html" title="This interface describes an entity that can receive events.">iEventHandler</a> *);
<a name="l00086"></a><a class="code" href="classcsEventHandlerRegistry.html#1fe2ebe24f0691e7c0b213e8caede8ac">00086</a>   <span class="keyword">static</span> <a class="code" href="cssysdef_8h.html#66bba4b4bdb4b6dadd37563abc499d48" title="Use the CS_CONST_METHOD macro in front of method declarations to indicate that they...">CS_CONST_METHOD</a> <a class="code" href="group__event__handling.html#gd62f963e20f1180634a9557b392d987d">csHandlerID</a> GetID (<a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a> *reg, 
<a name="l00087"></a>00087     <a class="code" href="structiEventHandler.html" title="This interface describes an entity that can receive events.">iEventHandler</a> *h) 
<a name="l00088"></a>00088   {
<a name="l00089"></a>00089     <span class="keywordflow">return</span> GetRegistry (reg)-&gt;GetID (h);
<a name="l00090"></a>00090   }
<a name="l00091"></a>00091 
<a name="l00092"></a>00092   <a class="code" href="group__event__handling.html#gd62f963e20f1180634a9557b392d987d">csHandlerID</a> RegisterID (<a class="code" href="structiEventHandler.html" title="This interface describes an entity that can receive events.">iEventHandler</a> *);
<a name="l00093"></a><a class="code" href="classcsEventHandlerRegistry.html#f647c57b7ec8f8eaa566752f19ec48fc">00093</a>   <span class="keyword">static</span> <a class="code" href="cssysdef_8h.html#66bba4b4bdb4b6dadd37563abc499d48" title="Use the CS_CONST_METHOD macro in front of method declarations to indicate that they...">CS_CONST_METHOD</a> <a class="code" href="group__event__handling.html#gd62f963e20f1180634a9557b392d987d">csHandlerID</a> RegisterID (<a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a> *reg, 
<a name="l00094"></a>00094     <a class="code" href="structiEventHandler.html" title="This interface describes an entity that can receive events.">iEventHandler</a> *h) 
<a name="l00095"></a>00095   {
<a name="l00096"></a>00096     <span class="keywordflow">return</span> GetRegistry (reg)-&gt;RegisterID (h);
<a name="l00097"></a>00097   }
<a name="l00098"></a>00098 
<a name="l00105"></a>00105   <a class="code" href="group__event__handling.html#gd62f963e20f1180634a9557b392d987d">csHandlerID</a> GetID (<span class="keyword">const</span> <span class="keywordtype">char</span>*);
<a name="l00106"></a><a class="code" href="classcsEventHandlerRegistry.html#794eaac60521ba0a9964893b9c89626b">00106</a>   <span class="keyword">static</span> <a class="code" href="cssysdef_8h.html#66bba4b4bdb4b6dadd37563abc499d48" title="Use the CS_CONST_METHOD macro in front of method declarations to indicate that they...">CS_CONST_METHOD</a> <a class="code" href="group__event__handling.html#gd62f963e20f1180634a9557b392d987d">csHandlerID</a> GetID (<a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a> *reg,
<a name="l00107"></a>00107                                             <span class="keyword">const</span> <span class="keywordtype">char</span>* name)
<a name="l00108"></a>00108   {
<a name="l00109"></a>00109     <span class="keywordflow">return</span> GetRegistry (reg)-&gt;GetID (name);
<a name="l00110"></a>00110   }
<a name="l00111"></a>00111 
<a name="l00115"></a>00115   <span class="keywordtype">void</span> ReleaseID (<a class="code" href="group__event__handling.html#gd62f963e20f1180634a9557b392d987d">csHandlerID</a> <span class="keywordtype">id</span>);
<a name="l00116"></a><a class="code" href="classcsEventHandlerRegistry.html#d0d9e870c0125f3579fb011657093092">00116</a>   <span class="keyword">static</span> <a class="code" href="cssysdef_8h.html#66bba4b4bdb4b6dadd37563abc499d48" title="Use the CS_CONST_METHOD macro in front of method declarations to indicate that they...">CS_CONST_METHOD</a> <span class="keywordtype">void</span> ReleaseID (<a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a> *reg, 
<a name="l00117"></a>00117     <a class="code" href="group__event__handling.html#gd62f963e20f1180634a9557b392d987d">csHandlerID</a> <span class="keywordtype">id</span>)
<a name="l00118"></a>00118   {
<a name="l00119"></a>00119     GetRegistry (reg)-&gt;ReleaseID (<span class="keywordtype">id</span>);
<a name="l00120"></a>00120   }
<a name="l00124"></a>00124   <span class="keywordtype">void</span> ReleaseID (<a class="code" href="structiEventHandler.html" title="This interface describes an entity that can receive events.">iEventHandler</a> *);
<a name="l00125"></a><a class="code" href="classcsEventHandlerRegistry.html#4d47d5b897f22db9a78b72754b1847f1">00125</a>   <span class="keyword">static</span> <a class="code" href="cssysdef_8h.html#66bba4b4bdb4b6dadd37563abc499d48" title="Use the CS_CONST_METHOD macro in front of method declarations to indicate that they...">CS_CONST_METHOD</a> <span class="keywordtype">void</span> ReleaseID (<a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a> *reg, 
<a name="l00126"></a>00126     <a class="code" href="structiEventHandler.html" title="This interface describes an entity that can receive events.">iEventHandler</a> *h) 
<a name="l00127"></a>00127   {
<a name="l00128"></a>00128     GetRegistry (reg)-&gt;ReleaseID (h);
<a name="l00129"></a>00129   }
<a name="l00135"></a>00135   <a class="code" href="cssysdef_8h.html#66bba4b4bdb4b6dadd37563abc499d48" title="Use the CS_CONST_METHOD macro in front of method declarations to indicate that they...">CS_CONST_METHOD</a> <a class="code" href="structiEventHandler.html" title="This interface describes an entity that can receive events.">iEventHandler</a>* GetHandler (<a class="code" href="group__event__handling.html#gd62f963e20f1180634a9557b392d987d">csHandlerID</a> <span class="keywordtype">id</span>);
<a name="l00136"></a><a class="code" href="classcsEventHandlerRegistry.html#0f2bfa20b578168abd16be64d38dd3c4">00136</a>   <span class="keyword">static</span> <span class="keyword">inline</span> <a class="code" href="cssysdef_8h.html#66bba4b4bdb4b6dadd37563abc499d48" title="Use the CS_CONST_METHOD macro in front of method declarations to indicate that they...">CS_CONST_METHOD</a> <a class="code" href="structiEventHandler.html" title="This interface describes an entity that can receive events.">iEventHandler</a>* GetHandler (
<a name="l00137"></a>00137     <a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a> *reg, <a class="code" href="group__event__handling.html#gd62f963e20f1180634a9557b392d987d">csHandlerID</a> <span class="keywordtype">id</span>) 
<a name="l00138"></a>00138   {
<a name="l00139"></a>00139     <span class="keywordflow">return</span> GetRegistry (reg)-&gt;GetHandler (<span class="keywordtype">id</span>);
<a name="l00140"></a>00140   };
<a name="l00141"></a>00141 
<a name="l00147"></a>00147   <a class="code" href="cssysdef_8h.html#66bba4b4bdb4b6dadd37563abc499d48" title="Use the CS_CONST_METHOD macro in front of method declarations to indicate that they...">CS_CONST_METHOD</a> <span class="keywordtype">bool</span> <span class="keyword">const</span> IsInstanceOf (<a class="code" href="group__event__handling.html#gd62f963e20f1180634a9557b392d987d">csHandlerID</a> instanceid, 
<a name="l00148"></a>00148     <a class="code" href="group__event__handling.html#gd62f963e20f1180634a9557b392d987d">csHandlerID</a> genericid);
<a name="l00149"></a><a class="code" href="classcsEventHandlerRegistry.html#17e5d9b9490c922244035e6e5fb36e61">00149</a>   <span class="keyword">static</span> <span class="keyword">inline</span> <a class="code" href="cssysdef_8h.html#66bba4b4bdb4b6dadd37563abc499d48" title="Use the CS_CONST_METHOD macro in front of method declarations to indicate that they...">CS_CONST_METHOD</a> <span class="keywordtype">bool</span> IsInstanceOf (<a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a> *reg, 
<a name="l00150"></a>00150     <a class="code" href="group__event__handling.html#gd62f963e20f1180634a9557b392d987d">csHandlerID</a> instanceid, <a class="code" href="group__event__handling.html#gd62f963e20f1180634a9557b392d987d">csHandlerID</a> genericid) 
<a name="l00151"></a>00151   {
<a name="l00152"></a>00152     <span class="keywordflow">return</span> GetRegistry (reg)-&gt;IsInstanceOf (instanceid, genericid);
<a name="l00153"></a>00153   };
<a name="l00154"></a>00154 
<a name="l00158"></a>00158   <a class="code" href="cssysdef_8h.html#66bba4b4bdb4b6dadd37563abc499d48" title="Use the CS_CONST_METHOD macro in front of method declarations to indicate that they...">CS_CONST_METHOD</a> <span class="keywordtype">bool</span> <span class="keyword">const</span> IsInstance (<a class="code" href="group__event__handling.html#gd62f963e20f1180634a9557b392d987d">csHandlerID</a> <span class="keywordtype">id</span>);
<a name="l00159"></a><a class="code" href="classcsEventHandlerRegistry.html#06c77243a6825514e08b37bc15ff9405">00159</a>   <span class="keyword">static</span> <span class="keyword">inline</span> <a class="code" href="cssysdef_8h.html#66bba4b4bdb4b6dadd37563abc499d48" title="Use the CS_CONST_METHOD macro in front of method declarations to indicate that they...">CS_CONST_METHOD</a> <span class="keywordtype">bool</span> IsInstance (<a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a> *reg, 
<a name="l00160"></a>00160     <a class="code" href="group__event__handling.html#gd62f963e20f1180634a9557b392d987d">csHandlerID</a> <span class="keywordtype">id</span>) 
<a name="l00161"></a>00161   {
<a name="l00162"></a>00162     <span class="keywordflow">return</span> GetRegistry (reg)-&gt;IsInstance (<span class="keywordtype">id</span>);
<a name="l00163"></a>00163   };
<a name="l00164"></a>00164 
<a name="l00168"></a>00168   <a class="code" href="cssysdef_8h.html#66bba4b4bdb4b6dadd37563abc499d48" title="Use the CS_CONST_METHOD macro in front of method declarations to indicate that they...">CS_CONST_METHOD</a> <a class="code" href="group__event__handling.html#gd62f963e20f1180634a9557b392d987d">csHandlerID</a> <span class="keyword">const</span> GetGeneric (<a class="code" href="group__event__handling.html#gd62f963e20f1180634a9557b392d987d">csHandlerID</a> <span class="keywordtype">id</span>);
<a name="l00169"></a><a class="code" href="classcsEventHandlerRegistry.html#f396640f3c3303313d9a7d8204bed34c">00169</a>   <span class="keyword">static</span> <span class="keyword">inline</span> <a class="code" href="cssysdef_8h.html#66bba4b4bdb4b6dadd37563abc499d48" title="Use the CS_CONST_METHOD macro in front of method declarations to indicate that they...">CS_CONST_METHOD</a> <a class="code" href="group__event__handling.html#gd62f963e20f1180634a9557b392d987d">csHandlerID</a> GetGeneric (<a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a> *reg, 
<a name="l00170"></a>00170     <a class="code" href="group__event__handling.html#gd62f963e20f1180634a9557b392d987d">csHandlerID</a> <span class="keywordtype">id</span>) 
<a name="l00171"></a>00171   {
<a name="l00172"></a>00172     <span class="keywordflow">return</span> GetRegistry (reg)-&gt;GetGeneric (<span class="keywordtype">id</span>);
<a name="l00173"></a>00173   };
<a name="l00174"></a>00174 
<a name="l00178"></a>00178   <a class="code" href="cssysdef_8h.html#66bba4b4bdb4b6dadd37563abc499d48" title="Use the CS_CONST_METHOD macro in front of method declarations to indicate that they...">CS_CONST_METHOD</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* GetString (<a class="code" href="group__event__handling.html#gd62f963e20f1180634a9557b392d987d">csHandlerID</a> <span class="keywordtype">id</span>);
<a name="l00179"></a><a class="code" href="classcsEventHandlerRegistry.html#96aef0cc38a8eb28f84bfe27a861a5a1">00179</a>   <span class="keyword">static</span> <span class="keyword">inline</span> <a class="code" href="cssysdef_8h.html#66bba4b4bdb4b6dadd37563abc499d48" title="Use the CS_CONST_METHOD macro in front of method declarations to indicate that they...">CS_CONST_METHOD</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* GetString (
<a name="l00180"></a>00180     <a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a> *reg, <a class="code" href="group__event__handling.html#gd62f963e20f1180634a9557b392d987d">csHandlerID</a> <span class="keywordtype">id</span>) 
<a name="l00181"></a>00181   {
<a name="l00182"></a>00182     <span class="keywordflow">return</span> GetRegistry (reg)-&gt;GetString (<span class="keywordtype">id</span>);
<a name="l00183"></a>00183   };
<a name="l00184"></a>00184 
<a name="l00185"></a>00185   <span class="keyword">static</span> <a class="code" href="classcsRef.html" title="A smart pointer.">csRef&lt;iEventHandlerRegistry&gt;</a> GetRegistry (
<a name="l00186"></a>00186     <a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a> *object_reg);
<a name="l00187"></a>00187 
<a name="l00188"></a>00188  <span class="keyword">private</span>:
<a name="l00189"></a>00189   <a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a> *object_reg;
<a name="l00190"></a>00190   <a class="code" href="classcsStringSet.html" title="The string set is a collection of unique strings.">csStringSet</a> names;
<a name="l00191"></a>00191   <a class="code" href="classcsHash.html" title="A generic hash table class, which grows dynamically and whose buckets are unsorted...">csHash&lt;csHandlerID, csHandlerID&gt;</a> instantiation; 
<a name="l00192"></a>00192   <span class="keyword">struct </span>KnownEventHandler
<a name="l00193"></a>00193   {
<a name="l00194"></a>00194     <a class="code" href="classcsRef.html" title="A smart pointer.">csRef&lt;iEventHandler&gt;</a> handler;
<a name="l00195"></a>00195     <span class="keywordtype">int</span> refcount;
<a name="l00196"></a>00196 
<a name="l00197"></a>00197     KnownEventHandler (<a class="code" href="structiEventHandler.html" title="This interface describes an entity that can receive events.">iEventHandler</a>* handler) : handler (handler),
<a name="l00198"></a>00198       refcount (1) {}
<a name="l00199"></a>00199   };
<a name="l00200"></a>00200   <a class="code" href="classcsHash.html" title="A generic hash table class, which grows dynamically and whose buckets are unsorted...">csHash&lt;KnownEventHandler, csHandlerID&gt;</a> idToHandler;
<a name="l00201"></a>00201   <a class="code" href="classcsHash.html" title="A generic hash table class, which grows dynamically and whose buckets are unsorted...">csHash&lt;csHandlerID, csPtrKey&lt;iEventHandler&gt;</a> &gt; handlerToID;
<a name="l00202"></a>00202   <a class="code" href="classcsHash.html" title="A generic hash table class, which grows dynamically and whose buckets are unsorted...">csHash&lt;csHandlerID, csHandlerID&gt;</a> handlerPres;
<a name="l00203"></a>00203   <a class="code" href="classcsHash.html" title="A generic hash table class, which grows dynamically and whose buckets are unsorted...">csHash&lt;csHandlerID, csHandlerID&gt;</a> handlerPosts;
<a name="l00204"></a>00204   <a class="code" href="group__util.html#g1134b580f8da4de94ca6b1de4d37975e" title="unsigned 32-bit integer (0..4 294 967 295)">uint32</a> instanceCounter;
<a name="l00205"></a>00205 };
<a name="l00206"></a>00206 
<a name="l00207"></a>00207 <span class="comment">/* @} */</span>
<a name="l00208"></a>00208 
<a name="l00209"></a>00209 
<a name="l00210"></a>00210 
<a name="l00211"></a><a class="code" href="structiFrameEventSignpost.html">00211</a> <span class="keyword">struct </span><a class="code" href="structiFrameEventSignpost.html">iFrameEventSignpost</a> : <span class="keyword">public</span> <a class="code" href="structiEventHandler.html" title="This interface describes an entity that can receive events.">iEventHandler</a> 
<a name="l00212"></a>00212 {
<a name="l00213"></a>00213  <span class="keyword">public</span>:
<a name="l00214"></a><a class="code" href="structiFrameEventSignpost.html#b7f0f39c012699963ef5a29548b851ae">00214</a>   <a class="code" href="structiFrameEventSignpost.html#b7f0f39c012699963ef5a29548b851ae">iFrameEventSignpost</a> () { }
<a name="l00215"></a><a class="code" href="structiFrameEventSignpost.html#2f0a08f00e2532770559c90cbf2dc1fa">00215</a>   <span class="keyword">virtual</span> <a class="code" href="structiFrameEventSignpost.html#2f0a08f00e2532770559c90cbf2dc1fa">~iFrameEventSignpost</a> () { }
<a name="l00216"></a>00216   <a class="code" href="group__event__handling.html#g3b8588d425823594019243398b3d4447" title="Macro to declare instance constraints which are the same as the generics.">CS_EVENTHANDLER_DEFAULT_INSTANCE_CONSTRAINTS</a>
<a name="l00217"></a><a class="code" href="structiFrameEventSignpost.html#d6e9e55d4646b681118ce1a35fa2cb8e">00217</a>   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="structiFrameEventSignpost.html#d6e9e55d4646b681118ce1a35fa2cb8e" title="This is the basic event handling function.">HandleEvent</a> (<a class="code" href="structiEvent.html" title="This interface describes any system event.">iEvent</a>&amp;) 
<a name="l00218"></a>00218   { 
<a name="l00219"></a>00219     <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00220"></a>00220   }
<a name="l00221"></a>00221 };
<a name="l00222"></a>00222 
<a name="l00223"></a>00223 
<a name="l00224"></a><a class="code" href="classFrameSignpost__Logic3D.html">00224</a> <span class="keyword">class </span><a class="code" href="classFrameSignpost__Logic3D.html">FrameSignpost_Logic3D</a>
<a name="l00225"></a>00225 : <span class="keyword">public</span> <a class="code" href="classscfImplementation2.html">scfImplementation2</a>&lt;FrameSignpost_Logic3D, 
<a name="l00226"></a>00226   iFrameEventSignpost, 
<a name="l00227"></a>00227   scfFakeInterface&lt;iEventHandler&gt; &gt; 
<a name="l00228"></a>00228 {
<a name="l00229"></a>00229  <span class="keyword">private</span>:
<a name="l00230"></a>00230   <a class="code" href="classFrameSignpost__Logic3D.html">FrameSignpost_Logic3D</a> () : <a class="code" href="classscfImplementation2.html#906f6daf91b8a2cf8d3f34727a0b0dd9">scfImplementationType</a> (<span class="keyword">this</span>) { }
<a name="l00231"></a>00231  <span class="keyword">public</span>:
<a name="l00232"></a>00232   <a class="code" href="group__event__handling.html#g4f7b2a21cfb5997a2bb258920fafc61f" title="Macro to create default GenericName and GenericName methods.">CS_EVENTHANDLER_NAMES</a>(<span class="stringliteral">"crystalspace.signpost.logic3d"</span>)
<a name="l00233"></a>00233   <a class="code" href="cssysdef_8h.html#66bba4b4bdb4b6dadd37563abc499d48" title="Use the CS_CONST_METHOD macro in front of method declarations to indicate that they...">CS_CONST_METHOD</a> <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="group__event__handling.html#gd62f963e20f1180634a9557b392d987d">csHandlerID</a> * <a class="code" href="classFrameSignpost__Logic3D.html#90091ebc74fa707f839fa63b4f3a336b" title="This function takes a csEventID as an argument and returns an array of csHandlerIDs...">GenericPrec</a>
<a name="l00234"></a>00234     (<a class="code" href="classcsRef.html" title="A smart pointer.">csRef&lt;iEventHandlerRegistry&gt;</a> &amp;,
<a name="l00235"></a>00235      <a class="code" href="classcsRef.html" title="A smart pointer.">csRef&lt;iEventNameRegistry&gt;</a> &amp;,
<a name="l00236"></a>00236      <a class="code" href="group__event__handling.html#g51e1762faeeefdadf693499fc93db757" title="A csEventID is a handle for a string representing an event&amp;#39;s hierarchical name...">csEventID</a>) <span class="keyword">const</span>;
<a name="l00237"></a>00237   <a class="code" href="cssysdef_8h.html#66bba4b4bdb4b6dadd37563abc499d48" title="Use the CS_CONST_METHOD macro in front of method declarations to indicate that they...">CS_CONST_METHOD</a> <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="group__event__handling.html#gd62f963e20f1180634a9557b392d987d">csHandlerID</a> * <a class="code" href="classFrameSignpost__Logic3D.html#53627e3486675626f766612aa0bab6fb" title="This function takes a csEventID as an argument and returns an array of csHandlerIDs...">GenericSucc</a>
<a name="l00238"></a>00238     (<a class="code" href="classcsRef.html" title="A smart pointer.">csRef&lt;iEventHandlerRegistry&gt;</a> &amp;r1,
<a name="l00239"></a>00239      <a class="code" href="classcsRef.html" title="A smart pointer.">csRef&lt;iEventNameRegistry&gt;</a> &amp;r2,
<a name="l00240"></a>00240      <a class="code" href="group__event__handling.html#g51e1762faeeefdadf693499fc93db757" title="A csEventID is a handle for a string representing an event&amp;#39;s hierarchical name...">csEventID</a> e) <span class="keyword">const</span>;
<a name="l00241"></a>00241 };
<a name="l00242"></a>00242 
<a name="l00243"></a><a class="code" href="classFrameSignpost__3D2D.html">00243</a> <span class="keyword">class </span><a class="code" href="classFrameSignpost__3D2D.html">FrameSignpost_3D2D</a>
<a name="l00244"></a>00244 : <span class="keyword">public</span> <a class="code" href="classscfImplementation2.html">scfImplementation2</a>&lt;FrameSignpost_3D2D, 
<a name="l00245"></a>00245   iFrameEventSignpost, 
<a name="l00246"></a>00246   scfFakeInterface&lt;iEventHandler&gt; &gt; 
<a name="l00247"></a>00247 {
<a name="l00248"></a>00248  <span class="keyword">private</span>:
<a name="l00249"></a>00249   <a class="code" href="classFrameSignpost__3D2D.html">FrameSignpost_3D2D</a> () : <a class="code" href="classscfImplementation2.html#906f6daf91b8a2cf8d3f34727a0b0dd9">scfImplementationType</a> (<span class="keyword">this</span>) { }
<a name="l00250"></a>00250  <span class="keyword">public</span>:
<a name="l00251"></a>00251   <a class="code" href="group__event__handling.html#g4f7b2a21cfb5997a2bb258920fafc61f" title="Macro to create default GenericName and GenericName methods.">CS_EVENTHANDLER_NAMES</a>(<span class="stringliteral">"crystalspace.signpost.3d2d"</span>)
<a name="l00252"></a>00252   <a class="code" href="cssysdef_8h.html#66bba4b4bdb4b6dadd37563abc499d48" title="Use the CS_CONST_METHOD macro in front of method declarations to indicate that they...">CS_CONST_METHOD</a> <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="group__event__handling.html#gd62f963e20f1180634a9557b392d987d">csHandlerID</a> * <a class="code" href="classFrameSignpost__3D2D.html#8a22956ef5032d5fb990c0e61006b071" title="This function takes a csEventID as an argument and returns an array of csHandlerIDs...">GenericPrec</a>
<a name="l00253"></a>00253     (<a class="code" href="classcsRef.html" title="A smart pointer.">csRef&lt;iEventHandlerRegistry&gt;</a> &amp;,
<a name="l00254"></a>00254      <a class="code" href="classcsRef.html" title="A smart pointer.">csRef&lt;iEventNameRegistry&gt;</a> &amp;,
<a name="l00255"></a>00255      <a class="code" href="group__event__handling.html#g51e1762faeeefdadf693499fc93db757" title="A csEventID is a handle for a string representing an event&amp;#39;s hierarchical name...">csEventID</a>) <span class="keyword">const</span>;
<a name="l00256"></a>00256   <a class="code" href="cssysdef_8h.html#66bba4b4bdb4b6dadd37563abc499d48" title="Use the CS_CONST_METHOD macro in front of method declarations to indicate that they...">CS_CONST_METHOD</a> <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="group__event__handling.html#gd62f963e20f1180634a9557b392d987d">csHandlerID</a> * <a class="code" href="classFrameSignpost__3D2D.html#f380cf7beefa1220dce8bc467dcfbdd9" title="This function takes a csEventID as an argument and returns an array of csHandlerIDs...">GenericSucc</a>
<a name="l00257"></a>00257     (<a class="code" href="classcsRef.html" title="A smart pointer.">csRef&lt;iEventHandlerRegistry&gt;</a> &amp;r1,
<a name="l00258"></a>00258      <a class="code" href="classcsRef.html" title="A smart pointer.">csRef&lt;iEventNameRegistry&gt;</a> &amp;r2,
<a name="l00259"></a>00259      <a class="code" href="group__event__handling.html#g51e1762faeeefdadf693499fc93db757" title="A csEventID is a handle for a string representing an event&amp;#39;s hierarchical name...">csEventID</a> e) <span class="keyword">const</span>;
<a name="l00260"></a>00260 };
<a name="l00261"></a>00261 
<a name="l00262"></a><a class="code" href="classFrameSignpost__2DConsole.html">00262</a> <span class="keyword">class </span><a class="code" href="classFrameSignpost__2DConsole.html">FrameSignpost_2DConsole</a>
<a name="l00263"></a>00263 : <span class="keyword">public</span> <a class="code" href="classscfImplementation2.html">scfImplementation2</a>&lt;FrameSignpost_2DConsole, 
<a name="l00264"></a>00264   iFrameEventSignpost, 
<a name="l00265"></a>00265   scfFakeInterface&lt;iEventHandler&gt; &gt; 
<a name="l00266"></a>00266 {
<a name="l00267"></a>00267  <span class="keyword">private</span>:
<a name="l00268"></a>00268   <a class="code" href="classFrameSignpost__2DConsole.html">FrameSignpost_2DConsole</a> () : <a class="code" href="classscfImplementation2.html#906f6daf91b8a2cf8d3f34727a0b0dd9">scfImplementationType</a> (<span class="keyword">this</span>) { }
<a name="l00269"></a>00269  <span class="keyword">public</span>:
<a name="l00270"></a>00270   <a class="code" href="group__event__handling.html#g4f7b2a21cfb5997a2bb258920fafc61f" title="Macro to create default GenericName and GenericName methods.">CS_EVENTHANDLER_NAMES</a>(<span class="stringliteral">"crystalspace.signpost.2dconsole"</span>)
<a name="l00271"></a>00271   <a class="code" href="cssysdef_8h.html#66bba4b4bdb4b6dadd37563abc499d48" title="Use the CS_CONST_METHOD macro in front of method declarations to indicate that they...">CS_CONST_METHOD</a> <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="group__event__handling.html#gd62f963e20f1180634a9557b392d987d">csHandlerID</a> * <a class="code" href="classFrameSignpost__2DConsole.html#fe718dca5a3e80cac0e0cf111270428b" title="This function takes a csEventID as an argument and returns an array of csHandlerIDs...">GenericPrec</a>
<a name="l00272"></a>00272     (<a class="code" href="classcsRef.html" title="A smart pointer.">csRef&lt;iEventHandlerRegistry&gt;</a> &amp;,
<a name="l00273"></a>00273      <a class="code" href="classcsRef.html" title="A smart pointer.">csRef&lt;iEventNameRegistry&gt;</a> &amp;,
<a name="l00274"></a>00274      <a class="code" href="group__event__handling.html#g51e1762faeeefdadf693499fc93db757" title="A csEventID is a handle for a string representing an event&amp;#39;s hierarchical name...">csEventID</a>) <span class="keyword">const</span>;
<a name="l00275"></a>00275   <a class="code" href="cssysdef_8h.html#66bba4b4bdb4b6dadd37563abc499d48" title="Use the CS_CONST_METHOD macro in front of method declarations to indicate that they...">CS_CONST_METHOD</a> <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="group__event__handling.html#gd62f963e20f1180634a9557b392d987d">csHandlerID</a> * <a class="code" href="classFrameSignpost__2DConsole.html#2c597389689fab7aa501afb9115e6470" title="This function takes a csEventID as an argument and returns an array of csHandlerIDs...">GenericSucc</a>
<a name="l00276"></a>00276     (<a class="code" href="classcsRef.html" title="A smart pointer.">csRef&lt;iEventHandlerRegistry&gt;</a> &amp;r1,
<a name="l00277"></a>00277      <a class="code" href="classcsRef.html" title="A smart pointer.">csRef&lt;iEventNameRegistry&gt;</a> &amp;r2,
<a name="l00278"></a>00278      <a class="code" href="group__event__handling.html#g51e1762faeeefdadf693499fc93db757" title="A csEventID is a handle for a string representing an event&amp;#39;s hierarchical name...">csEventID</a> e) <span class="keyword">const</span>;
<a name="l00279"></a>00279 };
<a name="l00280"></a>00280 
<a name="l00281"></a><a class="code" href="classFrameSignpost__ConsoleDebug.html">00281</a> <span class="keyword">class </span><a class="code" href="classFrameSignpost__ConsoleDebug.html">FrameSignpost_ConsoleDebug</a>
<a name="l00282"></a>00282 : <span class="keyword">public</span> <a class="code" href="classscfImplementation2.html">scfImplementation2</a>&lt;FrameSignpost_ConsoleDebug, 
<a name="l00283"></a>00283   iFrameEventSignpost, 
<a name="l00284"></a>00284   scfFakeInterface&lt;iEventHandler&gt; &gt; 
<a name="l00285"></a>00285 {
<a name="l00286"></a>00286  <span class="keyword">private</span>:
<a name="l00287"></a>00287   <a class="code" href="classFrameSignpost__ConsoleDebug.html">FrameSignpost_ConsoleDebug</a> () : <a class="code" href="classscfImplementation2.html#906f6daf91b8a2cf8d3f34727a0b0dd9">scfImplementationType</a> (<span class="keyword">this</span>) { }
<a name="l00288"></a>00288  <span class="keyword">public</span>:
<a name="l00289"></a>00289   <a class="code" href="group__event__handling.html#g4f7b2a21cfb5997a2bb258920fafc61f" title="Macro to create default GenericName and GenericName methods.">CS_EVENTHANDLER_NAMES</a>(<span class="stringliteral">"crystalspace.signpost.consoledebug"</span>)
<a name="l00290"></a>00290   <a class="code" href="cssysdef_8h.html#66bba4b4bdb4b6dadd37563abc499d48" title="Use the CS_CONST_METHOD macro in front of method declarations to indicate that they...">CS_CONST_METHOD</a> <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="group__event__handling.html#gd62f963e20f1180634a9557b392d987d">csHandlerID</a> * <a class="code" href="classFrameSignpost__ConsoleDebug.html#37e653560992517d3fa2148b5a0b5f62" title="This function takes a csEventID as an argument and returns an array of csHandlerIDs...">GenericPrec</a>
<a name="l00291"></a>00291     (<a class="code" href="classcsRef.html" title="A smart pointer.">csRef&lt;iEventHandlerRegistry&gt;</a> &amp;,
<a name="l00292"></a>00292      <a class="code" href="classcsRef.html" title="A smart pointer.">csRef&lt;iEventNameRegistry&gt;</a> &amp;,
<a name="l00293"></a>00293      <a class="code" href="group__event__handling.html#g51e1762faeeefdadf693499fc93db757" title="A csEventID is a handle for a string representing an event&amp;#39;s hierarchical name...">csEventID</a>) <span class="keyword">const</span>;
<a name="l00294"></a>00294   <a class="code" href="cssysdef_8h.html#66bba4b4bdb4b6dadd37563abc499d48" title="Use the CS_CONST_METHOD macro in front of method declarations to indicate that they...">CS_CONST_METHOD</a> <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="group__event__handling.html#gd62f963e20f1180634a9557b392d987d">csHandlerID</a> * <a class="code" href="classFrameSignpost__ConsoleDebug.html#4aab22de5446c98dd0f26ce0cab9fe15" title="This function takes a csEventID as an argument and returns an array of csHandlerIDs...">GenericSucc</a>
<a name="l00295"></a>00295     (<a class="code" href="classcsRef.html" title="A smart pointer.">csRef&lt;iEventHandlerRegistry&gt;</a> &amp;r1,
<a name="l00296"></a>00296      <a class="code" href="classcsRef.html" title="A smart pointer.">csRef&lt;iEventNameRegistry&gt;</a> &amp;r2,
<a name="l00297"></a>00297      <a class="code" href="group__event__handling.html#g51e1762faeeefdadf693499fc93db757" title="A csEventID is a handle for a string representing an event&amp;#39;s hierarchical name...">csEventID</a> e) <span class="keyword">const</span>;
<a name="l00298"></a>00298 };
<a name="l00299"></a>00299 
<a name="l00300"></a><a class="code" href="classFrameSignpost__DebugFrame.html">00300</a> <span class="keyword">class </span><a class="code" href="classFrameSignpost__DebugFrame.html">FrameSignpost_DebugFrame</a>
<a name="l00301"></a>00301 : <span class="keyword">public</span> <a class="code" href="classscfImplementation2.html">scfImplementation2</a>&lt;FrameSignpost_DebugFrame, 
<a name="l00302"></a>00302   iFrameEventSignpost, 
<a name="l00303"></a>00303   scfFakeInterface&lt;iEventHandler&gt; &gt; 
<a name="l00304"></a>00304 {
<a name="l00305"></a>00305  <span class="keyword">private</span>:
<a name="l00306"></a>00306   <a class="code" href="classFrameSignpost__DebugFrame.html">FrameSignpost_DebugFrame</a> () : <a class="code" href="classscfImplementation2.html#906f6daf91b8a2cf8d3f34727a0b0dd9">scfImplementationType</a> (<span class="keyword">this</span>) { }
<a name="l00307"></a>00307  <span class="keyword">public</span>:
<a name="l00308"></a>00308   <a class="code" href="group__event__handling.html#g4f7b2a21cfb5997a2bb258920fafc61f" title="Macro to create default GenericName and GenericName methods.">CS_EVENTHANDLER_NAMES</a>(<span class="stringliteral">"crystalspace.signpost.debugframe"</span>)
<a name="l00309"></a>00309   <a class="code" href="cssysdef_8h.html#66bba4b4bdb4b6dadd37563abc499d48" title="Use the CS_CONST_METHOD macro in front of method declarations to indicate that they...">CS_CONST_METHOD</a> <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="group__event__handling.html#gd62f963e20f1180634a9557b392d987d">csHandlerID</a> * <a class="code" href="classFrameSignpost__DebugFrame.html#2643502a7fb975f8b3bc41fba8d538ee" title="This function takes a csEventID as an argument and returns an array of csHandlerIDs...">GenericPrec</a>
<a name="l00310"></a>00310     (<a class="code" href="classcsRef.html" title="A smart pointer.">csRef&lt;iEventHandlerRegistry&gt;</a> &amp;,
<a name="l00311"></a>00311      <a class="code" href="classcsRef.html" title="A smart pointer.">csRef&lt;iEventNameRegistry&gt;</a> &amp;,
<a name="l00312"></a>00312      <a class="code" href="group__event__handling.html#g51e1762faeeefdadf693499fc93db757" title="A csEventID is a handle for a string representing an event&amp;#39;s hierarchical name...">csEventID</a>) <span class="keyword">const</span>;
<a name="l00313"></a>00313   <a class="code" href="cssysdef_8h.html#66bba4b4bdb4b6dadd37563abc499d48" title="Use the CS_CONST_METHOD macro in front of method declarations to indicate that they...">CS_CONST_METHOD</a> <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="group__event__handling.html#gd62f963e20f1180634a9557b392d987d">csHandlerID</a> * <a class="code" href="classFrameSignpost__DebugFrame.html#0a24e61c926fa6e3ee5d7edd460aaa36" title="This function takes a csEventID as an argument and returns an array of csHandlerIDs...">GenericSucc</a>
<a name="l00314"></a>00314     (<a class="code" href="classcsRef.html" title="A smart pointer.">csRef&lt;iEventHandlerRegistry&gt;</a> &amp;r1,
<a name="l00315"></a>00315      <a class="code" href="classcsRef.html" title="A smart pointer.">csRef&lt;iEventNameRegistry&gt;</a> &amp;r2,
<a name="l00316"></a>00316      <a class="code" href="group__event__handling.html#g51e1762faeeefdadf693499fc93db757" title="A csEventID is a handle for a string representing an event&amp;#39;s hierarchical name...">csEventID</a> e) <span class="keyword">const</span>;
<a name="l00317"></a>00317 };
<a name="l00318"></a>00318 
<a name="l00319"></a>00319 
<a name="l00325"></a><a class="code" href="csutil_2eventhandlers_8h.html#4ada3b18ed11fdfb128f8a272177fe5d">00325</a> <span class="preprocessor">#define CS_EVENTHANDLER_PHASE_LOGIC(x)                                  \</span>
<a name="l00326"></a>00326 <span class="preprocessor">CS_EVENTHANDLER_NAMES(x)                                                \</span>
<a name="l00327"></a>00327 <span class="preprocessor">CS_EVENTHANDLER_DEFAULT_INSTANCE_CONSTRAINTS                            \</span>
<a name="l00328"></a>00328 <span class="preprocessor">CS_CONST_METHOD virtual const csHandlerID * GenericPrec                 \</span>
<a name="l00329"></a>00329 <span class="preprocessor">(csRef&lt;iEventHandlerRegistry&gt; &amp;, csRef&lt;iEventNameRegistry&gt; &amp;,           \</span>
<a name="l00330"></a>00330 <span class="preprocessor"> csEventID) const {                                                     \</span>
<a name="l00331"></a>00331 <span class="preprocessor">  return 0;                                                             \</span>
<a name="l00332"></a>00332 <span class="preprocessor">}                                                                       \</span>
<a name="l00333"></a>00333 <span class="preprocessor">CS_CONST_METHOD virtual const csHandlerID * GenericSucc                 \</span>
<a name="l00334"></a>00334 <span class="preprocessor">(csRef&lt;iEventHandlerRegistry&gt; &amp;r1, csRef&lt;iEventNameRegistry&gt; &amp;r2,       \</span>
<a name="l00335"></a>00335 <span class="preprocessor"> csEventID event) const {                                               \</span>
<a name="l00336"></a>00336 <span class="preprocessor">  static csHandlerID succConstraint[6];                                 \</span>
<a name="l00337"></a>00337 <span class="preprocessor">  if (event != csevFrame(r2))                                           \</span>
<a name="l00338"></a>00338 <span class="preprocessor">    return 0;                                                           \</span>
<a name="l00339"></a>00339 <span class="preprocessor">  succConstraint[0] = FrameSignpost_Logic3D::StaticID(r1);              \</span>
<a name="l00340"></a>00340 <span class="preprocessor">  succConstraint[1] = FrameSignpost_3D2D::StaticID(r1);                 \</span>
<a name="l00341"></a>00341 <span class="preprocessor">  succConstraint[2] = FrameSignpost_2DConsole::StaticID(r1);            \</span>
<a name="l00342"></a>00342 <span class="preprocessor">  succConstraint[3] = FrameSignpost_ConsoleDebug::StaticID(r1);         \</span>
<a name="l00343"></a>00343 <span class="preprocessor">  succConstraint[4] = FrameSignpost_DebugFrame::StaticID(r1);           \</span>
<a name="l00344"></a>00344 <span class="preprocessor">  succConstraint[5] = CS_HANDLERLIST_END;                               \</span>
<a name="l00345"></a>00345 <span class="preprocessor">  return succConstraint;                                                \</span>
<a name="l00346"></a>00346 <span class="preprocessor">}</span>
<a name="l00347"></a>00347 <span class="preprocessor"></span>
<a name="l00354"></a><a class="code" href="csutil_2eventhandlers_8h.html#fe3929bf12ab372791dfa4f926761d08">00354</a> <span class="preprocessor">#define CS_EVENTHANDLER_PHASE_3D(x)                                     \</span>
<a name="l00355"></a>00355 <span class="preprocessor">CS_EVENTHANDLER_NAMES(x)                                                \</span>
<a name="l00356"></a>00356 <span class="preprocessor">CS_EVENTHANDLER_DEFAULT_INSTANCE_CONSTRAINTS                            \</span>
<a name="l00357"></a>00357 <span class="preprocessor">CS_CONST_METHOD virtual const csHandlerID * GenericPrec                 \</span>
<a name="l00358"></a>00358 <span class="preprocessor">(csRef&lt;iEventHandlerRegistry&gt; &amp;r1, csRef&lt;iEventNameRegistry&gt; &amp;r2,       \</span>
<a name="l00359"></a>00359 <span class="preprocessor"> csEventID event) const {                                               \</span>
<a name="l00360"></a>00360 <span class="preprocessor">  static csHandlerID precConstraint[2];                                 \</span>
<a name="l00361"></a>00361 <span class="preprocessor">  if (event != csevFrame(r2))                                           \</span>
<a name="l00362"></a>00362 <span class="preprocessor">    return 0;                                                           \</span>
<a name="l00363"></a>00363 <span class="preprocessor">  precConstraint[0] = FrameSignpost_Logic3D::StaticID(r1);              \</span>
<a name="l00364"></a>00364 <span class="preprocessor">  precConstraint[1] = CS_HANDLERLIST_END;                               \</span>
<a name="l00365"></a>00365 <span class="preprocessor">  return precConstraint;                                                \</span>
<a name="l00366"></a>00366 <span class="preprocessor">}                                                                       \</span>
<a name="l00367"></a>00367 <span class="preprocessor">CS_CONST_METHOD virtual const csHandlerID * GenericSucc                 \</span>
<a name="l00368"></a>00368 <span class="preprocessor">(csRef&lt;iEventHandlerRegistry&gt; &amp;r1, csRef&lt;iEventNameRegistry&gt; &amp;r2,       \</span>
<a name="l00369"></a>00369 <span class="preprocessor"> csEventID event) const {                                               \</span>
<a name="l00370"></a>00370 <span class="preprocessor">  static csHandlerID succConstraint[5];                                 \</span>
<a name="l00371"></a>00371 <span class="preprocessor">  if (event != csevFrame(r2))                                           \</span>
<a name="l00372"></a>00372 <span class="preprocessor">    return 0;                                                           \</span>
<a name="l00373"></a>00373 <span class="preprocessor">  succConstraint[0] = FrameSignpost_3D2D::StaticID(r1);                 \</span>
<a name="l00374"></a>00374 <span class="preprocessor">  succConstraint[1] = FrameSignpost_2DConsole::StaticID(r1);            \</span>
<a name="l00375"></a>00375 <span class="preprocessor">  succConstraint[2] = FrameSignpost_ConsoleDebug::StaticID(r1);         \</span>
<a name="l00376"></a>00376 <span class="preprocessor">  succConstraint[3] = FrameSignpost_DebugFrame::StaticID(r1);           \</span>
<a name="l00377"></a>00377 <span class="preprocessor">  succConstraint[4] = CS_HANDLERLIST_END;                               \</span>
<a name="l00378"></a>00378 <span class="preprocessor">  return succConstraint;                                                \</span>
<a name="l00379"></a>00379 <span class="preprocessor">}</span>
<a name="l00380"></a>00380 <span class="preprocessor"></span>
<a name="l00387"></a><a class="code" href="csutil_2eventhandlers_8h.html#754fd78231a571e0e56e2630b0a4736f">00387</a> <span class="preprocessor">#define CS_EVENTHANDLER_PHASE_2D(x)                                     \</span>
<a name="l00388"></a>00388 <span class="preprocessor">CS_EVENTHANDLER_NAMES(x)                                                \</span>
<a name="l00389"></a>00389 <span class="preprocessor">CS_EVENTHANDLER_DEFAULT_INSTANCE_CONSTRAINTS                            \</span>
<a name="l00390"></a>00390 <span class="preprocessor">CS_CONST_METHOD virtual const csHandlerID * GenericPrec                 \</span>
<a name="l00391"></a>00391 <span class="preprocessor">(csRef&lt;iEventHandlerRegistry&gt; &amp;r1, csRef&lt;iEventNameRegistry&gt; &amp;r2,       \</span>
<a name="l00392"></a>00392 <span class="preprocessor"> csEventID event) const {                                               \</span>
<a name="l00393"></a>00393 <span class="preprocessor">  static csHandlerID precConstraint[3];                                 \</span>
<a name="l00394"></a>00394 <span class="preprocessor">  if (event != csevFrame(r2))                                           \</span>
<a name="l00395"></a>00395 <span class="preprocessor">    return 0;                                                           \</span>
<a name="l00396"></a>00396 <span class="preprocessor">  precConstraint[0] = FrameSignpost_Logic3D::StaticID(r1);              \</span>
<a name="l00397"></a>00397 <span class="preprocessor">  precConstraint[1] = FrameSignpost_3D2D::StaticID(r1);                 \</span>
<a name="l00398"></a>00398 <span class="preprocessor">  precConstraint[2] = CS_HANDLERLIST_END;                               \</span>
<a name="l00399"></a>00399 <span class="preprocessor">  return precConstraint;                                                \</span>
<a name="l00400"></a>00400 <span class="preprocessor">}                                                                       \</span>
<a name="l00401"></a>00401 <span class="preprocessor">CS_CONST_METHOD virtual const csHandlerID * GenericSucc                 \</span>
<a name="l00402"></a>00402 <span class="preprocessor">(csRef&lt;iEventHandlerRegistry&gt; &amp;r1, csRef&lt;iEventNameRegistry&gt; &amp;r2,       \</span>
<a name="l00403"></a>00403 <span class="preprocessor"> csEventID event) const {                                               \</span>
<a name="l00404"></a>00404 <span class="preprocessor">  static csHandlerID succConstraint[4];                                 \</span>
<a name="l00405"></a>00405 <span class="preprocessor">  if (event != csevFrame(r2))                                           \</span>
<a name="l00406"></a>00406 <span class="preprocessor">    return 0;                                                           \</span>
<a name="l00407"></a>00407 <span class="preprocessor">  succConstraint[0] = FrameSignpost_2DConsole::StaticID(r1);            \</span>
<a name="l00408"></a>00408 <span class="preprocessor">  succConstraint[1] = FrameSignpost_ConsoleDebug::StaticID(r1);         \</span>
<a name="l00409"></a>00409 <span class="preprocessor">  succConstraint[2] = FrameSignpost_DebugFrame::StaticID(r1);           \</span>
<a name="l00410"></a>00410 <span class="preprocessor">  succConstraint[3] = CS_HANDLERLIST_END;                               \</span>
<a name="l00411"></a>00411 <span class="preprocessor">  return succConstraint;                                                \</span>
<a name="l00412"></a>00412 <span class="preprocessor">}</span>
<a name="l00413"></a>00413 <span class="preprocessor"></span>
<a name="l00420"></a><a class="code" href="csutil_2eventhandlers_8h.html#4c23b693961ab200f5decd08f6faa852">00420</a> <span class="preprocessor">#define CS_EVENTHANDLER_PHASE_CONSOLE(x)                                \</span>
<a name="l00421"></a>00421 <span class="preprocessor">CS_EVENTHANDLER_NAMES(x)                                                \</span>
<a name="l00422"></a>00422 <span class="preprocessor">CS_EVENTHANDLER_DEFAULT_INSTANCE_CONSTRAINTS                            \</span>
<a name="l00423"></a>00423 <span class="preprocessor">CS_CONST_METHOD virtual const csHandlerID * GenericPrec                 \</span>
<a name="l00424"></a>00424 <span class="preprocessor">(csRef&lt;iEventHandlerRegistry&gt; &amp;r1, csRef&lt;iEventNameRegistry&gt; &amp;r2,       \</span>
<a name="l00425"></a>00425 <span class="preprocessor"> csEventID event) const {                                               \</span>
<a name="l00426"></a>00426 <span class="preprocessor">  static csHandlerID precConstraint[4];                                 \</span>
<a name="l00427"></a>00427 <span class="preprocessor">  if (event != csevFrame(r2))                                           \</span>
<a name="l00428"></a>00428 <span class="preprocessor">    return 0;                                                           \</span>
<a name="l00429"></a>00429 <span class="preprocessor">  precConstraint[0] = FrameSignpost_Logic3D::StaticID(r1);              \</span>
<a name="l00430"></a>00430 <span class="preprocessor">  precConstraint[1] = FrameSignpost_3D2D::StaticID(r1);                 \</span>
<a name="l00431"></a>00431 <span class="preprocessor">  precConstraint[2] = FrameSignpost_2DConsole::StaticID(r1);            \</span>
<a name="l00432"></a>00432 <span class="preprocessor">  precConstraint[3] = CS_HANDLERLIST_END;                               \</span>
<a name="l00433"></a>00433 <span class="preprocessor">  return precConstraint;                                                \</span>
<a name="l00434"></a>00434 <span class="preprocessor">}                                                                       \</span>
<a name="l00435"></a>00435 <span class="preprocessor">CS_CONST_METHOD virtual const csHandlerID * GenericSucc                 \</span>
<a name="l00436"></a>00436 <span class="preprocessor">(csRef&lt;iEventHandlerRegistry&gt; &amp;r1, csRef&lt;iEventNameRegistry&gt; &amp;r2,       \</span>
<a name="l00437"></a>00437 <span class="preprocessor"> csEventID event) const {                                               \</span>
<a name="l00438"></a>00438 <span class="preprocessor">  static csHandlerID succConstraint[3];                                 \</span>
<a name="l00439"></a>00439 <span class="preprocessor">  if (event != csevFrame(r2))                                           \</span>
<a name="l00440"></a>00440 <span class="preprocessor">    return 0;                                                           \</span>
<a name="l00441"></a>00441 <span class="preprocessor">  succConstraint[0] = FrameSignpost_ConsoleDebug::StaticID(r1);         \</span>
<a name="l00442"></a>00442 <span class="preprocessor">  succConstraint[1] = FrameSignpost_DebugFrame::StaticID(r1);           \</span>
<a name="l00443"></a>00443 <span class="preprocessor">  succConstraint[2] = CS_HANDLERLIST_END;                               \</span>
<a name="l00444"></a>00444 <span class="preprocessor">  return succConstraint;                                                \</span>
<a name="l00445"></a>00445 <span class="preprocessor">}</span>
<a name="l00446"></a>00446 <span class="preprocessor"></span>
<a name="l00453"></a><a class="code" href="csutil_2eventhandlers_8h.html#e816522aa09b4fa75dc09de21329b9e6">00453</a> <span class="preprocessor">#define CS_EVENTHANDLER_PHASE_DEBUG(x)                                  \</span>
<a name="l00454"></a>00454 <span class="preprocessor">CS_EVENTHANDLER_NAMES(x)                                                \</span>
<a name="l00455"></a>00455 <span class="preprocessor">CS_EVENTHANDLER_DEFAULT_INSTANCE_CONSTRAINTS                            \</span>
<a name="l00456"></a>00456 <span class="preprocessor">CS_CONST_METHOD virtual const csHandlerID * GenericPrec                 \</span>
<a name="l00457"></a>00457 <span class="preprocessor">(csRef&lt;iEventHandlerRegistry&gt; &amp;r1, csRef&lt;iEventNameRegistry&gt; &amp;r2,       \</span>
<a name="l00458"></a>00458 <span class="preprocessor"> csEventID event) const {                                               \</span>
<a name="l00459"></a>00459 <span class="preprocessor">  static csHandlerID precConstraint[5];                                 \</span>
<a name="l00460"></a>00460 <span class="preprocessor">  if (event != csevFrame(r2))                                           \</span>
<a name="l00461"></a>00461 <span class="preprocessor">    return 0;                                                           \</span>
<a name="l00462"></a>00462 <span class="preprocessor">  precConstraint[0] = FrameSignpost_Logic3D::StaticID(r1);              \</span>
<a name="l00463"></a>00463 <span class="preprocessor">  precConstraint[0] = FrameSignpost_3D2D::StaticID(r1);                 \</span>
<a name="l00464"></a>00464 <span class="preprocessor">  precConstraint[0] = FrameSignpost_2DConsole::StaticID(r1);            \</span>
<a name="l00465"></a>00465 <span class="preprocessor">  precConstraint[0] = FrameSignpost_ConsoleDebug::StaticID(r1);         \</span>
<a name="l00466"></a>00466 <span class="preprocessor">  precConstraint[1] = CS_HANDLERLIST_END;                               \</span>
<a name="l00467"></a>00467 <span class="preprocessor">  return precConstraint;                                                \</span>
<a name="l00468"></a>00468 <span class="preprocessor">}                                                                       \</span>
<a name="l00469"></a>00469 <span class="preprocessor">CS_CONST_METHOD virtual const csHandlerID * GenericSucc                 \</span>
<a name="l00470"></a>00470 <span class="preprocessor">(csRef&lt;iEventHandlerRegistry&gt; &amp;r1, csRef&lt;iEventNameRegistry&gt; &amp;r2,       \</span>
<a name="l00471"></a>00471 <span class="preprocessor"> csEventID event) const {                                               \</span>
<a name="l00472"></a>00472 <span class="preprocessor">  static csHandlerID succConstraint[2];                                 \</span>
<a name="l00473"></a>00473 <span class="preprocessor">  if (event != csevFrame(r2))                                           \</span>
<a name="l00474"></a>00474 <span class="preprocessor">    return 0;                                                           \</span>
<a name="l00475"></a>00475 <span class="preprocessor">  succConstraint[0] = FrameSignpost_DebugFrame::StaticID(r1);           \</span>
<a name="l00476"></a>00476 <span class="preprocessor">  succConstraint[1] = CS_HANDLERLIST_END;                               \</span>
<a name="l00477"></a>00477 <span class="preprocessor">  return succConstraint;                                                \</span>
<a name="l00478"></a>00478 <span class="preprocessor">}</span>
<a name="l00479"></a>00479 <span class="preprocessor"></span>
<a name="l00485"></a><a class="code" href="csutil_2eventhandlers_8h.html#412901a6fddc603080b4ae1259e47401">00485</a> <span class="preprocessor">#define CS_EVENTHANDLER_PHASE_FRAME(x)                                  \</span>
<a name="l00486"></a>00486 <span class="preprocessor">CS_EVENTHANDLER_NAMES(x)                                                \</span>
<a name="l00487"></a>00487 <span class="preprocessor">CS_EVENTHANDLER_DEFAULT_INSTANCE_CONSTRAINTS                            \</span>
<a name="l00488"></a>00488 <span class="preprocessor">CS_CONST_METHOD virtual const csHandlerID * GenericPrec                 \</span>
<a name="l00489"></a>00489 <span class="preprocessor">(csRef&lt;iEventHandlerRegistry&gt; &amp;r1, csRef&lt;iEventNameRegistry&gt; &amp;r2,       \</span>
<a name="l00490"></a>00490 <span class="preprocessor"> csEventID event) const {                                               \</span>
<a name="l00491"></a>00491 <span class="preprocessor">  static csHandlerID precConstraint[6];                                 \</span>
<a name="l00492"></a>00492 <span class="preprocessor">  if (event != csevFrame(r2))                                           \</span>
<a name="l00493"></a>00493 <span class="preprocessor">    return 0;                                                           \</span>
<a name="l00494"></a>00494 <span class="preprocessor">  precConstraint[0] = FrameSignpost_Logic3D::StaticID(r1);              \</span>
<a name="l00495"></a>00495 <span class="preprocessor">  precConstraint[0] = FrameSignpost_3D2D::StaticID(r1);                 \</span>
<a name="l00496"></a>00496 <span class="preprocessor">  precConstraint[0] = FrameSignpost_2DConsole::StaticID(r1);            \</span>
<a name="l00497"></a>00497 <span class="preprocessor">  precConstraint[0] = FrameSignpost_ConsoleDebug::StaticID(r1);         \</span>
<a name="l00498"></a>00498 <span class="preprocessor">  precConstraint[0] = FrameSignpost_DebugFrame::StaticID(r1);           \</span>
<a name="l00499"></a>00499 <span class="preprocessor">  precConstraint[1] = CS_HANDLERLIST_END;                               \</span>
<a name="l00500"></a>00500 <span class="preprocessor">  return precConstraint;                                                \</span>
<a name="l00501"></a>00501 <span class="preprocessor">}                                                                       \</span>
<a name="l00502"></a>00502 <span class="preprocessor">CS_CONST_METHOD virtual const csHandlerID * GenericSucc                 \</span>
<a name="l00503"></a>00503 <span class="preprocessor">(csRef&lt;iEventHandlerRegistry&gt; &amp;, csRef&lt;iEventNameRegistry&gt; &amp;,           \</span>
<a name="l00504"></a>00504 <span class="preprocessor"> csEventID) const {                                                     \</span>
<a name="l00505"></a>00505 <span class="preprocessor">  return 0;                                                             \</span>
<a name="l00506"></a>00506 <span class="preprocessor">}</span>
<a name="l00507"></a>00507 <span class="preprocessor"></span>
<a name="l00508"></a>00508 <span class="preprocessor">#endif // __CS_UTIL_EVENTHNAMES_H__</span>
</pre></div><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>