Lugdunum  0.1.0
Public Member Functions | Private Attributes | List of all members
ndk_helper::TapDetector Class Reference

#include <gestureDetector.hpp>

Inheritance diagram for ndk_helper::TapDetector:
[legend]
Collaboration diagram for ndk_helper::TapDetector:
[legend]

Public Member Functions

 TapDetector ()
 
virtual ~TapDetector ()
 
virtual GESTURE_STATE Detect (const AInputEvent *motion_event)
 
- Public Member Functions inherited from ndk_helper::GestureDetector
 GestureDetector ()
 
virtual ~GestureDetector ()
 
virtual void SetConfiguration (AConfiguration *config)
 

Private Attributes

int32_t down_pointer_id_
 
float down_x_
 
float down_y_
 

Additional Inherited Members

- Protected Attributes inherited from ndk_helper::GestureDetector
float dp_factor_
 

Detailed Description

Definition at line 64 of file gestureDetector.hpp.

Constructor & Destructor Documentation

◆ TapDetector()

ndk_helper::TapDetector::TapDetector ( )

Definition at line 25 of file gestureDetector.cpp.

◆ ~TapDetector()

virtual ndk_helper::TapDetector::~TapDetector ( )
inlinevirtual

Definition at line 72 of file gestureDetector.hpp.

Member Function Documentation

◆ Detect()

GESTURE_STATE ndk_helper::TapDetector::Detect ( const AInputEvent *  motion_event)
virtual

Implements ndk_helper::GestureDetector.

Definition at line 27 of file gestureDetector.cpp.

Member Data Documentation

◆ down_pointer_id_

int32_t ndk_helper::TapDetector::down_pointer_id_
private

Definition at line 66 of file gestureDetector.hpp.

◆ down_x_

float ndk_helper::TapDetector::down_x_
private

Definition at line 67 of file gestureDetector.hpp.

◆ down_y_

float ndk_helper::TapDetector::down_y_
private

Definition at line 68 of file gestureDetector.hpp.


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