Input System. More...
#include <deInputSystem.h>
Public Member Functions | |
Constructors and Destructors | |
| deInputSystem (deEngine *engine) | |
| Creates a new input system linked to the given engine. | |
| ~deInputSystem () | |
| Cleans up the input system. | |
Management | |
| deBaseInputModule * | GetActiveModule () const |
Overloadables | |
| virtual void | SetActiveModule (deLoadableModule *module) |
| Sets the active loadable module. | |
| virtual void | ClearPermanents () |
| Clears cross references and links that could lead to memory leaks. | |
| virtual void | PostStart () |
| Carry out here actions right after the system started up. | |
| virtual void | PreStop () |
| Carry out here actions right before the system shuts down. | |
Direct Access. | |
Depracted. Retrieve the active module and call the functions. | |
| int | GetDeviceCount () const |
| deBaseInputDevice * | OpenDevice (int index) |
| void | ProcessEvents () |
| bool | GetEvent (deInputEvent *event) |
| void | ClearEvents () |
Input System.
The input system provides all functions for acquiring input from the user. Supported input devices are all devices found on the host system which can be used to provide digital or analog input.
| deInputSystem::deInputSystem | ( | deEngine * | engine ) |
Creates a new input system linked to the given engine.
| deInputSystem::~deInputSystem | ( | ) |
Cleans up the input system.
| void deInputSystem::ClearEvents | ( | ) |
| virtual void deInputSystem::ClearPermanents | ( | ) | [virtual] |
Clears cross references and links that could lead to memory leaks.
Do not forget to call the super function.
Reimplemented from deBaseSystem.
| deBaseInputModule* deInputSystem::GetActiveModule | ( | ) | const [inline] |
| int deInputSystem::GetDeviceCount | ( | ) | const |
| bool deInputSystem::GetEvent | ( | deInputEvent * | event ) |
| deBaseInputDevice* deInputSystem::OpenDevice | ( | int | index ) |
| virtual void deInputSystem::PostStart | ( | ) | [virtual] |
Carry out here actions right after the system started up.
Reimplemented from deBaseSystem.
| virtual void deInputSystem::PreStop | ( | ) | [virtual] |
Carry out here actions right before the system shuts down.
Reimplemented from deBaseSystem.
| void deInputSystem::ProcessEvents | ( | ) |
| virtual void deInputSystem::SetActiveModule | ( | deLoadableModule * | module ) | [virtual] |
Sets the active loadable module.
Do not forget to call the super function.
Reimplemented from deBaseSystem.
1.7.2