![]() |
Public API Reference |
#include <csbaseeventh.h>
Inheritance diagram for csBaseEventHandler:

Public Methods | |
| virtual | ~csBaseEventHandler () |
| Destructor. More... | |
| bool | RegisterQueue (iObjectRegistry *registry, unsigned int trigger=UINT_MAX) |
| Register the event handler with the event queue registered with the object registry. More... | |
| bool | RegisterQueue (iEventQueue *queue, unsigned int trigger=-1) |
| Register the event handler with an event queue. More... | |
Protected Methods | |
| csBaseEventHandler () | |
| Constructor. More... | |
| virtual bool | OnBroadcast (iEvent &event) |
| Invoked by the event handler when a broadcast event is received. More... | |
| virtual bool | OnCommand (iEvent &event) |
| Invoked by the event handler when a command event is received. More... | |
| virtual bool | OnJoystickMove (iEvent &event) |
| Invoked by the event handler when a joystick movement event is received. More... | |
| virtual bool | OnJoystickDown (iEvent &event) |
| Invoked by the event handler when a joystick button down event is received. More... | |
| virtual bool | OnJoystickUp (iEvent &event) |
| Invoked by the event handler when a joystick button up event is received. More... | |
| virtual bool | OnKeyDown (iEvent &event) |
| Invoked by the event handler when a keyboard down event is received. More... | |
| virtual bool | OnKeyUp (iEvent &event) |
| Invoked by the event handler when a keyboard up event is received. More... | |
| virtual bool | OnMouseMove (iEvent &event) |
| Invoked by the event handler when a mouse move event is received. More... | |
| virtual bool | OnMouseDown (iEvent &event) |
| Invoked by the event handler when a mouse down event is received. More... | |
| virtual bool | OnMouseUp (iEvent &event) |
| Invoked by the event handler when a mouse up event is received. More... | |
| virtual bool | OnMouseClick (iEvent &event) |
| Invoked by the event handler when a mouse button click event is received. More... | |
| virtual bool | OnMouseDoubleClick (iEvent &event) |
| Invoked by the event handler when a mouse button double-click event is received. More... | |
| virtual bool | OnNetwork (iEvent &event) |
| Invoked by the event handler when a network event is received. More... | |
| virtual bool | OnUnhandledEvent (iEvent &event) |
| Invoked by the event handler when an unknown event is received. More... | |
| virtual void | PreProcessFrame () |
| Invoked by the handler during a pre-process frame broadcast event. More... | |
| virtual void | ProcessFrame () |
| Invoked by the handler during a process frame broadcast event. More... | |
| virtual void | PostProcessFrame () |
| Invoked by the handler during a post-process frame broadcast event. More... | |
| virtual void | FinishFrame () |
| Invoked by the handler during a finish frame broadcast event. More... | |
This class provides a base object which does absolutely nothting with the events that are sent to it. In order to properly use, you must derive a class from this one and override the specific On... trigger methods you are interested in processing.
On... trigger function.
Definition at line 50 of file csbaseeventh.h.
|
|
Constructor.
|
|
|
Destructor.
|
|
|
Invoked by the handler during a finish frame broadcast event.
|
|
|
Invoked by the event handler when a broadcast event is received.
|
|
|
Invoked by the event handler when a command event is received.
|
|
|
Invoked by the event handler when a joystick button down event is received.
|
|
|
Invoked by the event handler when a joystick movement event is received.
|
|
|
Invoked by the event handler when a joystick button up event is received.
|
|
|
Invoked by the event handler when a keyboard down event is received.
|
|
|
Invoked by the event handler when a keyboard up event is received.
|
|
|
Invoked by the event handler when a mouse button click event is received.
|
|
|
Invoked by the event handler when a mouse button double-click event is received.
|
|
|
Invoked by the event handler when a mouse down event is received.
|
|
|
Invoked by the event handler when a mouse move event is received.
|
|
|
Invoked by the event handler when a mouse up event is received.
|
|
|
Invoked by the event handler when a network event is received.
|
|
|
Invoked by the event handler when an unknown event is received.
|
|
|
Invoked by the handler during a post-process frame broadcast event.
|
|
|
Invoked by the handler during a pre-process frame broadcast event.
|
|
|
Invoked by the handler during a process frame broadcast event.
|
|
||||||||||||
|
Register the event handler with an event queue.
|
|
||||||||||||
|
Register the event handler with the event queue registered with the object registry.
|