The rapper class to move it like MotionEvent in Android.

Embed: (wiki syntax)

« Back to documentation index

MotionEventConverter Class Reference

MotionEventConverter Class Reference

A class to communicate a MotionEventConverter. More...

#include <MotionEventConverter.h>

Public Member Functions

 MotionEventConverter ()
 Constructor.
void Process (int(*fptr)(MotionEvent event), TouchKey *p_touch)
 Run the touch panel process.
template<typename T >
void Process (T *tptr, int(T::*mptr)(MotionEvent event), TouchKey *p_touch)
 Run the touch panel process.

Detailed Description

A class to communicate a MotionEventConverter.

Definition at line 32 of file MotionEventConverter.h.


Constructor & Destructor Documentation

Constructor.

Definition at line 21 of file MotionEventConverter.cpp.


Member Function Documentation

void Process ( int(*)(MotionEvent event)  fptr,
TouchKey *  p_touch 
)

Run the touch panel process.

Parameters:
fptrA pointer to a void function
p_touchpointer of TouchKey class

Definition at line 45 of file MotionEventConverter.h.

void Process ( T *  tptr,
int(T::*)(MotionEvent event)  mptr,
TouchKey *  p_touch 
)

Run the touch panel process.

Parameters:
tptrpointer to the object to call the member function on
mptrpointer to the member function to be called
p_touchpointer of TouchKey class

Definition at line 57 of file MotionEventConverter.h.