onboardapi  9.10.0
by Rheinmetall
M_HidCoordInput::IClient Class Reference

Public Member Functions

virtual ~IClient ()
 
virtual void ReportCoordInputSettings (M_HidCoordInput::CoordInputSettingsType const &Settings)
 
virtual void EventClick (M_Common::PixelPoint2DType const &Point, bool IsPressed)
 
virtual void ReportCursorPosition (M_Common::PixelPoint2DType const &Point, bool IsRemoved)
 

Detailed Description

Client interface. Contains operations reported by a Coord Input Service.

Constructor & Destructor Documentation

◆ ~IClient()

M_HidCoordInput::IClient::~IClient ( )
virtual

Member Function Documentation

◆ EventClick()

void M_HidCoordInput::IClient::EventClick ( M_Common::PixelPoint2DType const &  Point,
bool  IsPressed 
)
virtual

Triggered every time an input is generated, such as a touch screen is pressed or released, or a mouse button is pressed or released.

Parameters
PointThe X/Y position in pixels of the click.
IsPressedIndicates if the button has been pressed (true) or released (false).

◆ ReportCoordInputSettings()

void M_HidCoordInput::IClient::ReportCoordInputSettings ( M_HidCoordInput::CoordInputSettingsType const &  Settings)
virtual

Contains the static settings for a Coord Input Service. This should be provided at startup and in the event of degraded functionality, e.g. due to an internal failure.

Parameters
SettingsSettings for Coord Input Service.

◆ ReportCursorPosition()

void M_HidCoordInput::IClient::ReportCursorPosition ( M_Common::PixelPoint2DType const &  Point,
bool  IsRemoved 
)
virtual

Contains the current position generated from the input, such as a mouse cursor, or the coordinates when performing a dragging action on a touch screen.

Parameters
PointThe current X/Y position in pixels.
IsRemovedIndicates if cursor position is no longer available (true) or is available (false).