Main Page | Class Hierarchy | Class List | File List | Class Members | Related Pages

CInputDevice Class Reference

Input Device class. More...

#include <InputDevice.h>

Inheritance diagram for CInputDevice:

CEntity CKeyboard CMouse List of all members.

Protected Member Functions

virtual int Create ()=0
virtual void Destroy ()=0
virtual bool IsOfType (eEntityType eType)

Detailed Description

Input Device class.

This class provides an easy and clear interface for other devices to use. It features basic functionality for ANY device

Definition at line 13 of file InputDevice.h.


Member Function Documentation

virtual int CInputDevice::Create  )  [protected, pure virtual]
 

Method details:

Returns:
1 if device has been created succesfully, 0 otherwise

Implemented in CKeyboard, and CMouse.

virtual void CInputDevice::Destroy  )  [protected, pure virtual]
 

Method details: Destroys the device

Implemented in CKeyboard, and CMouse.

bool CInputDevice::IsOfType eEntityType  eType  )  [protected, virtual]
 

Method details: This is an implementation of Custom RTTI

Reimplemented from CEntity.

Reimplemented in CKeyboard, and CMouse.

Definition at line 14 of file InputDevice.cpp.

References CEntity::IsOfType().


The documentation for this class was generated from the following files:
Generated on Sun Jul 17 21:34:30 2005 for OpenGL GUI by doxygen 1.3.8