CrystalSpace

Public API Reference

Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

csJoystickDriver::eiEventHandler Struct Reference

iEventHandler implementation More...

#include <csutil/csinput.h>

Inheritance diagram for csJoystickDriver::eiEventHandler:

iEventHandler iBase List of all members.

Public Member Functions

virtual bool HandleEvent (iEvent &e)
 This is the basic event handling function.

Detailed Description

iEventHandler implementation

Definition at line 317 of file csinput.h.


Member Function Documentation

virtual bool csJoystickDriver::eiEventHandler::HandleEvent iEvent e  )  [inline, virtual]
 

This is the basic event handling function.

To receive events, a component must implement iEventHandler and register with an event queue using iEventQueue::RegisterListener(). The event handler should return true if the event was handled. Returning true prevents the event from being passed along to other event handlers. If the event was not handled, then false should be returned, in which case other event handlers are given a shot at the event. Note that broadcast events are sent to all handlers which are interested in them regardless of the return value of this method. NOTE: Do _not_ return true unless you really handled the event and want event dispatch to stop at your handler.

Implements iEventHandler.

Definition at line 320 of file csinput.h.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.3.9.1