The ITouchReporter interface.
More...
#include "murl_graph_i_touch_reporter.h"
|
virtual Bool | ReportBegin ()=0 |
| Begin reporting events. More...
|
|
virtual Bool | ReportEnd ()=0 |
| End reporting events. More...
|
|
virtual Bool | ReportWasPressed (IEnums::InputDeviceType deviceType, UInt32 id, Bool hasUpdate, const Vector &localPosition, const Vector &outCoord, Bool isInside)=0 |
| Report the was-pressed event. More...
|
|
virtual Bool | ReportIsPressed (IEnums::InputDeviceType deviceType, UInt32 id, Bool hasUpdate, const Vector &localPosition, const Vector &outCoord, Bool isInside)=0 |
| Report the is-pressed event. More...
|
|
virtual Bool | ReportWasReleased (IEnums::InputDeviceType deviceType, UInt32 id, Bool hasUpdate, const Vector &localPosition, const Vector &outCoord, Bool isInside)=0 |
| Report the was-released event. More...
|
|
virtual Bool | ReportWasMoved (IEnums::InputDeviceType deviceType, UInt32 id, Bool hasUpdate, const Vector &localPosition, const Vector &outCoord, Bool isInside)=0 |
| Report the was-moved event. More...
|
|
virtual Bool | ReportWasCancelled (IEnums::InputDeviceType deviceType, UInt32 id, const Vector &localPosition, const Vector &outCoord)=0 |
| Report the was-cancelled event. More...
|
|
The ITouchReporter interface.
The ITouchReporter interface is used for reporting events and the corresponding intersection information of a touch area. Events are generated by multi-touch or any pointing device.
◆ ReportBegin()
virtual Bool Murl::Graph::ITouchReporter::ReportBegin |
( |
| ) |
|
|
pure virtual |
Begin reporting events.
- Returns
- true if successful.
◆ ReportEnd()
virtual Bool Murl::Graph::ITouchReporter::ReportEnd |
( |
| ) |
|
|
pure virtual |
End reporting events.
- Returns
- true if successful.
◆ ReportWasPressed()
Report the was-pressed event.
- Parameters
-
deviceType | The device type. |
id | The unique identifier of the event. |
hasUpdate | true if the device received new data since the last report. |
localPosition | The local position of the event in 3D object space. |
outCoord | The 2D output coordinate. |
isInside | true if the position is inside the touch area. |
- Returns
- true if successful.
◆ ReportIsPressed()
Report the is-pressed event.
- Parameters
-
deviceType | The device type. |
id | The unique identifier of the event. |
hasUpdate | true if the device received new data since the last report. |
localPosition | The local position of the event in 3D object space. |
outCoord | The 2D output coordinate. |
isInside | true if the position is inside the touch area. |
- Returns
- true if successful.
◆ ReportWasReleased()
Report the was-released event.
- Parameters
-
deviceType | The device type. |
id | The unique identifier of the event. |
hasUpdate | true if the device received new data since the last report. |
localPosition | The local position of the event in 3D object space. |
outCoord | The 2D output coordinate. |
isInside | true if the position is inside the touch area. |
- Returns
- true if successful.
◆ ReportWasMoved()
Report the was-moved event.
- Parameters
-
deviceType | The device type. |
id | The unique identifier of the event. |
hasUpdate | true if the device received new data since the last report. |
localPosition | The local position of the event in 3D object space. |
outCoord | The 2D output coordinate. |
isInside | true if the position is inside the touch area. |
- Returns
- true if successful.
◆ ReportWasCancelled()
Report the was-cancelled event.
- Parameters
-
deviceType | The device type. |
id | The unique identifier of the event. |
localPosition | The local position of the event in 3D object space. |
outCoord | The 2D output coordinate. |
- Returns
- true if successful.
The documentation for this interface was generated from the following file:
- murl_graph_i_touch_reporter.h