Guiliani  Version 2.6 revision 7293 (documentation build 12)
CGUIInputWayland Class Reference

The implementation of the Input Wrapper for Linux using Wayland. More...

#include <GUIInputWayland.h>

Inheritance diagram for CGUIInputWayland:

Classes

struct  ClientState_t
 
struct  PointerEvent_t
 pointer event More...
 
struct  TouchEvent_t
 touch event More...
 
struct  TouchPoint_t
 touch point More...
 

Public Types

enum  PointerEventMask_t {
  POINTER_EVENT_ENTER = 1 << 0 , POINTER_EVENT_LEAVE = 1 << 1 , POINTER_EVENT_MOTION = 1 << 2 , POINTER_EVENT_BUTTON = 1 << 3 ,
  POINTER_EVENT_AXIS = 1 << 4 , POINTER_EVENT_AXIS_SOURCE = 1 << 5 , POINTER_EVENT_AXIS_STOP = 1 << 6 , POINTER_EVENT_AXIS_DISCRETE = 1 << 7
}
 mask for pointer events
 
enum  TouchEventMask_t {
  TOUCH_EVENT_DOWN = 1 << 0 , TOUCH_EVENT_UP = 1 << 1 , TOUCH_EVENT_MOTION = 1 << 2 , TOUCH_EVENT_CANCEL = 1 << 3 ,
  TOUCH_EVENT_SHAPE = 1 << 4 , TOUCH_EVENT_ORIENTATION = 1 << 5
}
 mask for touch events
 
- Public Types inherited from CGUIInputMedia
enum  AcquisitionType_t { Polling , Callback }
 how events are collected
 
enum  Rotation_t { ROTATION_0 , ROTATION_90 , ROTATION_180 , ROTATION_270 }
 rotation of input-device
 

Public Member Functions

virtual void PollEvent ()
 
virtual void StopIdle ()
 
- Public Member Functions inherited from CGUIInputMedia
void AddEvent (CGUIEvent *pkEvent)
 
eC_Bool GetDebugMode () const
 
CGUIEventGetEvent (eC_UInt uiIdleTime)
 
eC_UInt GetMaxEventThreshold () const
 
eC_UInt GetMinEventThreshold () const
 
virtual eC_Bool GetMulitpleTouches () const
 
virtual void GetOffset (eC_Int &riOffsetX, eC_Int &riOffsetY) const
 
Rotation_t GetRotation () const
 
virtual void GetSize (eC_Int &riSizeX, eC_Int &riSizeY) const
 
eC_UInt GetSleepInterval () const
 
virtual void PollEvent ()
 
CGUIEventRetrieveEvent ()
 
void SetDebugMode (const eC_Bool &bDebugMode)
 
void SetMaxEventThreshold (const eC_UInt &uiMaxEventThreshold)
 
void SetMinEventThreshold (const eC_UInt &uiMinEventThreshold)
 
virtual void SetMultipleTouches (const eC_Bool &bMultipleTouches)
 
virtual void SetOffset (const eC_Int &iOffsetX, const eC_Int &iOffsetY)
 
void SetRotation (const Rotation_t &eRotation)
 
virtual void SetSize (const eC_Int &iSizeX, const eC_Int &iSizeY)
 
void SetSleepInterval (const eC_UInt &uiInterval)
 
virtual void StopIdle ()
 

Static Public Member Functions

static void CreateInstance (void *handle)
 
- Static Public Member Functions inherited from CGUIInputMedia
static void DeleteInstance ()
 

Protected Member Functions

 CGUIInputWayland (void *handle)
 
- Protected Member Functions inherited from CGUIInputMedia
 CGUIInputMedia (const eC_Bool &bQueuedEvents=false, const AcquisitionType_t &eType=Polling)
 
virtual ~CGUIInputMedia ()
 

Additional Inherited Members

- Protected Attributes inherited from CGUIInputMedia
eC_Bool m_bDebugMode
 debug-mode for input-device
 
eC_Bool m_bMultipleTouches
 supports multiple touches
 
eC_Bool m_bStopIdle
 stop idle when waiting for events
 
Rotation_t m_eRotation
 current rotation used for input-device
 
eC_Int m_iOffsetX
 x-offset
 
eC_Int m_iOffsetY
 y-offset
 
eC_Int m_iSizeX
 width
 
eC_Int m_iSizeY
 height
 
eC_UInt m_uiIdleTime
 maximum time to spend
 
eC_UInt m_uiSleepInterval
 sleep interval
 

Detailed Description

The implementation of the Input Wrapper for Linux using Wayland.

Constructor & Destructor Documentation

◆ CGUIInputWayland()

CGUIInputWayland::CGUIInputWayland ( void *  handle)
protected

constructor

Parameters
handle

Member Function Documentation

◆ CreateInstance()

static void CGUIInputWayland::CreateInstance ( void *  handle)
static

create instance

Parameters
handle

◆ PollEvent()

virtual void CGUIInputWayland::PollEvent ( )
virtual

this method will be called if the input device uses polling to receive events

Reimplemented from CGUIInputMedia.

◆ StopIdle()

virtual void CGUIInputWayland::StopIdle ( )
virtual

Forces the input media to quit idling immediately. Called by the framework if the input media is requested to stop idling immediately. Classes derived from GUIInputMedia should implement StopIdle in such a way, that it interrupts any idling/sleeping code in GetEvent(). virtual is needed if sub-classes need to do extra stuff

Reimplemented from CGUIInputMedia.


The documentation for this class was generated from the following file: