#include <OgreEventProcessor.h>
Inheritance diagram for Ogre::EventProcessor:

Public Member Functions | |
| EventProcessor () | |
| virtual | ~EventProcessor () |
| void | startProcessingEvents (bool registerListener=true) |
| Registers FrameListener, and activates the queue. | |
| void | stopProcessingEvents () |
| Removes this from being a FrameListener, and deactivates the queue. | |
| void | initialise (RenderWindow *ren) |
| Creates the Queue object, Creates the InputReader object initialises the InputReader to use buffered input. | |
| void | processEvent (InputEvent *e) |
| Processes default events, these are events are aren't handled by any dispatcher. | |
| void | addCursorMoveListener (MouseMotionListener *c) |
| Adds a mouse motion listener to the cursor object. | |
| void | removeCursorMoveListener (MouseMotionListener *c) |
| Removes a mouse motion listener to the cursor object. | |
| void | addTargetManager (TargetManager *targetManager) |
| Creates a dispatcher object that dispatches to the targetManager. | |
| void | addEventTarget (EventTarget *eventTarget) |
| Creates a dispatcher object that dispatches to the targetManager. | |
| bool | frameStarted (const FrameEvent &evt) |
| Processes all events on the queue. | |
| Real | getTop () const |
| returns 0, since this is a default event target, default events have a top of 0 | |
| Real | getLeft () const |
| returns 0, since this is a default event target, default events have a left of 0 | |
| PositionTarget * | getPositionTargetParent () const |
| returns NULL, There is no parent of the default event target. | |
| bool | isKeyEnabled () const |
| InputReader * | getInputReader () |
| virtual bool | frameEnded (const FrameEvent &evt) |
| Called just after a frame has been rendered. | |
| void | processMouseEvent (MouseEvent *e) |
| void | addMouseListener (MouseListener *l) |
| void | removeMouseListener (MouseListener *l) |
| bool | isMouseWithin () const |
| void | processMouseMotionEvent (MouseEvent *e) |
| void | addMouseMotionListener (MouseMotionListener *l) |
| void | removeMouseMotionListener (MouseMotionListener *l) |
| void | processKeyEvent (KeyEvent *e) |
| void | addKeyListener (KeyListener *l) |
| void | removeKeyListener (KeyListener *l) |
Static Public Member Functions | |
| EventProcessor & | getSingleton (void) |
| Override standard Singleton retrieval. | |
| EventProcessor * | getSingletonPtr (void) |
| Override standard Singleton retrieval. | |
Protected Types | |
| typedef std::list< EventDispatcher * > | DispatcherList |
| typedef std::list< EventTarget * > | EventTargetList |
Protected Member Functions | |
| void | cleanup () |
| empty queue and cleanup objects | |
Protected Attributes | |
| EventQueue * | mEventQueue |
| InputReader * | mInputDevice |
| DispatcherList | mDispatcherList |
| EventTargetList | mEventTargetList |
| bool | mRegisteredAsFrameListener |
| std::set< MouseListener * > | mMouseListeners |
| bool | mMouseWithin |
| std::set< MouseMotionListener * > | mMouseMotionListeners |
| std::set< KeyListener * > | mKeyListeners |
Static Protected Attributes | |
| EventProcessor * | ms_Singleton |
Definition at line 90 of file OgreEventProcessor.h.
|
|
Definition at line 100 of file OgreEventProcessor.h. |
|
|
Definition at line 101 of file OgreEventProcessor.h. |
|
|
|
|
|
|
|
|
Adds a mouse motion listener to the cursor object. This keeps the Cursor object hidden. |
|
|
Creates a dispatcher object that dispatches to the targetManager. Adds the new dispatcher object to the dispatcher list. |
|
|
|
|
|
|
|
|
|
|
|
Creates a dispatcher object that dispatches to the targetManager. Adds the new dispatcher object to the dispatcher list. |
|
|
empty queue and cleanup objects
|
|
|
Called just after a frame has been rendered.
Reimplemented in Ogre::ParticleSystemManager, and Ogre::FrameTimeControllerValue. Definition at line 95 of file OgreFrameListener.h. |
|
|
Processes all events on the queue. sends each event to each dispatcher. deletes the event objects Reimplemented from Ogre::FrameListener. |
|
|
Definition at line 188 of file OgreEventProcessor.h. |
|
|
returns 0, since this is a default event target, default events have a left of 0
Implements Ogre::PositionTarget. |
|
|
returns NULL, There is no parent of the default event target.
Implements Ogre::PositionTarget. |
|
|
Override standard Singleton retrieval.
Reimplemented from Ogre::Singleton< EventProcessor >. |
|
|
Override standard Singleton retrieval.
Reimplemented from Ogre::Singleton< EventProcessor >. |
|
|
returns 0, since this is a default event target, default events have a top of 0
Implements Ogre::PositionTarget. |
|
|
Creates the Queue object, Creates the InputReader object initialises the InputReader to use buffered input.
|
|
|
Implements Ogre::PositionTarget. Definition at line 185 of file OgreEventProcessor.h. |
|
|
|
|
|
Processes default events, these are events are aren't handled by any dispatcher.
Implements Ogre::EventTarget. |
|
|
|
|
|
|
|
|
|
|
|
Removes a mouse motion listener to the cursor object. This keeps the Cursor object hidden. |
|
|
|
|
|
|
|
|
|
|
|
Registers FrameListener, and activates the queue.
|
|
|
Removes this from being a FrameListener, and deactivates the queue.
|
|
|
Definition at line 102 of file OgreEventProcessor.h. |
|
|
Definition at line 93 of file OgreEventProcessor.h. |
|
|
Definition at line 103 of file OgreEventProcessor.h. |
|
|
Definition at line 99 of file OgreEventProcessor.h. |
|
|
Definition at line 52 of file OgreKeyTarget.h. |
|
|
Definition at line 58 of file OgreMouseTarget.h. |
|
|
Definition at line 58 of file OgreMouseMotionTarget.h. |
|
|
Definition at line 61 of file OgreMouseTarget.h. |
|
|
Definition at line 104 of file OgreEventProcessor.h. |
|
|
Definition at line 54 of file OgreSingleton.h. |
Copyright © 2000-2005 by The OGRE Team
Last modified Sun Nov 20 12:36:39 2005