XQSensorGestureRecognizerPlugin Class Reference

#include <mw/sensorgesture/xqsensorgesturerecognizerplugin.h>

class XQSensorGestureRecognizerPlugin
Public Member Functions
pure virtual XQSensorGestureRecognizer *createRecognizer()
pure virtual QString gestureType()

Detailed Description

The SensorGestureRecognizerPlugin class is an interface class for detecting the recognizer provided by the plug-in, and a factory method to create SensorGestureRecognizer objects. Each plug-in is only able to provide one recognizer gestureType.

Member Function Documentation

createRecognizer ( )

XQSensorGestureRecognizer *createRecognizer()[pure virtual]

Creates an XQSensorGestureRecognizer object. This is a factory method called by the Sensor Gesture Framework.

Return Value
The created SensorGestureRecognizer object.

gestureType ( )

QString gestureType()const [pure virtual]

Provides the types of gestures recognized by this plug-in. This is called by the Sensor Gesture Framework.

Return Value
The type of the gestures recognized.