Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Ogre::ActionTarget Class Reference

Handles the adding and removing of ActionListeners. More...

#include <OgreActionTarget.h>

Inheritance diagram for Ogre::ActionTarget:

Ogre::EventTarget Ogre::ButtonGuiElement List of all members.

Public Methods

 ActionTarget ()
void processActionEvent (ActionEvent *e)
void addActionListener (ActionListener *l)
void removeActionListener (ActionListener *l)
virtual void processEvent (InputEvent *e)=0

Protected Attributes

ActionListenermActionListener

Detailed Description

Handles the adding and removing of ActionListeners.

Remarks:
This is implemented through the use of a binary multicaster. See EventMulticaster. GuiElements (or other components) that process the Action should subclass this class and call processActionEvent when that event is identified.


Constructor & Destructor Documentation

Ogre::ActionTarget::ActionTarget  
 


Member Function Documentation

void Ogre::ActionTarget::addActionListener ActionListener   l
 

void Ogre::ActionTarget::processActionEvent ActionEvent   e
 

virtual void Ogre::EventTarget::processEvent InputEvent   e [pure virtual, inherited]
 

Implemented in Ogre::Cursor.

void Ogre::ActionTarget::removeActionListener ActionListener   l
 


Member Data Documentation

ActionListener* Ogre::ActionTarget::mActionListener [protected]
 

Copyright © 2002 by The OGRE Team