InputDevice Class Reference

[internal] Input Device Driver definition More...

#include <MercuryInput.h>

Inheritance diagram for InputDevice:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~InputDevice ()
virtual void Init (MString Name)=0
virtual bool IsButtonDown (int ButtonNumber)=0
virtual int NumButtons ()=0
virtual void Update ()
virtual InputEvent PopLastEvent ()=0

Detailed Description

[internal] Input Device Driver definition

Definition at line 34 of file MercuryInput.h.


Constructor & Destructor Documentation

virtual InputDevice::~InputDevice (  )  [inline, virtual]

Definition at line 37 of file MercuryInput.h.


Member Function Documentation

virtual void InputDevice::Init ( MString  Name  )  [pure virtual]

Implemented in DeviceNull, DeviceEEPAD, DeviceKeyboardFB, DeviceKeyboardSDL, and DeviceKeyboardW32.

virtual bool InputDevice::IsButtonDown ( int  ButtonNumber  )  [pure virtual]

Implemented in DeviceNull, DeviceEEPAD, DeviceKeyboardFB, DeviceKeyboardSDL, and DeviceKeyboardW32.

virtual int InputDevice::NumButtons (  )  [pure virtual]

Implemented in DeviceNull, DeviceEEPAD, DeviceKeyboardFB, DeviceKeyboardSDL, and DeviceKeyboardW32.

void InputDevice::Update (  )  [virtual]

Reimplemented in DeviceNull, DeviceEEPAD, DeviceKeyboardFB, DeviceKeyboardSDL, and DeviceKeyboardW32.

Definition at line 35 of file MercuryInput.cpp.

virtual InputEvent InputDevice::PopLastEvent (  )  [pure virtual]

Implemented in DeviceNull, DeviceEEPAD, DeviceKeyboardFB, DeviceKeyboardSDL, and DeviceKeyboardW32.


The documentation for this class was generated from the following files:
Hosted by SourceForge.net Logo