<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>OpenVRML: openvrml::node_impl_util::event_emitter_base< Node > Class Template Reference</title> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <link rel="icon" href="../vrml-16"> <link rel="start" href="http://openvrml.org/index" title="OpenVRML Home"> <link rel="prev" href="http://openvrml.org/discussion" title="Discussion"> <link rel="contents" href="index" title="Documentation Main Page"> <link rel="index" href="functions" title="OpenVRML Compound Members"> <link rel="appendix" href="conformance" title="Conformance Test Results"> <style type="text/css"> @import url("doxygen.css"); @import url("tabs.css"); @import url("http://openvrml.org/openvrml.css"); body, td { font-size: 100%; } p, center, td, th, ul, dl, div { font-family: inherit; } h2 { border-bottom-style: solid; border-bottom-width: 1px; } /* * Doxygen as of 1.5.4-20071217 uses the class "navpath" instead of "nav". * For now, we'll do both. */ div.nav, div.navpath { background-color: transparent; text-align: left; margin-top: 1em; margin-bottom: 1em; border-color: black; border-left: none; border-right: none; padding-top: 0.5em; padding-bottom: 0.5em; } div.nav a.el:link, div.nav a.el:visited, div.navpath a.el:link, div.navpath a.el:visited { border-width: 1px; border-style: solid; border-color: silver; padding: 2px; } div.nav a.el:link:hover, div.nav a.el:visited:hover, div.navpath a.el:link:hover, div.navpath a.el:visited:hover { border-style: outset; border-color: gray; } div.nav a.el:active, div.navpath a.el:active { border-style: inset; border-color: gray; } .body td { background-color: transparent; } div.qindex { background-color: transparent; border: none; } a { color: inherit; } a.qindex { text-decoration: inherit; color: inherit; padding: 0; } a.qindex:visited { text-decoration: inherit; font-weight: inherit; color: inherit; padding: 0; } a.qindex:hover { text-decoration: inherit; background-color: transparent; padding: 0; } a.qindexHL { text-decoration: inherit; font-weight: inherit; background-color: transparent; color: inherit; padding: 0; } a.qindexHL:hover { text-decoration: inherit; background-color: transparent; color: inherit; padding: 0; } a.qindexHL:visited { text-decoration: inherit; background-color: transparent; color: inherit; } a.el { text-decoration: inherit; font-weight: inherit } a.elRef { font-weight: inherit } a.code:link, a.code:visited { text-decoration: inherit; font-weight: inherit; color: inherit; } a.codeRef:link { font-weight: normal; color: inherit; } a { color: inherit; } a:visited { color: silver; } a:hover { color: inherit; text-decoration: inherit; background-color: transparent; } h1 { line-height: 1.2em; } div.qindex { font-size: smaller; } div.qindex .qindex:link, div.qindex .qindex:visited { font-weight: inherit; } div.qindex .qindexHL:link, div.qindex .qindexHL:visited { font-weight: bold; } td.memItemLeft, td.memItemRight, td.memTemplParams, td.memTemplItemLeft, td.memTemplItemRight, .memtemplate, .memname td { font-family: Consolas, "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Lucida Console", LucidaTypewriter, monospace; } td.memItemLeft, td.memItemRight, td.mdescLeft, td.mdescRight { background-color: rgb(95%, 95%, 95%); } .mdTable { background-color: rgb(95%, 95%, 95%); } .memproto td code { font-family: inherit; font-style: italic; } td.pass { background-color: rgb(50%, 100%, 50%); } td.fail { background-color: rgb(100%, 50%, 50%); } td.invalid { background-color: rgb(75%, 75%, 75%); } .memitem { background-color: rgb(95%, 95%, 95%); border-color: rgb(80%, 80%, 80%); } .memproto { background-color: rgb(90%, 90%, 90%); border-color: rgb(65%, 65%, 65%); font-weight: inherit; } .memname { font-weight: inherit; } div.tabs { background-image: url("tab_b-openvrml.png"); } div.tabs span { background-image: url("tab_l-openvrml.png"); } div.tabs a { background-image: url("tab_r-openvrml.png"); border-bottom: 1px solid #a5a5a5; } div.tabs a:link, div.tabs a:visited, div.tabs a:active, div.tabs a:hover { color: black; } table { border-collapse: collapse; border-spacing: 0; } .note { border: 1px solid rgb(65%, 65%, 65%); background-color: rgb(95%, 95%, 95%); margin-left: 10%; margin-right: 10%; } </style> </head> <body> <table class="sitenav"> <tr> <th><a href="http://openvrml.org/index" title="Home">Home</a></th> <th><a href="http://openvrml.org/download" title="Download">Download</a></th> <th><a href="http://openvrml.org/screenshots/index" title="Screen shots">Screen shots</a></th> <th><a href="http://openvrml.org/discussion" title="Mailing lists and IRC">Discussion</a></th> <th>Documentation</th> </tr> </table> <div class="body"> <!-- Generated by Doxygen 1.5.4 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="examples.html"><span>Examples</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="nav"> <a class="el" href="namespaceopenvrml.html">openvrml</a>::<a class="el" href="namespaceopenvrml_1_1node__impl__util.html">node_impl_util</a>::<a class="el" href="classopenvrml_1_1node__impl__util_1_1event__emitter__base.html">event_emitter_base</a></div> <h1>openvrml::node_impl_util::event_emitter_base< Node > Class Template Reference</h1><!-- doxytag: class="openvrml::node_impl_util::event_emitter_base" --><!-- doxytag: inherits="openvrml::event_emitter" --><code>#include <openvrml/node_impl_util.h></code> <p> <div class="dynheader"> Inheritance diagram for openvrml::node_impl_util::event_emitter_base< Node >:</div> <div class="dynsection"> <p><center><img src="classopenvrml_1_1node__impl__util_1_1event__emitter__base__inherit__graph.png" border="0" usemap="#openvrml_1_1node__impl__util_1_1event__emitter__base_3_01Node_01_4__inherit__map" alt="Inheritance graph"></center> <map name="openvrml_1_1node__impl__util_1_1event__emitter__base_3_01Node_01_4__inherit__map"> <area shape="rect" href="classopenvrml_1_1node__impl__util_1_1event__emitter__base.html" title="openvrml::node_impl_util::event_emitter_base\< Derived \>" alt="" coords="819,56,1261,83"><area shape="rect" href="classopenvrml_1_1event__emitter.html" title="Abstract base class of event emitters." alt="" coords="5,56,205,83"><area shape="rect" href="classopenvrml_1_1node__impl__util_1_1abstract__node_1_1event__emitter.html" title="Concrete event emitter class template." alt="" coords="1313,5,1929,32"><area shape="rect" href="classopenvrml_1_1node__impl__util_1_1abstract__node_1_1exposedfield.html" title="exposedField implementation." alt="" coords="1317,56,1925,83"><area shape="rect" href="classopenvrml_1_1node__impl__util_1_1abstract__node_1_1exposedfield.html" title="openvrml::node_impl_util::abstract_node\< Derived \>::exposedfield\< openvrml::sfnode \>" alt="" coords="2139,84,2800,111"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="classopenvrml_1_1node__impl__util_1_1event__emitter__base-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> <h3>template<typename Node><br> class openvrml::node_impl_util::event_emitter_base< Node ></h3> Abstract base for <code><a class="el" href="classopenvrml_1_1event__emitter.html" title="Abstract base class of event emitters.">event_emitter</a></code> implementations. <p> <code><a class="el" href="classopenvrml_1_1node__impl__util_1_1event__emitter__base.html" title="Abstract base for event_emitter implementations.">event_emitter_base</a></code> implements <code><a class="el" href="classopenvrml_1_1event__emitter.html#befec586d1223d7642707ff7abfb6d10" title="The associated eventOut identifier.">openvrml::event_emitter::do_eventout_id</a></code>. <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classopenvrml_1_1node__impl__util_1_1event__emitter__base.html#9ae474ef61afe0cf56b26f4f21747137">~event_emitter_base</a> ()=0 throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Destroy. <a href="#9ae474ef61afe0cf56b26f4f21747137"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classopenvrml_1_1node.html">openvrml::node</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classopenvrml_1_1node__impl__util_1_1event__emitter__base.html#486b394ccdcf12cea8e0741d3e73b30c">node</a> () const throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The <a class="el" href="classopenvrml_1_1node.html" title="A node in the scene graph.">node</a> with which the <code><a class="el" href="classopenvrml_1_1event__emitter.html" title="Abstract base class of event emitters.">event_emitter</a></code> is associated. <a href="#486b394ccdcf12cea8e0741d3e73b30c"></a><br></td></tr> <tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classopenvrml_1_1node__impl__util_1_1event__emitter__base.html#e3a74bd12aa4bc4b7db2a373ccb3bb80">event_emitter_base</a> (<a class="el" href="classopenvrml_1_1node.html">openvrml::node</a> &n, const <a class="el" href="classopenvrml_1_1field__value.html">field_value</a> &value) throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Construct. <a href="#e3a74bd12aa4bc4b7db2a373ccb3bb80"></a><br></td></tr> <tr><td colspan="2"><br><h2>Private Types</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="classopenvrml_1_1node__impl__util_1_1node__type__impl.html">node_type_impl</a>< Node > </td><td class="memItemRight" valign="bottom"><a class="el" href="classopenvrml_1_1node__impl__util_1_1event__emitter__base.html#cb937f7a1ff9e7bdf9a799ff9a797834">node_type_t</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The concrete <code><a class="el" href="classopenvrml_1_1node__type.html" title="Type information object for nodes.">node_type</a></code>. <a href="#cb937f7a1ff9e7bdf9a799ff9a797834"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <br> <a class="el" href="classopenvrml_1_1node__impl__util_1_1node__type__impl.html#0066c83ff939e90d5f992c6df9ccbea6">node_type_t::event_emitter_map_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classopenvrml_1_1node__impl__util_1_1event__emitter__base.html#75e44948079301a0d85146f8c4b02548">event_emitter_map_t</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The map of <code>event_emitters</code>. <a href="#75e44948079301a0d85146f8c4b02548"></a><br></td></tr> <tr><td colspan="2"><br><h2>Private Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classopenvrml_1_1node__impl__util_1_1event__emitter__base.html#49e7476e6e35d0dac8f4a8a585622be0">do_eventout_id</a> () const throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The associated <code>eventOut</code> identifier. <a href="#49e7476e6e35d0dac8f4a8a585622be0"></a><br></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="classopenvrml_1_1node.html">openvrml::node</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classopenvrml_1_1node__impl__util_1_1event__emitter__base.html#8c67982e29b5c506b48a058d7e5bd66c">node_</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The <code><a class="el" href="classopenvrml_1_1node.html" title="A node in the scene graph.">node</a></code> with which the <code><a class="el" href="classopenvrml_1_1event__emitter.html" title="Abstract base class of event emitters.">event_emitter</a></code> is associated. <a href="#8c67982e29b5c506b48a058d7e5bd66c"></a><br></td></tr> <tr><td colspan="2"><br><h2>Classes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structopenvrml_1_1node__impl__util_1_1event__emitter__base_1_1event__emitter__equal__to.html">event_emitter_equal_to</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A model of <a href="http://www.sgi.com/tech/stl/AdaptablePredicate.html">Adaptable Predicate</a>. <a href="structopenvrml_1_1node__impl__util_1_1event__emitter__base_1_1event__emitter__equal__to.html#_details">More...</a><br></td></tr> </table> <hr><h2>Member Typedef Documentation</h2> <a class="anchor" name="cb937f7a1ff9e7bdf9a799ff9a797834"></a><!-- doxytag: member="openvrml::node_impl_util::event_emitter_base::node_type_t" ref="cb937f7a1ff9e7bdf9a799ff9a797834" args="" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename Node> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="classopenvrml_1_1node__impl__util_1_1node__type__impl.html">openvrml::node_impl_util::node_type_impl</a>< Node > <a class="el" href="classopenvrml_1_1node__impl__util_1_1event__emitter__base.html">openvrml::node_impl_util::event_emitter_base</a>< Node >::<a class="el" href="classopenvrml_1_1node__impl__util_1_1node__type__impl.html">node_type_t</a><code> [private]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> The concrete <code><a class="el" href="classopenvrml_1_1node__type.html" title="Type information object for nodes.">node_type</a></code>. <p> </div> </div><p> <a class="anchor" name="75e44948079301a0d85146f8c4b02548"></a><!-- doxytag: member="openvrml::node_impl_util::event_emitter_base::event_emitter_map_t" ref="75e44948079301a0d85146f8c4b02548" args="" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename Node> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="classopenvrml_1_1node__impl__util_1_1node__type__impl.html#0066c83ff939e90d5f992c6df9ccbea6">openvrml::node_impl_util::event_emitter_base::node_type_t::event_emitter_map_t</a> <a class="el" href="classopenvrml_1_1node__impl__util_1_1event__emitter__base.html">openvrml::node_impl_util::event_emitter_base</a>< Node >::<a class="el" href="classopenvrml_1_1node__impl__util_1_1event__emitter__base.html#75e44948079301a0d85146f8c4b02548">event_emitter_map_t</a><code> [private]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> The map of <code>event_emitters</code>. <p> </div> </div><p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="9ae474ef61afe0cf56b26f4f21747137"></a><!-- doxytag: member="openvrml::node_impl_util::event_emitter_base::~event_emitter_base" ref="9ae474ef61afe0cf56b26f4f21747137" args="()=0" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename Node> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="classopenvrml_1_1node__impl__util_1_1event__emitter__base.html">openvrml::node_impl_util::event_emitter_base</a>< Node >::~<a class="el" href="classopenvrml_1_1node__impl__util_1_1event__emitter__base.html">event_emitter_base</a> </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> throw ()<code> [inline, pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Destroy. <p> </div> </div><p> <a class="anchor" name="e3a74bd12aa4bc4b7db2a373ccb3bb80"></a><!-- doxytag: member="openvrml::node_impl_util::event_emitter_base::event_emitter_base" ref="e3a74bd12aa4bc4b7db2a373ccb3bb80" args="(openvrml::node &n, const field_value &value)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename Node> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="classopenvrml_1_1node__impl__util_1_1event__emitter__base.html">openvrml::node_impl_util::event_emitter_base</a>< Node >::<a class="el" href="classopenvrml_1_1node__impl__util_1_1event__emitter__base.html">event_emitter_base</a> </td> <td>(</td> <td class="paramtype"><a class="el" href="classopenvrml_1_1node.html">openvrml::node</a> & </td> <td class="paramname"> <em>n</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classopenvrml_1_1field__value.html">field_value</a> & </td> <td class="paramname"> <em>value</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"> throw ()<code> [inline, protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Construct. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>n</em> </td><td>the <code><a class="el" href="classopenvrml_1_1node.html" title="A node in the scene graph.">node</a></code> associated with the <code><a class="el" href="classopenvrml_1_1event__emitter.html" title="Abstract base class of event emitters.">event_emitter</a></code>. </td></tr> <tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>value</em> </td><td>the field value associated with the <code><a class="el" href="classopenvrml_1_1event__emitter.html" title="Abstract base class of event emitters.">event_emitter</a></code>. </td></tr> </table> </dl> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="486b394ccdcf12cea8e0741d3e73b30c"></a><!-- doxytag: member="openvrml::node_impl_util::event_emitter_base::node" ref="486b394ccdcf12cea8e0741d3e73b30c" args="() const " --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename Node> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="classopenvrml_1_1node.html">openvrml::node</a> & <a class="el" href="classopenvrml_1_1node__impl__util_1_1event__emitter__base.html">openvrml::node_impl_util::event_emitter_base</a>< Node >::<a class="el" href="classopenvrml_1_1node.html">node</a> </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const throw ()<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> The <a class="el" href="classopenvrml_1_1node.html" title="A node in the scene graph.">node</a> with which the <code><a class="el" href="classopenvrml_1_1event__emitter.html" title="Abstract base class of event emitters.">event_emitter</a></code> is associated. <p> </div> </div><p> <a class="anchor" name="49e7476e6e35d0dac8f4a8a585622be0"></a><!-- doxytag: member="openvrml::node_impl_util::event_emitter_base::do_eventout_id" ref="49e7476e6e35d0dac8f4a8a585622be0" args="() const " --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename Node> </div> <table class="memname"> <tr> <td class="memname">const std::string <a class="el" href="classopenvrml_1_1node__impl__util_1_1event__emitter__base.html">openvrml::node_impl_util::event_emitter_base</a>< Node >::do_eventout_id </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const throw ()<code> [inline, private, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> The associated <code>eventOut</code> identifier. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>the associated <code>eventOut</code> identifier. </dd></dl> <p>Implements <a class="el" href="classopenvrml_1_1event__emitter.html#befec586d1223d7642707ff7abfb6d10">openvrml::event_emitter</a>.</p> </div> </div><p> <hr><h2>Member Data Documentation</h2> <a class="anchor" name="8c67982e29b5c506b48a058d7e5bd66c"></a><!-- doxytag: member="openvrml::node_impl_util::event_emitter_base::node_" ref="8c67982e29b5c506b48a058d7e5bd66c" args="" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename Node> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="classopenvrml_1_1node.html">openvrml::node</a> * <a class="el" href="classopenvrml_1_1node__impl__util_1_1event__emitter__base.html">openvrml::node_impl_util::event_emitter_base</a>< Node >::<a class="el" href="classopenvrml_1_1node__impl__util_1_1event__emitter__base.html#8c67982e29b5c506b48a058d7e5bd66c">node_</a><code> [private]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> The <code><a class="el" href="classopenvrml_1_1node.html" title="A node in the scene graph.">node</a></code> with which the <code><a class="el" href="classopenvrml_1_1event__emitter.html" title="Abstract base class of event emitters.">event_emitter</a></code> is associated. <p> </div> </div><p> </div> <address class="footer"><span class="images"><a href="http://opengl.org"><img src="OGL_sm_wht.png" width="68" height="32" border="0" alt="OpenGL"></a><a href="http://sourceforge.net"><img src="http://sourceforge.net/sflogo.php?group_id=7151&type=3" width="125" height="37" border="0" alt="SourceForge.net"></a></span><a href="http://sourceforge.net/tracker/?func=add&group_id=7151&atid=107151">Report error</a><br>Generated Tue Feb 5 04:13:24 2008 by Doxygen 1.5.4</address> <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> <script type="text/javascript">_uacct = "UA-446379-2"; urchinTracker();</script> </body> </html>