kanzi::TouchPointIdEquals Struct Reference

Helper predicate functor for searching within touch point containers. More...

#include <kanzi/core.ui/input/input_manipulator.hpp>

Public Member Functions

 TouchPointIdEquals (unsigned int id)
 Constructor. More...
 
bool operator() (const KzuInputTouchPoint &touchPoint) const
 Compares id of given touch point against constructor argument. More...
 
bool operator() (const KzuInputTouchPoint *touchPoint) const
 Compares id of given touch point against constructor argument. More...
 

Public Attributes

unsigned int touchPointId
 Touch point id argument. More...
 

Detailed Description

Helper predicate functor for searching within touch point containers.

Constructor & Destructor Documentation

kanzi::TouchPointIdEquals::TouchPointIdEquals ( unsigned int  id)
inlineexplicit

Constructor.

Parameters
idTouch point id to search for.

Member Function Documentation

bool kanzi::TouchPointIdEquals::operator() ( const KzuInputTouchPoint touchPoint) const
inline

Compares id of given touch point against constructor argument.

Parameters
touchPointTouch point to compare.
Returns
True, if touch point id:s match.
bool kanzi::TouchPointIdEquals::operator() ( const KzuInputTouchPoint touchPoint) const
inline

Compares id of given touch point against constructor argument.

Parameters
touchPointPointer to touch point to compare.
Returns
True, if touch point id:s match.

Member Data Documentation

unsigned int kanzi::TouchPointIdEquals::touchPointId

Touch point id argument.


The documentation for this struct was generated from the following file: