# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NLMISC::IInputDeviceManager Struct Reference

Interface for objects that give low level access access to devices (mouse, keyboard, joypads and joysticks). More...

#include <input_device_manager.h>

List of all members.

Public Methods

virtual IMouseDevicegetMouseDevice ()=0 throw (EInputDevice)
 Create the low level mouse device if needed (one active at a time for that object, repeated calls returns the same pointer). An exception if thrown if it couldn't be obtained. More...

virtual void releaseMouse ()=0
 remove the low level mouse. More...

virtual IKeyboardDevicegetKeyboardDevice ()=0 throw (EInputDevice)
 Create the low level keyboard device if needed (one active at a time for that object, repeated calls returns the same pointer). An exception if thrown if it couldn't be obtained. More...

virtual void releaseKeyboard ()=0
 remove the low level keyboard. More...

virtual void enumerateGameDevice (TDeviceDescVect &descs)=0 throw (EInputDevice)
virtual IGameDevicecreateGameDevice (const std::string &instanceName)=0 throw (EInputDevice)
virtual void releaseGameDevice (IGameDevice *gd)=0


Detailed Description

Interface for objects that give low level access access to devices (mouse, keyboard, joypads and joysticks).

Generally an object implementing this interface will send the appropriate events when a device is 'created'. (Example of implementation : a direct input event emitter)

Definition at line 52 of file input_device_manager.h.


Member Function Documentation

virtual IGameDevice* NLMISC::IInputDeviceManager::createGameDevice const std::string &    instanceName throw (EInputDevice) [pure virtual]
 

virtual void NLMISC::IInputDeviceManager::enumerateGameDevice TDeviceDescVect   descs throw (EInputDevice) [pure virtual]
 

virtual IKeyboardDevice* NLMISC::IInputDeviceManager::getKeyboardDevice   throw (EInputDevice) [pure virtual]
 

Create the low level keyboard device if needed (one active at a time for that object, repeated calls returns the same pointer). An exception if thrown if it couldn't be obtained.

virtual IMouseDevice* NLMISC::IInputDeviceManager::getMouseDevice   throw (EInputDevice) [pure virtual]
 

Create the low level mouse device if needed (one active at a time for that object, repeated calls returns the same pointer). An exception if thrown if it couldn't be obtained.

virtual void NLMISC::IInputDeviceManager::releaseGameDevice IGameDevice   gd [pure virtual]
 

virtual void NLMISC::IInputDeviceManager::releaseKeyboard   [pure virtual]
 

remove the low level keyboard.

virtual void NLMISC::IInputDeviceManager::releaseMouse   [pure virtual]
 

remove the low level mouse.


The documentation for this struct was generated from the following file: