Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
input::InputManager Class Reference

#include <InputManager.h>

Inheritance diagram for input::InputManager:
engine::Object core::Singleton< InputManager >

List of all members.

Public Member Functions

InputDevicecreateInputDevice (InputType type, bool buffered)
CursorgetCursor ()
 InputManager ()
 Default constructor.
s32 numJoySticks ()
 Returns the number of joysticks found.
s32 numKeyboards ()
 Returns the number of keyboards found.
s32 numMice ()
 Returns the number of mice found.
void removeAllInputDevices ()
void removeInputDevice (InputDevice *device)
void removeInputDevice (const u32 &id)
void removeInputDriver ()
void setInputDriver (InputDriver *driver)
void start ()
void stop ()
 ~InputManager ()

Static Public Member Functions

static InputManagergetInstance ()
 Get instance.

Protected Member Functions

void initializeImpl ()
void uninitializeImpl ()
void updateImpl (f32 elapsedTime)

Protected Attributes

CursormCursor
core::position2d mCursorCenter
std::map< u32, InputDevice * > mInputDevices
InputDrivermInputDriver

Constructor & Destructor Documentation

input::InputManager::InputManager ( )
input::InputManager::~InputManager ( )

References getInstance().


Member Function Documentation

InputDevice * input::InputManager::createInputDevice ( InputType  type,
bool  buffered 
)
Cursor * input::InputManager::getCursor ( )

References mCursor.

InputManager * input::InputManager::getInstance ( ) [static]
void input::InputManager::initializeImpl ( ) [protected, virtual]
s32 input::InputManager::numJoySticks ( )

Returns the number of joysticks found.

References mInputDriver, and input::InputDriver::numJoySticks().

s32 input::InputManager::numKeyboards ( )

Returns the number of keyboards found.

References mInputDriver, and input::InputDriver::numKeyboards().

s32 input::InputManager::numMice ( )

Returns the number of mice found.

References mInputDriver, and input::InputDriver::numMice().

void input::InputManager::removeAllInputDevices ( )
void input::InputManager::removeInputDevice ( const u32 id)
void input::InputManager::removeInputDevice ( InputDevice device)
void input::InputManager::removeInputDriver ( )

References mInputDriver.

void input::InputManager::setInputDriver ( InputDriver driver)
void input::InputManager::start ( )
void input::InputManager::stop ( )
void input::InputManager::uninitializeImpl ( ) [protected, virtual]

Reimplemented from engine::Object.

References getInstance(), and removeAllInputDevices().

void input::InputManager::updateImpl ( f32  elapsedTime) [protected, virtual]

Member Data Documentation

Referenced by initializeImpl(), and InputManager().


The documentation for this class was generated from the following files:

The KG Game Engine
The KG Game Engine Documentation © 2006-2011 by Kat'Oun. Generated on Sat Jul 2 2011 00:50:07 by Doxygen (1.7.4)