IoAbstraction
Public Member Functions | List of all members
iotouch::TouchInterrogator Class Referenceabstract

#include <ResistiveTouchScreen.h>

Inheritance diagram for iotouch::TouchInterrogator:
iotouch::ResistiveTouchInterrogator

Public Member Functions

virtual TouchState internalProcessTouch (float *ptrX, float *ptrY, const TouchOrientationSettings &settings, const CalibrationHandler &calib)=0
 

Detailed Description

A touch integrator is a class that is capable of receiving touch events from a touch panel and reporting those said events to the touch screen manager. It is a pull API in that internalProcessTouch will be called to pull the value from this class as needed.

Member Function Documentation

◆ internalProcessTouch()

virtual TouchState iotouch::TouchInterrogator::internalProcessTouch ( float *  ptrX,
float *  ptrY,
const TouchOrientationSettings settings,
const CalibrationHandler calib 
)
pure virtual

called by the touch screen manager to get the latest touch information.

Parameters
ptrXa pointer to be populated with the X position between 0 and 1
ptrYa pointer to be popualted with the Y position between 0 and 1
rotationthe rotation of the display, one of the above.
calibthe calibration handler that can be used to adjust the values before returning from this method
Returns
the touch state after this call

Implemented in iotouch::ResistiveTouchInterrogator.


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