Sirikata
Public Member Functions | Private Attributes
Sirikata::Input::InputEvent Class Reference

Base class for all input events. More...

#include <InputEvents.hpp>

Inheritance diagram for Sirikata::Input::InputEvent:
Collaboration diagram for Sirikata::Input::InputEvent:

List of all members.

Public Member Functions

 InputEvent (const InputDeviceWPtr &dev)
virtual ~InputEvent ()
InputDevicePtr getDevice () const

Private Attributes

InputDeviceWPtr mDevice

Detailed Description

Base class for all input events.

Call getDevice() to retrieve the specific device that fired the event, and to determine the name of any buttons/axes, or the the meaning of each modifier/scancode.


Constructor & Destructor Documentation

Sirikata::Input::InputEvent::InputEvent ( const InputDeviceWPtr dev) [inline]
virtual Sirikata::Input::InputEvent::~InputEvent ( ) [inline, virtual]

Member Function Documentation

InputDevicePtr Sirikata::Input::InputEvent::getDevice ( ) const [inline]

Member Data Documentation


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