<html> <head> <title>Ogre::KeyTarget class Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link type="text/css" rel="stylesheet" href="style.css"> </head> <body> <!-- Generated by Doxygen 1.2.16 --> <center> <a class="qindex" href="index.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">Compound List</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">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> </center> <hr><h1>Ogre::KeyTarget Class Reference</h1><code>#include <<a class="el" href="OgreKeyTarget_8h-source.html">OgreKeyTarget.h</a>></code> <p> Inheritance diagram for Ogre::KeyTarget:<p><center><img src="classOgre_1_1KeyTarget__inherit__graph.png" border="0" usemap="#Ogre_1_1KeyTarget__inherit__map" alt="Inheritance graph"></center> <map name="Ogre_1_1KeyTarget__inherit__map"> <area href="classOgre_1_1EventProcessor.html" shape="rect" coords="7,174,148,156" alt=""> <area href="classOgre_1_1EventTarget.html" shape="rect" coords="17,36,137,17" alt=""> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for Ogre::KeyTarget:<p><center><img src="classOgre_1_1KeyTarget__coll__graph.png" border="0" usemap="#Ogre_1_1KeyTarget__coll__map" alt="Collaboration graph"></center> <map name="Ogre_1_1KeyTarget__coll__map"> <area href="classOgre_1_1EventTarget.html" shape="rect" coords="7,108,127,89" alt=""> <area href="classOgre_1_1KeyListener.html" shape="rect" coords="151,108,268,89" alt=""> <area href="classOgre_1_1EventListener.html" shape="rect" coords="145,36,273,17" alt=""> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classOgre_1_1KeyTarget-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td colspan=2><br><h2>Public Methods</h2></td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classOgre_1_1KeyTarget.html#Ogre_1_1KeyTargeta0">KeyTarget</a> ()</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classOgre_1_1KeyTarget.html#Ogre_1_1KeyTargeta1">processKeyEvent</a> (<a class="el" href="classOgre_1_1KeyEvent.html">KeyEvent</a> *e)</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classOgre_1_1KeyTarget.html#Ogre_1_1KeyTargeta2">addKeyListener</a> (<a class="el" href="classOgre_1_1KeyListener.html">KeyListener</a> *l)</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classOgre_1_1KeyTarget.html#Ogre_1_1KeyTargeta3">removeKeyListener</a> (<a class="el" href="classOgre_1_1KeyListener.html">KeyListener</a> *l)</td></tr> <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classOgre_1_1KeyTarget.html#Ogre_1_1ScrollTargeta4">processEvent</a> (<a class="el" href="classOgre_1_1InputEvent.html">InputEvent</a> *e)=0</td></tr> <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1KeyListener.html">KeyListener</a> * </td><td valign=bottom><a class="el" href="classOgre_1_1KeyTarget.html#Ogre_1_1KeyTargetn0">mKeyListener</a></td></tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a name="Ogre_1_1KeyTargeta0" doxytag="Ogre::KeyTarget::KeyTarget"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Ogre::KeyTarget::KeyTarget </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> Definition at line <a class="el" href="OgreKeyTarget_8cpp-source.html#l00038">38</a> of file <a class="el" href="OgreKeyTarget_8cpp-source.html">OgreKeyTarget.cpp</a>. <p> References <a class="el" href="OgreKeyTarget_8h-source.html#l00051">mKeyListener</a>. </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a name="Ogre_1_1KeyTargeta2" doxytag="Ogre::KeyTarget::addKeyListener"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Ogre::KeyTarget::addKeyListener </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1KeyListener.html">KeyListener</a> * </td> <td class="mdname1" valign="top" nowrap> <em>l</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> Definition at line <a class="el" href="OgreKeyTarget_8cpp-source.html#l00065">65</a> of file <a class="el" href="OgreKeyTarget_8cpp-source.html">OgreKeyTarget.cpp</a>. <p> References <a class="el" href="OgreKeyTarget_8h-source.html#l00051">mKeyListener</a>. </td> </tr> </table> <a name="Ogre_1_1ScrollTargeta4" doxytag="Ogre::KeyTarget::processEvent"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> virtual void Ogre::EventTarget::processEvent </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1InputEvent.html">InputEvent</a> * </td> <td class="mdname1" valign="top" nowrap> <em>e</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [pure virtual, inherited]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Implemented in <a class="el" href="classOgre_1_1Cursor.html#Ogre_1_1Cursora5">Ogre::Cursor</a>, <a class="el" href="classOgre_1_1EventProcessor.html#Ogre_1_1EventProcessora5">Ogre::EventProcessor</a>, <a class="el" href="classOgre_1_1GuiControl.html#Ogre_1_1GuiControla2">Ogre::GuiControl</a>, <a class="el" href="classOgre_1_1GuiElement.html#Ogre_1_1TTYGuiElementa68">Ogre::GuiElement</a>, <a class="el" href="classOgre_1_1OverlayManager.html#Ogre_1_1OverlayManagera12">Ogre::OverlayManager</a>, <a class="el" href="classOgre_1_1BorderButtonGuiElement.html#Ogre_1_1BorderButtonGuiElementa4">Ogre::BorderButtonGuiElement</a>, <a class="el" href="classOgre_1_1ButtonGuiElement.html#Ogre_1_1ButtonGuiElementa4">Ogre::ButtonGuiElement</a>, <a class="el" href="classOgre_1_1ScrollBarGuiElement.html#Ogre_1_1ScrollBarGuiElementa14">Ogre::ScrollBarGuiElement</a>, and <a class="el" href="classOgre_1_1TextBoxGuiElement.html#Ogre_1_1TextBoxGuiElementa7">Ogre::TextBoxGuiElement</a>. <p> Referenced by <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00083">Ogre::EventDispatcher::processKeyEvent</a>(), <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00204">Ogre::EventDispatcher::retargetKeyEvent</a>(), and <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00155">Ogre::EventDispatcher::retargetMouseEvent</a>(). </td> </tr> </table> <a name="Ogre_1_1KeyTargeta1" doxytag="Ogre::KeyTarget::processKeyEvent"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Ogre::KeyTarget::processKeyEvent </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1KeyEvent.html">KeyEvent</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> Definition at line <a class="el" href="OgreKeyTarget_8cpp-source.html#l00044">44</a> of file <a class="el" href="OgreKeyTarget_8cpp-source.html">OgreKeyTarget.cpp</a>. <p> References <a class="el" href="OgreInputEvent_8cpp-source.html#l00089">Ogre::InputEvent::getID</a>(), <a class="el" href="classOgre_1_1KeyListener.html#Ogre_1_1KeyListenera0">Ogre::KeyListener::keyClicked</a>(), <a class="el" href="classOgre_1_1KeyListener.html#Ogre_1_1KeyListenera1">Ogre::KeyListener::keyPressed</a>(), <a class="el" href="classOgre_1_1KeyListener.html#Ogre_1_1KeyListenera2">Ogre::KeyListener::keyReleased</a>(), and <a class="el" href="OgreKeyTarget_8h-source.html#l00051">mKeyListener</a>. <p> Referenced by <a class="el" href="OgreEventProcessor_8cpp-source.html#l00152">Ogre::EventProcessor::processEvent</a>(). </td> </tr> </table> <a name="Ogre_1_1KeyTargeta3" doxytag="Ogre::KeyTarget::removeKeyListener"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Ogre::KeyTarget::removeKeyListener </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1KeyListener.html">KeyListener</a> * </td> <td class="mdname1" valign="top" nowrap> <em>l</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> Definition at line <a class="el" href="OgreKeyTarget_8cpp-source.html#l00074">74</a> of file <a class="el" href="OgreKeyTarget_8cpp-source.html">OgreKeyTarget.cpp</a>. <p> References <a class="el" href="OgreKeyTarget_8h-source.html#l00051">mKeyListener</a>. </td> </tr> </table> <hr><h2>Member Data Documentation</h2> <a name="Ogre_1_1KeyTargetn0" doxytag="Ogre::KeyTarget::mKeyListener"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1KeyListener.html">KeyListener</a>* Ogre::KeyTarget::mKeyListener<code> [protected]</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="OgreKeyTarget_8h-source.html#l00051">51</a> of file <a class="el" href="OgreKeyTarget_8h-source.html">OgreKeyTarget.h</a>. <p> Referenced by <a class="el" href="OgreKeyTarget_8cpp-source.html#l00065">addKeyListener</a>(), <a class="el" href="OgreKeyTarget_8cpp-source.html#l00038">KeyTarget</a>(), <a class="el" href="OgreKeyTarget_8cpp-source.html#l00044">processKeyEvent</a>(), and <a class="el" href="OgreKeyTarget_8cpp-source.html#l00074">removeKeyListener</a>(). </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="OgreKeyTarget_8h-source.html">OgreKeyTarget.h</a><li><a class="el" href="OgreKeyTarget_8cpp-source.html">OgreKeyTarget.cpp</a></ul> <p> Copyright © 2002-2003 by The OGRE Team<br /> Last modified Wed Jan 21 00:17:59 2004 </p> </body> </html>