Murl::Graph::IMultiTouchReporter Interface Referenceabstract

The IMultiTouchReporter interface. More...

#include "murl_graph_i_multi_touch_reporter.h"

Inheritance diagram for Murl::Graph::IMultiTouchReporter:

Public Member Functions

virtual void SetMaxNumberOfEvents (UInt32 maxNumberOfEvents)=0
 Set the maximum number of events to combine. More...
 
virtual UInt32 GetMaxNumberOfEvents () const =0
 Get the maximum number of events to combine. More...
 
virtual void ResetStates ()=0
 Reset all states.
 
virtual UInt32 GetId (UInt32 index) const =0
 Get the unique event identifier by index. More...
 
virtual SInt32 GetIndex (UInt32 id) const =0
 Get the event index by identifier. More...
 
virtual UInt32 GetCount () const =0
 Get the number of events. More...
 
virtual UInt32 GetTrackedId (UInt32 index) const =0
 Get the unique tracked-event identifier by index. More...
 
virtual SInt32 GetTrackedIndex (UInt32 id) const =0
 Get the tracked event index by identifier. More...
 
virtual UInt32 GetTrackedCount () const =0
 Get the number of tracked events. More...
 
virtual Bool IsInside (SInt32 index) const =0
 Check if an event is inside the touch area. More...
 
virtual Bool IsPressed (SInt32 index) const =0
 Check if an event is pressed. More...
 
virtual Bool IsTracked (SInt32 index) const =0
 Check if an event is tracked. More...
 
virtual Bool HasUpdate (SInt32 index) const =0
 Check if an event has received updates from any input device. More...
 
virtual IEnums::InputDeviceType GetInputDeviceType (SInt32 index) const =0
 Get the input device type that reported this event. More...
 
virtual const VectorGetOutCoord (SInt32 index) const =0
 Get the output coordinate vector of an event in 2D space. More...
 
virtual const VectorGetLocalPosition (SInt32 index) const =0
 Get the local position vector of an event in 3D object space. More...
 
virtual const VectorGetLocalDelta (SInt32 index) const =0
 Get the local position delta vector of an event. More...
 
- Public Member Functions inherited from Murl::Graph::ITouchReporter
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 IMultiTouchReporter interface.

The IMultiTouchReporter object combines the ITouchReporter events and reports the results to the ITouchReporterTarget interface.

Member Function Documentation

◆ SetMaxNumberOfEvents()

virtual void Murl::Graph::IMultiTouchReporter::SetMaxNumberOfEvents ( UInt32  maxNumberOfEvents)
pure virtual

Set the maximum number of events to combine.

Parameters
maxNumberOfEventsThe maximum number of events.

◆ GetMaxNumberOfEvents()

virtual UInt32 Murl::Graph::IMultiTouchReporter::GetMaxNumberOfEvents ( ) const
pure virtual

Get the maximum number of events to combine.

Returns
The maximum number of events.

◆ GetId()

virtual UInt32 Murl::Graph::IMultiTouchReporter::GetId ( UInt32  index) const
pure virtual

Get the unique event identifier by index.

A valid index is [0 .. GetCount() - 1].

Parameters
indexThe index of the event.
Returns
The unique event identifier.

◆ GetIndex()

virtual SInt32 Murl::Graph::IMultiTouchReporter::GetIndex ( UInt32  id) const
pure virtual

Get the event index by identifier.

Parameters
idThe event identifier.
Returns
The event index.

◆ GetCount()

virtual UInt32 Murl::Graph::IMultiTouchReporter::GetCount ( ) const
pure virtual

Get the number of events.

Returns
The number of events.

◆ GetTrackedId()

virtual UInt32 Murl::Graph::IMultiTouchReporter::GetTrackedId ( UInt32  index) const
pure virtual

Get the unique tracked-event identifier by index.

An event which was pressed inside the touch area is a tracked event. A valid index is [0 .. GetTrackedCount() - 1].

Parameters
indexThe index of the tracked event.
Returns
The unique event identifier.

◆ GetTrackedIndex()

virtual SInt32 Murl::Graph::IMultiTouchReporter::GetTrackedIndex ( UInt32  id) const
pure virtual

Get the tracked event index by identifier.

An event which was pressed inside the touch area is a tracked event.

Parameters
idThe event identifier.
Returns
The tracked event index.

◆ GetTrackedCount()

virtual UInt32 Murl::Graph::IMultiTouchReporter::GetTrackedCount ( ) const
pure virtual

Get the number of tracked events.

An event which was pressed inside the touch area is a tracked event.

Returns
The number of tracked events.

◆ IsInside()

virtual Bool Murl::Graph::IMultiTouchReporter::IsInside ( SInt32  index) const
pure virtual

Check if an event is inside the touch area.

A valid index is [0 .. GetCount() - 1].

Parameters
indexThe index of the event.
Returns
true if the event is inside the touch area.

◆ IsPressed()

virtual Bool Murl::Graph::IMultiTouchReporter::IsPressed ( SInt32  index) const
pure virtual

Check if an event is pressed.

A valid index is [0 .. GetCount() - 1].

Parameters
indexThe index of the event.
Returns
true if the event is pressed.

◆ IsTracked()

virtual Bool Murl::Graph::IMultiTouchReporter::IsTracked ( SInt32  index) const
pure virtual

Check if an event is tracked.

An event which was pressed inside the touch area is a tracked event. A valid index is [0 .. GetCount() - 1].

Parameters
indexThe index of the event.
Returns
true if the event is tracked.

◆ HasUpdate()

virtual Bool Murl::Graph::IMultiTouchReporter::HasUpdate ( SInt32  index) const
pure virtual

Check if an event has received updates from any input device.

A valid index is [0 .. GetCount() - 1].

Parameters
indexThe index of the event.
Returns
true if the event has received updates.

◆ GetInputDeviceType()

virtual IEnums::InputDeviceType Murl::Graph::IMultiTouchReporter::GetInputDeviceType ( SInt32  index) const
pure virtual

Get the input device type that reported this event.

A valid index is [0 .. GetCount() - 1].

Parameters
indexThe index of the event.
Returns
The input device type.

◆ GetOutCoord()

virtual const Vector& Murl::Graph::IMultiTouchReporter::GetOutCoord ( SInt32  index) const
pure virtual

Get the output coordinate vector of an event in 2D space.

A valid index is [0 .. GetCount() - 1].

Parameters
indexThe index of the event.
Returns
The output coordinate vector.

◆ GetLocalPosition()

virtual const Vector& Murl::Graph::IMultiTouchReporter::GetLocalPosition ( SInt32  index) const
pure virtual

Get the local position vector of an event in 3D object space.

A valid index is [0 .. GetCount() - 1].

Parameters
indexThe index of the event.
Returns
The local position vector.

◆ GetLocalDelta()

virtual const Vector& Murl::Graph::IMultiTouchReporter::GetLocalDelta ( SInt32  index) const
pure virtual

Get the local position delta vector of an event.

A valid index is [0 .. GetCount() - 1].

Parameters
indexThe index of the event.
Returns
The local position delta vector.

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


Copyright © 2011-2024 Spraylight GmbH.