Built-In Gesture Recognizer (Compact 7)
3/12/2014
The built-in gesture recognizer receives touch events from the gesture core, and notifies the gesture core whenever it detects a gesture.
The object file for this module is TouchRecognizerLib.lib, which is built from the source files in %_WINCEROOT%\private\Winceos\Coreos\Gwe\Userin\TouchRecognizer\. The following table describes some of these source files.
File name | Description |
---|---|
Configuration.hpp |
Defines the Configuration class, which has methods to load recognizer configuration values (for example, the tap time-out) from the registry, and to get and set them. |
DMRecognizer.hpp |
Defines the DMRecognizer class, which performs direct manipulation gesture recognition. |
FlickRecognizer.hpp |
Defines the FlickRecognizer class, which performs flick gesture recognition. |
GestureRecognizer.hpp |
Defines the GestureRecognizer class. When there is a touch event, gesture core calls the RecognizeGesture function (in entry.cpp), and that function calls the GestureRecognizer::RecognizeGesture method to perform gesture recognition. |
HoldRecognizer.hpp |
Defines the HoldRecognizer class, which performs hold gesture recognition. |
SelectRecognizer.hpp |
Defines the SelectRecognizer class, which performs select (tap) and double-select gesture recognition. |
TimerManager.hpp |
Defines the TimerManager class, which provides timer callback capabilities. |
TouchRecognizer.h |
Defines the TouchGesture class, which performs gesture recognition for all gesture types except direct manipulation gestures. It uses the FlickRecognizer class and the other classes for specific gestures. The DMRecognizer class performs direct manipulation gesture recognition. |
Configuration.cpp |
Implements the Configuration class, whose definition is in Configuration.hpp. |
DMRecognizer.cpp |
Implements the DMRecognizer class, whose definition is in DMRecognizer.hpp. |
Entry.cpp |
Provides the exported functions of the module: DLLMain, Init, RecognizeGesture, and ConfigSettings. |
FlickRecognizer.cpp |
Implements the FlickRecognizer class, whose definition is in FlickRecognizer.hpp. |
GestureRecognizer.cpp |
Implements the GestureRecognizer class, whose definition is in GestureRecognizer.hpp. |
HoldRecognizer.cpp |
Implements the HoldRecognizer class, whose definition is in FlickRecognizer.hpp. |
SelectRecognizer.cpp |
Implements the SelectRecognizer class, whose definition is in SelectRecognizer.hpp. |
TimerManager.cpp |
Implements the TimerManager class, whose definition is in TimerManager.hpp. |
TouchRecognizer.cpp |
Implements the TouchGesture class, whose definition is in TouchRecognizer.h. |