#include <input.h>
Inheritance diagram for InputDevice:
Public Types | |
enum | INPUTEVENTGROUP { SYSTEMINPUT = 0x00000001, KEYBOARDINPUT = 0x00000002, MOUSEINPUT = 0x00000004, JOYSTICKINPUT = 0x00000008 } |
Inputgroup identifiers. More... | |
Public Member Functions | |
virtual bool | Collect (InputEvent *pkEvent)=0 |
virtual void | AddInputEventGroup (unsigned int uiInputEventGroup) |
virtual void | DeleteInputEventGroup (unsigned int uiInputEventGroup) |
virtual bool | HasInputEventGroup (unsigned int uiInputEventGroup) |
bool | IsActive () const |
virtual void | Activate () |
virtual void | Deactivate () |
bool | Toggle () |
Public Attributes | |
ModulePtr | m_pkModule |
Protected Member Functions | |
InputDevice (InputManager *pkManager) | |
virtual | ~InputDevice () |
Protected Attributes | |
InputManager * | m_pkManager |
unsigned int | m_eInputEventGroups |
bool | m_bActive |
|
Inputgroup identifiers.
|
|
Attach to manager
|
|
Detach from manager |
|
Collect input events
|
|
Enable input handling for the given group(s)
|
|
Disable input handling for the given group(s)
|
|
Check if input handling is enabled of the given group(s)
|
|
Query state of object
|
|
Activate object |
|
Deactivate object |
|
Toggle active state. This method does not need to be overloaded, it is only a wrapper to Activate and Deactivate
|
|
Manager |
|
Managed input event groups |
|
Module device was loaded from Reimplemented in RenderDevice. |
|
Active flag |