|
|
|
|
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 ReferenceInterface 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.
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] |
|
|
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.
|
|
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:
|
|