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

InputManager Class Reference

#include <input.h>

List of all members.


Detailed Description

Collects input from devices and distributes to groups.

Author:
Mattias Jansson (mattias@realityrift.com)


Public Member Functions

 InputManager ()
virtual ~InputManager ()
void AttachDevice (InputDevice *pkDevice)
void AttachGroup (InputGroup *pkGroup)
void DetachDevice (InputDevice *pkDevice)
void DetachGroup (InputGroup *pkGroup)
void Process ()

Protected Attributes

std::vector< InputDevice * > m_vpkInputDevices
std::vector< InputGroup * > m_vpkInputGroups


Constructor & Destructor Documentation

InputManager  ) 
 

virtual ~InputManager  )  [virtual]
 


Member Function Documentation

void AttachDevice InputDevice pkDevice  ) 
 

Attach input device. Manager will NOT delete device objects in dtor, cleanup must be done by device creator.

Parameters:
pkDevice Input device

void AttachGroup InputGroup pkGroup  ) 
 

Attach input group. Manager will NOT delete group objects in dtor, cleanup must be done by group creator.

Parameters:
pkGroup Input group

void DetachDevice InputDevice pkDevice  ) 
 

Detach input device

Parameters:
pkDevice Input device

void DetachGroup InputGroup pkGroup  ) 
 

Detach input group

Parameters:
pkGroup Input group

void Process  ) 
 

Collect events from devices and distribute to groups


Member Data Documentation

std::vector< InputDevice* > m_vpkInputDevices [protected]
 

Devices

std::vector< InputGroup* > m_vpkInputGroups [protected]
 

Groups


The documentation for this class was generated from the following file:
Generated on Wed Jan 21 14:21:11 2004 for NeoEngine by doxygen 1.3.5