iEvent Struct Reference
[Event handling]
This interface describes any system event.
More...
#include <event.h>
Inheritance diagram for iEvent:

Public Attributes | |
uint8 | Type |
Event type.
| |
uint8 | Category |
Event category (unused by CSWS). | |
uint8 | SubCategory |
Even finer granularity. | |
uint8 | Flags |
Miscelaneous event flags. | |
csTicks | Time |
Time when the event occured. | |
csEventMouseData | Mouse |
Mouse data of event. | |
csEventJoystickData | Joystick |
Joystick data of event. | |
csEventCommandData | Command |
Command data of event. | |
csEventNetworkData | Network |
Network data of event. |
Detailed Description
This interface describes any system event.
Events can be generated by hardware (keyboard, mouse) as well as by software (commands and broadcasts). Not all events neccessarily pass through the system event queue; you may organize point-to-point event flows between some plugins and so on.
The events can be generated by the event outlet (see the CreateEvent method in iEventOutlet) if you don't want to create your own implementations of this interface. On the other hand, if you want to provide extra functionality you may subclass iEvent interface and add another interface (say iExtEvent) then you may query that interface using normal SCF QueryInterface method.
Definition at line 200 of file event.h.
Member Data Documentation
|
Event category (unused by CSWS).
|
|
Command data of event.
|
|
Miscelaneous event flags.
|
|
Joystick data of event.
|
|
Mouse data of event.
Definition at line 215 of file event.h. Referenced by awsEmbeddedComponent::HandleEvent(). |
|
Network data of event.
|
|
Even finer granularity.
|
|
Time when the event occured.
|
|
Event type.
Definition at line 203 of file event.h. Referenced by awsEmbeddedComponent::HandleEvent(). |
The documentation for this struct was generated from the following file:
- iutil/event.h
Generated for Crystal Space by doxygen 1.2.18