Dali 3D User Interface Engine
List of all members | Public Member Functions
Dali::Integration::GestureManager Class Referenceabstract

GestureManager is an abstract interface, used by Dali to register and unregister gestures provided by the adaptor. More...

#include <gesture-manager.h>

Inheritance diagram for Dali::Integration::GestureManager:
Inheritance graph
[legend]

Public Member Functions

virtual void Register (const GestureRequest &request)=0
 Called by Dali to enable the adaptor to start detecting the required gesture type. More...
 
virtual void Unregister (const GestureRequest &request)=0
 Called by Dali to inform the adaptor that it no longer requires a GestureEvent when the state gesture type is detected. More...
 
virtual void Update (const GestureRequest &request)=0
 Called by Dali to inform the adaptor that the detection parameters of a previously requested gesture have now changed. More...
 

Detailed Description

GestureManager is an abstract interface, used by Dali to register and unregister gestures provided by the adaptor.

A concrete implementation must be created for each adaptor, and provided when creating the Dali::Integration::Core object.

Definition at line 36 of file gesture-manager.h.

Member Function Documentation

virtual void Dali::Integration::GestureManager::Register ( const GestureRequest &  request)
pure virtual

Called by Dali to enable the adaptor to start detecting the required gesture type.

Parameters
[in]requestThe required gesture and details.

Referenced by Dali::Internal::LongPressGestureProcessor::AddGestureDetector(), Dali::Internal::TapGestureProcessor::AddGestureDetector(), Dali::Internal::PinchGestureProcessor::AddGestureDetector(), and Dali::Internal::PanGestureProcessor::AddGestureDetector().

Here is the caller graph for this function:

virtual void Dali::Integration::GestureManager::Unregister ( const GestureRequest &  request)
pure virtual

Called by Dali to inform the adaptor that it no longer requires a GestureEvent when the state gesture type is detected.

Parameters
[in]requestThe gesture that is no longer required.

Referenced by Dali::Internal::LongPressGestureProcessor::RemoveGestureDetector(), Dali::Internal::TapGestureProcessor::RemoveGestureDetector(), Dali::Internal::PinchGestureProcessor::RemoveGestureDetector(), and Dali::Internal::PanGestureProcessor::RemoveGestureDetector().

Here is the caller graph for this function:

virtual void Dali::Integration::GestureManager::Update ( const GestureRequest &  request)
pure virtual

Called by Dali to inform the adaptor that the detection parameters of a previously requested gesture have now changed.

Parameters
[in]requestThe gesture and updated details.

Referenced by Dali::Internal::TapGestureProcessor::AddGestureDetector(), Dali::Internal::LongPressGestureProcessor::UpdateDetection(), Dali::Internal::TapGestureProcessor::UpdateDetection(), and Dali::Internal::PanGestureProcessor::UpdateDetection().

Here is the caller graph for this function:


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