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

Detects a pan gesture and sends it to core. More...

#include <pan-gesture-detector.h>

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

Public Member Functions

 PanGestureDetector (CoreEventInterface &coreEventInterface, Vector2 screenSize, const Integration::PanGestureRequest &request, EnvironmentOptions &environmentOptions)
 Constructor. More...
 
virtual ~PanGestureDetector ()
 Virtual destructor. 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 core. More...
 

Private Attributes

CoreEventInterfacemCoreEventInterface
 Used to send events to Core. 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 a pan gesture and sends it to core.

Definition at line 49 of file pan-gesture-detector.h.

Constructor & Destructor Documentation

Dali::Internal::Adaptor::PanGestureDetector::PanGestureDetector ( CoreEventInterface coreEventInterface,
Vector2  screenSize,
const Integration::PanGestureRequest &  request,
EnvironmentOptions environmentOptions 
)

Constructor.

Parameters
[in]coreEventInterfaceUsed to send events to Core.
[in]screenSizeThe size of the screen.
[in]requestThe details of the request.
[in]environmentOptionsThe environmentOptions.

Definition at line 37 of file pan-gesture-detector.cpp.

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

Virtual destructor.

Definition at line 43 of file pan-gesture-detector.cpp.

Member Function Documentation

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

Emits the pan gesture event to the core.

Parameters
[in]gestureThe pan gesture event.

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

Definition at line 47 of file pan-gesture-detector.cpp.

References mCoreEventInterface, and Dali::Internal::Adaptor::CoreEventInterface::QueueCoreEvent().

Here is the call graph for this function:

Member Data Documentation

CoreEventInterface& Dali::Internal::Adaptor::PanGestureDetector::mCoreEventInterface
private

Used to send events to Core.

Definition at line 77 of file pan-gesture-detector.h.

Referenced by EmitPan().


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