Dali 3D User Interface Engine
List of all members | Public Member Functions | Private Member Functions | Private Attributes
Dali::Internal::Adaptor::AccessibilityGestureDetector Class Reference

Detects an accessibility pan gesture and sends it to the gesture handler. More...

#include <accessibility-gesture-detector.h>

Inheritance diagram for Dali::Internal::Adaptor::AccessibilityGestureDetector:
Inheritance graph
[legend]
Collaboration diagram for Dali::Internal::Adaptor::AccessibilityGestureDetector:
Collaboration graph
[legend]

Public Member Functions

 AccessibilityGestureDetector ()
 Constructor. More...
 
virtual ~AccessibilityGestureDetector ()
 Virtual destructor. More...
 
void SetGestureHandler (AccessibilityGestureHandler &handler)
 Set the handler to handle accessibility gestures. More...
 
- Public Member Functions inherited from Dali::Internal::Adaptor::PanGestureDetectorBase
virtual ~PanGestureDetectorBase ()
 Virtual destructor. More...
 
virtual void SendEvent (const Integration::TouchEvent &event)
  More...
 
virtual void Update (const Integration::GestureRequest &request)
  More...
 
- Public Member Functions inherited from Dali::Internal::Adaptor::GestureDetector
Gesture::Type GetType () const
 Returns the type of gesture detector. More...
 
- Public Member Functions inherited from Dali::RefObject
void Reference ()
 Increment the object's reference count. More...
 
void Unreference ()
 Decrement the object's reference count. More...
 
int ReferenceCount ()
 Retrieve the object's reference count. More...
 

Private Member Functions

virtual void EmitPan (const Integration::PanGestureEvent gesture)
 Emits the pan gesture event to the gesture handler. More...
 

Private Attributes

AccessibilityGestureHandler * mGestureHandler
 The pointer of accessibility gesture handler. More...
 
bool mPanning
 Keep track of panning state, when panning is occuring, this is true. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Dali::Internal::Adaptor::PanGestureDetectorBase
 PanGestureDetectorBase (Vector2 screenSize, const Integration::PanGestureRequest &request, EnvironmentOptions *environmentOptions)
 Constructor. More...
 
- Protected Attributes inherited from Dali::Internal::Adaptor::GestureDetector
Vector2 mScreenSize
 
Gesture::Type mType
 

Detailed Description

Detects an accessibility pan gesture and sends it to the gesture handler.

Definition at line 47 of file accessibility-gesture-detector.h.

Constructor & Destructor Documentation

Dali::Internal::Adaptor::AccessibilityGestureDetector::AccessibilityGestureDetector ( )

Constructor.

Definition at line 33 of file accessibility-gesture-detector.cpp.

Dali::Internal::Adaptor::AccessibilityGestureDetector::~AccessibilityGestureDetector ( )
virtual

Virtual destructor.

Definition at line 40 of file accessibility-gesture-detector.cpp.

Member Function Documentation

void Dali::Internal::Adaptor::AccessibilityGestureDetector::EmitPan ( const Integration::PanGestureEvent  gesture)
privatevirtual

Emits the pan gesture event to the gesture handler.

Parameters
[in]gestureThe pan gesture event.

Implements Dali::Internal::Adaptor::PanGestureDetectorBase.

Definition at line 49 of file accessibility-gesture-detector.cpp.

References Dali::Gesture::Cancelled, Dali::Gesture::Finished, mGestureHandler, mPanning, and Dali::Gesture::Started.

void Dali::Internal::Adaptor::AccessibilityGestureDetector::SetGestureHandler ( AccessibilityGestureHandler &  handler)

Set the handler to handle accessibility gestures.

Parameters
[in]handlerThe Accessibility gesture handler.
Note
Handlers should remove themselves when they are destroyed.

Definition at line 44 of file accessibility-gesture-detector.cpp.

References mGestureHandler.

Member Data Documentation

AccessibilityGestureHandler* Dali::Internal::Adaptor::AccessibilityGestureDetector::mGestureHandler
private

The pointer of accessibility gesture handler.

Definition at line 78 of file accessibility-gesture-detector.h.

Referenced by EmitPan(), and SetGestureHandler().

bool Dali::Internal::Adaptor::AccessibilityGestureDetector::mPanning
private

Keep track of panning state, when panning is occuring, this is true.

Definition at line 79 of file accessibility-gesture-detector.h.

Referenced by EmitPan().


The documentation for this class was generated from the following files:
Dali Docs Home
Read more about Dali