#include <OgreHapticsDevice.h>
Public Member Functions | |
DeviceEvent (EventType type, Device *devic, DeviceState state, DeviceButton btn, DeviceCalibrationState calState) | |
Default constructor. | |
virtual | ~DeviceEvent () |
Virtual destructor. | |
Public Attributes | |
Device * | device |
Pointer to the Device from which the event was fired. | |
DeviceState | cachedState |
Contains the state of the device at the time the event occurred in the device. | |
DeviceButton | button |
ID of the button causing the event. | |
DeviceCalibrationState | calibrationState |
The new calibration state of the device. | |
EventType | eventType |
The type of event for which the event arguments are passed. |
Definition at line 200 of file OgreHapticsDevice.h.
OgreHaptics::DeviceEvent::DeviceEvent | ( | EventType | type, | |
Device * | devic, | |||
DeviceState | state, | |||
DeviceButton | btn, | |||
DeviceCalibrationState | calState | |||
) |
virtual OgreHaptics::DeviceEvent::~DeviceEvent | ( | ) | [virtual] |
Pointer to the Device from which the event was fired.
Definition at line 216 of file OgreHapticsDevice.h.
Contains the state of the device at the time the event occurred in the device.
This state is usefull since the time the event listener is called may be changed, thus the state of the device might be different from the actual current state.
Definition at line 227 of file OgreHapticsDevice.h.
EventType OgreHaptics::EventArgs::eventType [inherited] |
The type of event for which the event arguments are passed.
Definition at line 54 of file OgreHapticsEvent.h.
Last modified Tue Jan 6 22:31:25 2009