The IMultiTouchReporter interface. More...
#include "murl_graph_i_multi_touch_reporter.h"
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 Vector & | GetOutCoord (SInt32 index) const =0 |
Get the output coordinate vector of an event in 2D space. More... | |
virtual const Vector & | GetLocalPosition (SInt32 index) const =0 |
Get the local position vector of an event in 3D object space. More... | |
virtual const Vector & | GetLocalDelta (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()
|
pure virtual |
Set the maximum number of events to combine.
- Parameters
-
maxNumberOfEvents The maximum number of events.
◆ GetMaxNumberOfEvents()
|
pure virtual |
Get the maximum number of events to combine.
- Returns
- The maximum number of events.
◆ GetId()
Get the unique event identifier by index.
A valid index is [0 .. GetCount() - 1].
- Parameters
-
index The index of the event.
- Returns
- The unique event identifier.
◆ GetIndex()
Get the event index by identifier.
- Parameters
-
id The event identifier.
- Returns
- The event index.
◆ GetCount()
|
pure virtual |
Get the number of events.
- Returns
- The number of events.
◆ GetTrackedId()
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
-
index The index of the tracked event.
- Returns
- The unique event identifier.
◆ GetTrackedIndex()
Get the tracked event index by identifier.
An event which was pressed inside the touch area is a tracked event.
- Parameters
-
id The event identifier.
- Returns
- The tracked event index.
◆ GetTrackedCount()
|
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()
Check if an event is inside the touch area.
A valid index is [0 .. GetCount() - 1].
- Parameters
-
index The index of the event.
- Returns
- true if the event is inside the touch area.
◆ IsPressed()
Check if an event is pressed.
A valid index is [0 .. GetCount() - 1].
- Parameters
-
index The index of the event.
- Returns
- true if the event is pressed.
◆ IsTracked()
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
-
index The index of the event.
- Returns
- true if the event is tracked.
◆ HasUpdate()
Check if an event has received updates from any input device.
A valid index is [0 .. GetCount() - 1].
- Parameters
-
index The index of the event.
- Returns
- true if the event has received updates.
◆ GetInputDeviceType()
|
pure virtual |
Get the input device type that reported this event.
A valid index is [0 .. GetCount() - 1].
- Parameters
-
index The index of the event.
- Returns
- The input device type.
◆ GetOutCoord()
|
pure virtual |
Get the output coordinate vector of an event in 2D space.
A valid index is [0 .. GetCount() - 1].
- Parameters
-
index The index of the event.
- Returns
- The output coordinate vector.
◆ GetLocalPosition()
|
pure virtual |
Get the local position vector of an event in 3D object space.
A valid index is [0 .. GetCount() - 1].
- Parameters
-
index The index of the event.
- Returns
- The local position vector.
◆ GetLocalDelta()
|
pure virtual |
Get the local position delta vector of an event.
A valid index is [0 .. GetCount() - 1].
- Parameters
-
index The 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