home features api download svn donate licensesend a comment contact
Spanish  

IInputDevice Class Reference

The device base class. More...

#include <ceInputDevice.h>

Inheritance diagram for IInputDevice:

List of all members.

Public Member Functions

virtual EInputDevice GetDeviceType (void) const =0
 Retrieves the device type.
virtual char * GetDeviceName (void) const =0
 Retrieves the device name.
virtual int GetDeviceCount (void) const =0
 Retrieves the device count.
virtual int IsDevicePresent (const int id=0x0) const =0
 Check whether a device is present, at any given time.
virtual void Update (const int async=TRUE)=0
 Update status of only this device.

Detailed Description

The device base class.


Member Function Documentation

virtual EInputDevice GetDeviceType ( void   )  const [pure virtual]

Retrieves the device type.

Returns:
The device type.
virtual char* GetDeviceName ( void   )  const [pure virtual]

Retrieves the device name.

Returns:
The device name.
virtual int GetDeviceCount ( void   )  const [pure virtual]

Retrieves the device count.

Returns:
The number of devices attached.
virtual int IsDevicePresent ( const int  id = 0x0  )  const [pure virtual]

Check whether a device is present, at any given time.

Returns:
If this succeeds, the return is a TRUE value or if this fails, the return is a FALSE value.
virtual void Update ( const int  async = TRUE  )  [pure virtual]

Update status of only this device.

Parameters:
async Ignore this parameter.

The documentation for this class was generated from the following file:
 
 
 SourceForge.net
 
   Creative Commons License   Except where otherwise noted, content on this site is
  licensed under a Creative Commons Attribution 3.0 License