diff options
Diffstat (limited to 'docs/doxygen/nel/a02469.html')
-rw-r--r-- | docs/doxygen/nel/a02469.html | 624 |
1 files changed, 624 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02469.html b/docs/doxygen/nel/a02469.html new file mode 100644 index 00000000..172abc9b --- /dev/null +++ b/docs/doxygen/nel/a02469.html @@ -0,0 +1,624 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>NeL: NLMISC::CEventEmitterMulti class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.6 --> +<div class="qindex"> <form class="search" action="search.php" method="get"> +<a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div> +<h1>NLMISC::CEventEmitterMulti Class Reference</h1><code>#include <<a class="el" href="a05683.html">event_emitter_multi.h</a>></code> +<p> +<p>Inheritance diagram for NLMISC::CEventEmitterMulti: +<p><center><img src="a02469.png" usemap="#NLMISC::CEventEmitterMulti_map" border="0" alt=""></center> +<map name="NLMISC::CEventEmitterMulti_map"> +<area href="a03852.html" alt="NLMISC::IEventEmitter" shape="rect" coords="0,56,171,80"> +<area href="a02209.html" alt="NLMISC::CRefCount" shape="rect" coords="0,0,171,24"> +</map> +<hr><a name="_details"></a><h2>Detailed Description</h2> +The composite pattern applied to events emmitters. This is useful when you don't have the opportunity to register more than one event emitter to an event server. +<p> + +<p> +Definition at line <a class="el" href="a05683.html#l00041">41</a> of file <a class="el" href="a05683.html">event_emitter_multi.h</a>.<table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02469.html#NLMISC_1_1CEventEmitterMultia0">addEmitter</a> (<a class="el" href="a03852.html">IEventEmitter</a> *e, bool mustDelete)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">============================================================ <a href="#NLMISC_1_1CEventEmitterMultia0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03852.html">IEventEmitter</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02469.html#NLMISC_1_1CEventEmitterMultia1">getEmitter</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a566">index</a>) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">============================================================ <a href="#NLMISC_1_1CEventEmitterMultia1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03852.html">IEventEmitter</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02469.html#NLMISC_1_1CEventEmitterMultia2">getEmitter</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a566">index</a>)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">============================================================ <a href="#NLMISC_1_1CEventEmitterMultia2"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02469.html#NLMISC_1_1CEventEmitterMultia3">getNumEmitters</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a04558.html#a14">sint</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypea8">getRefCount</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02469.html#NLMISC_1_1CEventEmitterMultia5">isEmitter</a> (<a class="el" href="a03852.html">IEventEmitter</a> *e) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">============================================================ <a href="#NLMISC_1_1CEventEmitterMultia5"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02469.html#NLMISC_1_1CEventEmitterMultia6">removeEmitter</a> (<a class="el" href="a03852.html">IEventEmitter</a> *e)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">============================================================ <a href="#NLMISC_1_1CEventEmitterMultia6"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02469.html#NLMISC_1_1CEventEmitterMultia7">submitEvents</a> (<a class="el" href="a02479.html">CEventServer</a> &server, bool allWindows)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">============================================================ <a href="#NLMISC_1_1CEventEmitterMultia7"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02469.html#NLMISC_1_1CEventEmitterMultia8">~CEventEmitterMulti</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">============================================================ <a href="#NLMISC_1_1CEventEmitterMultia8"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>Data Fields</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a14">sint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypeo0">crefs</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>CPtrInfo * </td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypeo1">pinfo</a></td></tr> + +<tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>CPtrInfo </td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypes0">NullPtrInfo</a></td></tr> + +<tr><td colspan=2><br><h2>Private Types</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::vector< std::pair<<br> + <a class="el" href="a03852.html">IEventEmitter</a> *, bool > > </td><td class="memItemRight" valign=bottom><a class="el" href="a02469.html#NLMISC_1_1CEventEmitterMultiy0">TEmitterCont</a></td></tr> + +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02469.html#NLMISC_1_1CEventEmitterMultiy0">TEmitterCont</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02469.html#NLMISC_1_1CEventEmitterMultir0">_Emitters</a></td></tr> + +<tr><td colspan=2><br><h2>Friends</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>struct </td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypen0">CPtrInfo</a></td></tr> + +</table> +<hr><h2>Member Typedef Documentation</h2> +<a class="anchor" name="NLMISC_1_1CEventEmitterMultiy0" doxytag="NLMISC::CEventEmitterMulti::TEmitterCont" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> typedef std::vector<std::pair<<a class="el" href="a03852.html">IEventEmitter</a> *, bool> > <a class="el" href="a02469.html#NLMISC_1_1CEventEmitterMultiy0">NLMISC::CEventEmitterMulti::TEmitterCont</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05683.html#l00060">60</a> of file <a class="el" href="a05683.html">event_emitter_multi.h</a>. </td> + </tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NLMISC_1_1CEventEmitterMultia8" doxytag="NLMISC::CEventEmitterMulti::~CEventEmitterMulti" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NLMISC::CEventEmitterMulti::~<a class="el" href="a02469.html">CEventEmitterMulti</a> </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +============================================================ +<p> + +<p> +Definition at line <a class="el" href="a05682.html#l00045">45</a> of file <a class="el" href="a05682.html">event_emitter_multi.cpp</a>. +<p> +References <a class="el" href="a05683.html#l00061">_Emitters</a>. +<p> +<div class="fragment"><pre>00046 { +00047 <span class="keywordflow">for</span> (TEmitterCont::iterator it = <a class="code" href="a02469.html#NLMISC_1_1CEventEmitterMultir0">_Emitters</a>.begin(); it != <a class="code" href="a02469.html#NLMISC_1_1CEventEmitterMultir0">_Emitters</a>.end(); ++it) +00048 { +00049 <span class="keywordflow">if</span> (it->second) <span class="comment">// asked "must Delete' ?</span> +00050 { +00051 <span class="keyword">delete</span> it->first; +00052 } +00053 } +00054 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NLMISC_1_1CEventEmitterMultia0" doxytag="NLMISC::CEventEmitterMulti::addEmitter" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::CEventEmitterMulti::addEmitter </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03852.html">IEventEmitter</a> * </td> + <td class="mdname" nowrap> <em>e</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>mustDelete</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +============================================================ +<p> + +<p> +Definition at line <a class="el" href="a05682.html#l00057">57</a> of file <a class="el" href="a05682.html">event_emitter_multi.cpp</a>. +<p> +References <a class="el" href="a05683.html#l00061">_Emitters</a>, <a class="el" href="a05682.html#l00077">isEmitter()</a>, and <a class="el" href="a05622.html#l00290">nlassert</a>. +<p> +<div class="fragment"><pre>00058 { +00059 <a class="code" href="a04199.html#a6">nlassert</a>(e != <span class="keyword">this</span>); <span class="comment">// avoid infinite recursion</span> +00060 <a class="code" href="a04199.html#a6">nlassert</a>(!<a class="code" href="a02469.html#NLMISC_1_1CEventEmitterMultia5">isEmitter</a>(e)); +00061 <a class="code" href="a02469.html#NLMISC_1_1CEventEmitterMultir0">_Emitters</a>.push_back(std::make_pair(e, mustDelete)); +00062 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CEventEmitterMultia1" doxytag="NLMISC::CEventEmitterMulti::getEmitter" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a03852.html">IEventEmitter</a> * NLMISC::CEventEmitterMulti::getEmitter </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>index</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +============================================================ +<p> + +<p> +Definition at line <a class="el" href="a05682.html#l00099">99</a> of file <a class="el" href="a05682.html">event_emitter_multi.cpp</a>. +<p> +References <a class="el" href="a05683.html#l00061">_Emitters</a>, <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00100 { +00101 <a class="code" href="a04199.html#a6">nlassert</a>(index < <a class="code" href="a02469.html#NLMISC_1_1CEventEmitterMultir0">_Emitters</a>.size()); +00102 <span class="keywordflow">return</span> <a class="code" href="a02469.html#NLMISC_1_1CEventEmitterMultir0">_Emitters</a>[<a class="code" href="a04223.html#a566">index</a>].first; +00103 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CEventEmitterMultia2" doxytag="NLMISC::CEventEmitterMulti::getEmitter" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03852.html">IEventEmitter</a> * NLMISC::CEventEmitterMulti::getEmitter </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>index</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +============================================================ +<p> + +<p> +Definition at line <a class="el" href="a05682.html#l00092">92</a> of file <a class="el" href="a05682.html">event_emitter_multi.cpp</a>. +<p> +References <a class="el" href="a05683.html#l00061">_Emitters</a>, <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00093 { +00094 <a class="code" href="a04199.html#a6">nlassert</a>(index < <a class="code" href="a02469.html#NLMISC_1_1CEventEmitterMultir0">_Emitters</a>.size()); +00095 <span class="keywordflow">return</span> <a class="code" href="a02469.html#NLMISC_1_1CEventEmitterMultir0">_Emitters</a>[<a class="code" href="a04223.html#a566">index</a>].first; +00096 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CEventEmitterMultia3" doxytag="NLMISC::CEventEmitterMulti::getNumEmitters" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a15">uint</a> NLMISC::CEventEmitterMulti::getNumEmitters </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05683.html#l00053">53</a> of file <a class="el" href="a05683.html">event_emitter_multi.h</a>. +<p> +References <a class="el" href="a05683.html#l00061">_Emitters</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00053 { <span class="keywordflow">return</span> <a class="code" href="a02469.html#NLMISC_1_1CEventEmitterMultir0">_Emitters</a>.size(); } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1UTypea8" doxytag="NLMISC::CEventEmitterMulti::getRefCount" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a04558.html#a14">sint</a>& NLMISC::CRefCount::getRefCount </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06402.html#l00070">70</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +References <a class="el" href="a06402.html#l00079">NLMISC::CRefCount::crefs</a>, and <a class="el" href="a05981.html#l00104">sint</a>. +<p> +<div class="fragment"><pre>00071 { +00072 <span class="keywordflow">return</span> <a class="code" href="a02209.html#NLGEORGES_1_1UTypeo0">crefs</a>; +00073 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CEventEmitterMultia5" doxytag="NLMISC::CEventEmitterMulti::isEmitter" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NLMISC::CEventEmitterMulti::isEmitter </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03852.html">IEventEmitter</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>e</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +============================================================ +<p> + +<p> +Definition at line <a class="el" href="a05682.html#l00077">77</a> of file <a class="el" href="a05682.html">event_emitter_multi.cpp</a>. +<p> +References <a class="el" href="a05683.html#l00061">_Emitters</a>. +<p> +Referenced by <a class="el" href="a05682.html#l00057">addEmitter()</a>. +<p> +<div class="fragment"><pre>00078 { +00079 TEmitterCont::const_iterator it = std::find_if(<a class="code" href="a02469.html#NLMISC_1_1CEventEmitterMultir0">_Emitters</a>.begin(), <a class="code" href="a02469.html#NLMISC_1_1CEventEmitterMultir0">_Emitters</a>.end(), EmitterEqualPred(e)); +00080 <span class="keywordflow">return</span> it != <a class="code" href="a02469.html#NLMISC_1_1CEventEmitterMultir0">_Emitters</a>.end(); +00081 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CEventEmitterMultia6" doxytag="NLMISC::CEventEmitterMulti::removeEmitter" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::CEventEmitterMulti::removeEmitter </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03852.html">IEventEmitter</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>e</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +============================================================ +<p> + +<p> +Definition at line <a class="el" href="a05682.html#l00065">65</a> of file <a class="el" href="a05682.html">event_emitter_multi.cpp</a>. +<p> +References <a class="el" href="a05683.html#l00061">_Emitters</a>, and <a class="el" href="a05622.html#l00290">nlassert</a>. +<p> +<div class="fragment"><pre>00066 { +00067 TEmitterCont::iterator it = std::find_if(<a class="code" href="a02469.html#NLMISC_1_1CEventEmitterMultir0">_Emitters</a>.begin(), <a class="code" href="a02469.html#NLMISC_1_1CEventEmitterMultir0">_Emitters</a>.end(), EmitterEqualPred(e)); +00068 <a class="code" href="a04199.html#a6">nlassert</a>(it!= <a class="code" href="a02469.html#NLMISC_1_1CEventEmitterMultir0">_Emitters</a>.end()); +00069 <span class="keywordflow">if</span> (it->second) +00070 { +00071 <span class="keyword">delete</span> it->first; +00072 } +00073 <a class="code" href="a02469.html#NLMISC_1_1CEventEmitterMultir0">_Emitters</a>.erase(it); +00074 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CEventEmitterMultia7" doxytag="NLMISC::CEventEmitterMulti::submitEvents" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::CEventEmitterMulti::submitEvents </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02479.html">CEventServer</a> & </td> + <td class="mdname" nowrap> <em>server</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>allWindows</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +============================================================ +<p> + +<p> +Implements <a class="el" href="a03852.html#NLMISC_1_1IEventEmittera1">NLMISC::IEventEmitter</a>. +<p> +Definition at line <a class="el" href="a05682.html#l00084">84</a> of file <a class="el" href="a05682.html">event_emitter_multi.cpp</a>. +<p> +References <a class="el" href="a05683.html#l00061">_Emitters</a>. +<p> +<div class="fragment"><pre>00085 { +00086 <span class="keywordflow">for</span> (TEmitterCont::iterator it = <a class="code" href="a02469.html#NLMISC_1_1CEventEmitterMultir0">_Emitters</a>.begin(); it != <a class="code" href="a02469.html#NLMISC_1_1CEventEmitterMultir0">_Emitters</a>.end(); ++it) +00087 { +00088 it->first->submitEvents(server, allWindows); +00089 } +00090 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Friends And Related Function Documentation</h2> +<a class="anchor" name="NLGEORGES_1_1UTypen0" doxytag="NLMISC::CEventEmitterMulti::CPtrInfo" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> friend struct CPtrInfo<code> [friend, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06402.html#l00067">67</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NLMISC_1_1CEventEmitterMultir0" doxytag="NLMISC::CEventEmitterMulti::_Emitters" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02469.html#NLMISC_1_1CEventEmitterMultiy0">TEmitterCont</a> <a class="el" href="a02469.html#NLMISC_1_1CEventEmitterMultir0">NLMISC::CEventEmitterMulti::_Emitters</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05683.html#l00061">61</a> of file <a class="el" href="a05683.html">event_emitter_multi.h</a>. +<p> +Referenced by <a class="el" href="a05682.html#l00057">addEmitter()</a>, <a class="el" href="a05682.html#l00092">getEmitter()</a>, <a class="el" href="a05683.html#l00053">getNumEmitters()</a>, <a class="el" href="a05682.html#l00077">isEmitter()</a>, <a class="el" href="a05682.html#l00065">removeEmitter()</a>, <a class="el" href="a05682.html#l00084">submitEvents()</a>, and <a class="el" href="a05682.html#l00045">~CEventEmitterMulti()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1UTypeo0" doxytag="NLMISC::CEventEmitterMulti::crefs" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a14">sint</a> <a class="el" href="a02209.html#NLGEORGES_1_1UTypeo0">NLMISC::CRefCount::crefs</a><code> [mutable, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06402.html#l00079">79</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +Referenced by <a class="el" href="a06402.html#l00085">NLMISC::CRefCount::CRefCount()</a>, <a class="el" href="a06402.html#l00070">NLMISC::CRefCount::getRefCount()</a>, and <a class="el" href="a06403.html#l00044">NLMISC::CRefCount::~CRefCount()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1UTypes0" doxytag="NLMISC::CEventEmitterMulti::NullPtrInfo" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03320.html">CRefCount::CPtrInfo</a> <a class="el" href="a02209.html#NLGEORGES_1_1UTypes0">NLMISC::CRefCount::NullPtrInfo</a><code> [static, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Referenced by <a class="el" href="a06402.html#l00085">NLMISC::CRefCount::CRefCount()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1UTypeo1" doxytag="NLMISC::CEventEmitterMulti::pinfo" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> CPtrInfo* <a class="el" href="a02209.html#NLGEORGES_1_1UTypeo1">NLMISC::CRefCount::pinfo</a><code> [mutable, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06402.html#l00080">80</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +Referenced by <a class="el" href="a06402.html#l00085">NLMISC::CRefCount::CRefCount()</a>, and <a class="el" href="a06403.html#l00044">NLMISC::CRefCount::~CRefCount()</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="a05683.html">event_emitter_multi.h</a><li><a class="el" href="a05682.html">event_emitter_multi.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 13:10:20 2004 for NeL by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 > +</a>1.3.6 </small></address> +</body> +</html> |