Dali 3D User Interface Engine
List of all members | Public Member Functions | Public Attributes
Dali::Internal::anonymous_namespace{long-press-gesture-processor.cpp}::IsNotAttachedFunctor Struct Reference

Functor which checks whether the specified actor is attached to the gesture detector. More...

Collaboration diagram for Dali::Internal::anonymous_namespace{long-press-gesture-processor.cpp}::IsNotAttachedFunctor:
Collaboration graph
[legend]

Public Member Functions

 IsNotAttachedFunctor (Actor *actor)
 Constructor. More...
 
bool operator() (const GestureDetector *detector) const
 Returns true if not attached, false if it is still attached. More...
 

Public Attributes

ActoractorToCheck
 The actor to check whether it is attached or not. More...
 

Detailed Description

Functor which checks whether the specified actor is attached to the gesture detector.

It returns true if it is no longer attached. This can be used in remove_if functions.

Definition at line 75 of file long-press-gesture-processor.cpp.

Constructor & Destructor Documentation

Dali::Internal::anonymous_namespace{long-press-gesture-processor.cpp}::IsNotAttachedFunctor::IsNotAttachedFunctor ( Actor actor)
inline

Constructor.

Parameters
[in]actorThe actor to check whether it is attached.

Definition at line 81 of file long-press-gesture-processor.cpp.

Member Function Documentation

bool Dali::Internal::anonymous_namespace{long-press-gesture-processor.cpp}::IsNotAttachedFunctor::operator() ( const GestureDetector detector) const
inline

Returns true if not attached, false if it is still attached.

Parameters
[in]detectorThe detector to check.
Returns
true, if not attached, false otherwise.

Definition at line 91 of file long-press-gesture-processor.cpp.

References Dali::Internal::GestureDetector::IsAttached().

Here is the call graph for this function:

Member Data Documentation

Actor* Dali::Internal::anonymous_namespace{long-press-gesture-processor.cpp}::IsNotAttachedFunctor::actorToCheck

The actor to check whether it is attached or not.

Definition at line 96 of file long-press-gesture-processor.cpp.


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