Sophie

Sophie

distrib > Mandriva > 10.0-com > i586 > by-pkgid > 06719cf03808e17ae6f0852ca1052dc2 > files > 1477

libogre1-devel-0.13.0-1mdk.i586.rpm

<html>
<head>
<title>Ogre::ActionTarget 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> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; </center>
<hr><h1>Ogre::ActionTarget  Class Reference</h1>Handles the adding and removing of ActionListeners. 
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="OgreActionTarget_8h-source.html">OgreActionTarget.h</a>&gt;</code>
<p>
Inheritance diagram for Ogre::ActionTarget:<p><center><img src="classOgre_1_1ActionTarget__inherit__graph.png" border="0" usemap="#Ogre_1_1ActionTarget__inherit__map" alt="Inheritance graph"></center>
<map name="Ogre_1_1ActionTarget__inherit__map">
<area href="classOgre_1_1GuiControl.html" shape="rect" coords="61,175,171,156" alt="">
<area href="classOgre_1_1GuiElement.html" shape="rect" coords="195,175,309,156" alt="">
<area href="classOgre_1_1EventTarget.html" shape="rect" coords="124,36,244,17" alt="">
<area href="classOgre_1_1GuiContainer.html" shape="rect" coords="19,244,144,225" alt="">
<area href="classOgre_1_1TextAreaGuiElement.html" shape="rect" coords="168,244,336,225" alt="">
<area href="classOgre_1_1TTYGuiElement.html" shape="rect" coords="360,244,501,225" alt="">
<area href="classOgre_1_1PanelGuiElement.html" shape="rect" coords="7,313,156,295" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for Ogre::ActionTarget:<p><center><img src="classOgre_1_1ActionTarget__coll__graph.png" border="0" usemap="#Ogre_1_1ActionTarget__coll__map" alt="Collaboration graph"></center>
<map name="Ogre_1_1ActionTarget__coll__map">
<area href="classOgre_1_1EventTarget.html" shape="rect" coords="7,108,127,89" alt="">
<area href="classOgre_1_1ActionListener.html" shape="rect" coords="151,108,281,89" alt="">
<area href="classOgre_1_1EventListener.html" shape="rect" coords="152,36,280,17" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classOgre_1_1ActionTarget-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>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1ActionTarget.html#Ogre_1_1ActionTargeta0">ActionTarget</a> ()</td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1ActionTarget.html#Ogre_1_1TTYGuiElementa96">processActionEvent</a> (<a class="el" href="classOgre_1_1ActionEvent.html">ActionEvent</a> *e)</td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1ActionTarget.html#Ogre_1_1TTYGuiElementa97">addActionListener</a> (<a class="el" href="classOgre_1_1ActionListener.html">ActionListener</a> *l)</td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1ActionTarget.html#Ogre_1_1TTYGuiElementa98">removeActionListener</a> (<a class="el" href="classOgre_1_1ActionListener.html">ActionListener</a> *l)</td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1ActionTarget.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_1ActionListener.html">ActionListener</a> *&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1ActionTarget.html#Ogre_1_1TTYGuiElementn52">mActionListener</a></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Handles the adding and removing of ActionListeners.
<p>
<dl compact><dt><b>
Remarks: </b><dd>
 This is implemented through the use of a binary multicaster. See <a class="el" href="classOgre_1_1EventMulticaster.html">EventMulticaster</a>.  GuiElements (or other components) that process the Action should subclass this class  and call processActionEvent when that event is identified. </dl>
<p>

<p>
Definition at line <a class="el" href="OgreActionTarget_8h-source.html#l00055">55</a> of file <a class="el" href="OgreActionTarget_8h-source.html">OgreActionTarget.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="Ogre_1_1ActionTargeta0" doxytag="Ogre::ActionTarget::ActionTarget"></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::ActionTarget::ActionTarget </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreActionTarget_8cpp-source.html#l00037">37</a> of file <a class="el" href="OgreActionTarget_8cpp-source.html">OgreActionTarget.cpp</a>.
<p>
References <a class="el" href="OgreActionTarget_8h-source.html#l00058">mActionListener</a>.    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="Ogre_1_1TTYGuiElementa97" doxytag="Ogre::ActionTarget::addActionListener"></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::ActionTarget::addActionListener </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1ActionListener.html">ActionListener</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>l</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreActionTarget_8cpp-source.html#l00061">61</a> of file <a class="el" href="OgreActionTarget_8cpp-source.html">OgreActionTarget.cpp</a>.
<p>
References <a class="el" href="OgreActionTarget_8h-source.html#l00058">mActionListener</a>.
<p>
Referenced by <a class="el" href="OgreScrollBarGuiElement_8cpp-source.html#l00148">Ogre::ScrollBarGuiElement::setDownButtonName</a>(), and <a class="el" href="OgreScrollBarGuiElement_8cpp-source.html#l00132">Ogre::ScrollBarGuiElement::setUpButtonName</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1TTYGuiElementa96" doxytag="Ogre::ActionTarget::processActionEvent"></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::ActionTarget::processActionEvent </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1ActionEvent.html">ActionEvent</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>e</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreActionTarget_8cpp-source.html#l00045">45</a> of file <a class="el" href="OgreActionTarget_8cpp-source.html">OgreActionTarget.cpp</a>.
<p>
References <a class="el" href="classOgre_1_1ActionListener.html#Ogre_1_1ActionListenera0">Ogre::ActionListener::actionPerformed</a>(), <a class="el" href="OgreInputEvent_8cpp-source.html#l00089">Ogre::InputEvent::getID</a>(), and <a class="el" href="OgreActionTarget_8h-source.html#l00058">mActionListener</a>.
<p>
Referenced by <a class="el" href="OgreGuiElement_8cpp-source.html#l00549">Ogre::GuiElement::processEvent</a>(), and <a class="el" href="OgreGuiControl_8cpp-source.html#l00045">Ogre::GuiControl::processEvent</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1ScrollTargeta4" doxytag="Ogre::ActionTarget::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">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1InputEvent.html">InputEvent</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>e</em>          </td>
          <td class="md" valign="top">)&nbsp;</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>
      &nbsp;
    </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_1TTYGuiElementa98" doxytag="Ogre::ActionTarget::removeActionListener"></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::ActionTarget::removeActionListener </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1ActionListener.html">ActionListener</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>l</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreActionTarget_8cpp-source.html#l00071">71</a> of file <a class="el" href="OgreActionTarget_8cpp-source.html">OgreActionTarget.cpp</a>.
<p>
References <a class="el" href="OgreActionTarget_8h-source.html#l00058">mActionListener</a>.    </td>
  </tr>
</table>
<hr><h2>Member Data Documentation</h2>
<a name="Ogre_1_1TTYGuiElementn52" doxytag="Ogre::ActionTarget::mActionListener"></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_1ActionListener.html">ActionListener</a>* Ogre::ActionTarget::mActionListener<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreActionTarget_8h-source.html#l00058">58</a> of file <a class="el" href="OgreActionTarget_8h-source.html">OgreActionTarget.h</a>.
<p>
Referenced by <a class="el" href="OgreActionTarget_8cpp-source.html#l00037">ActionTarget</a>(), <a class="el" href="OgreActionTarget_8cpp-source.html#l00061">addActionListener</a>(), <a class="el" href="OgreActionTarget_8cpp-source.html#l00045">processActionEvent</a>(), and <a class="el" href="OgreActionTarget_8cpp-source.html#l00071">removeActionListener</a>().    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="OgreActionTarget_8h-source.html">OgreActionTarget.h</a><li><a class="el" href="OgreActionTarget_8cpp-source.html">OgreActionTarget.cpp</a></ul>
<p>
Copyright &copy; 2002-2003 by The OGRE Team<br />
Last modified Wed Jan 21 00:16:38 2004
</p>
</body>
</html>