Murl::Graph::ITouchReporter Interface Referenceabstract

The ITouchReporter interface. More...

#include "murl_graph_i_touch_reporter.h"

Inheritance diagram for Murl::Graph::ITouchReporter:

Public Member Functions

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...
 

Detailed Description

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.

Member Function Documentation

◆ 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()

virtual Bool Murl::Graph::ITouchReporter::ReportWasPressed ( IEnums::InputDeviceType  deviceType,
UInt32  id,
Bool  hasUpdate,
const Vector localPosition,
const Vector outCoord,
Bool  isInside 
)
pure virtual

Report the was-pressed event.

Parameters
deviceTypeThe device type.
idThe unique identifier of the event.
hasUpdatetrue if the device received new data since the last report.
localPositionThe local position of the event in 3D object space.
outCoordThe 2D output coordinate.
isInsidetrue if the position is inside the touch area.
Returns
true if successful.

◆ ReportIsPressed()

virtual Bool Murl::Graph::ITouchReporter::ReportIsPressed ( IEnums::InputDeviceType  deviceType,
UInt32  id,
Bool  hasUpdate,
const Vector localPosition,
const Vector outCoord,
Bool  isInside 
)
pure virtual

Report the is-pressed event.

Parameters
deviceTypeThe device type.
idThe unique identifier of the event.
hasUpdatetrue if the device received new data since the last report.
localPositionThe local position of the event in 3D object space.
outCoordThe 2D output coordinate.
isInsidetrue if the position is inside the touch area.
Returns
true if successful.

◆ ReportWasReleased()

virtual Bool Murl::Graph::ITouchReporter::ReportWasReleased ( IEnums::InputDeviceType  deviceType,
UInt32  id,
Bool  hasUpdate,
const Vector localPosition,
const Vector outCoord,
Bool  isInside 
)
pure virtual

Report the was-released event.

Parameters
deviceTypeThe device type.
idThe unique identifier of the event.
hasUpdatetrue if the device received new data since the last report.
localPositionThe local position of the event in 3D object space.
outCoordThe 2D output coordinate.
isInsidetrue if the position is inside the touch area.
Returns
true if successful.

◆ ReportWasMoved()

virtual Bool Murl::Graph::ITouchReporter::ReportWasMoved ( IEnums::InputDeviceType  deviceType,
UInt32  id,
Bool  hasUpdate,
const Vector localPosition,
const Vector outCoord,
Bool  isInside 
)
pure virtual

Report the was-moved event.

Parameters
deviceTypeThe device type.
idThe unique identifier of the event.
hasUpdatetrue if the device received new data since the last report.
localPositionThe local position of the event in 3D object space.
outCoordThe 2D output coordinate.
isInsidetrue if the position is inside the touch area.
Returns
true if successful.

◆ ReportWasCancelled()

virtual Bool Murl::Graph::ITouchReporter::ReportWasCancelled ( IEnums::InputDeviceType  deviceType,
UInt32  id,
const Vector localPosition,
const Vector outCoord 
)
pure virtual

Report the was-cancelled event.

Parameters
deviceTypeThe device type.
idThe unique identifier of the event.
localPositionThe local position of the event in 3D object space.
outCoordThe 2D output coordinate.
Returns
true if successful.

The documentation for this interface was generated from the following file:
  • murl_graph_i_touch_reporter.h


Copyright © 2011-2024 Spraylight GmbH.