PlatformEventListener Class Reference
[Platform]
Event receiver interface for Platform system.
More...
Inheritance diagram for PlatformEventListener:

Public Member Functions | |
| virtual void | OnOsYield () |
| virtual void | OnCustomEvent (const char *eventId, void *userData) |
Detailed Description
Event receiver interface for Platform system.When information needs to be sent between different Platform systems, it is done by a basic event system. Systems that listen for platform events, derive from this class to received them.
Definition at line 23 of file PlatformEventListener.h.
Member Function Documentation
| virtual void PlatformEventListener::OnOsYield | ( | ) | [virtual] |
Receives the OsYield event, sent from Platform_OS when OsYield is called
Reimplemented in Platform_Win32_Network, and Platform_Win32_Sound.
Definition at line 29 of file PlatformEventListener.h.
| virtual void PlatformEventListener::OnCustomEvent | ( | const char * | eventId, | |
| void * | userData | |||
| ) | [virtual] |
Receives a custom event, sent from a system by calling Platform::SendEvent_CustomEvent
- Parameters:
-
eventId Id-string specifying the type of event userData Event specific user data
Reimplemented in Platform_Win32_Input, Platform_Win32_OS, and Platform_Win32_Screen.
Definition at line 34 of file PlatformEventListener.h.
Reproduction/republishing of any material on this site without permission is strictly prohibited.
