OgreHaptics::ForceEffect::Listener Class Reference
List of all members.
- Listener which gets called back on ForceEffect events.
Handler for state change events. These can be called from different threads. It must be made clear to users from which thread the event is coming. A number of solutions can be used:
- adding an extra boolean value to handles parameters to indicate the callback is generated from the haptic thread or not
- let users explicitely subscribe to events from haptic or from client thread (which adds that not all events should come from the haptic thread, such as the state change to FES_STARTING)
- let all events be fired when the system or device on which the effect is rendered is updated, except for FES_STARTING) Discussion is needed, since I am not sure about what is wanted/needed.
Definition at line 150 of file OgreHapticsForceEffect.h.
Constructor & Destructor Documentation
Member Function Documentation
|virtual void OgreHaptics::ForceEffect::Listener::effectStarted
The documentation for this class was generated from the following file: