Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QtInputSupport::DeviceHandlerList< Handler > Class Template Reference

#include <devicehandlerlist_p.h>

+ Collaboration diagram for QtInputSupport::DeviceHandlerList< Handler >:

Classes

struct  Device
 

Public Member Functions

void add (const QString &deviceNode, std::unique_ptr< Handler > handler)
 
bool remove (const QString &deviceNode)
 
int count () const noexcept
 
std::vector< Device >::const_iterator begin () const noexcept
 
std::vector< Device >::const_iterator end () const noexcept
 

Detailed Description

template<typename Handler>
class QtInputSupport::DeviceHandlerList< Handler >

Definition at line 27 of file devicehandlerlist_p.h.

Member Function Documentation

◆ add()

template<typename Handler >
void QtInputSupport::DeviceHandlerList< Handler >::add ( const QString & deviceNode,
std::unique_ptr< Handler > handler )
inline

Definition at line 34 of file devicehandlerlist_p.h.

Referenced by QEvdevTabletManager::addDevice(), QEvdevTouchManager::addDevice(), QEvdevKeyboardManager::addKeyboard(), and QEvdevMouseManager::addMouse().

+ Here is the caller graph for this function:

◆ begin()

template<typename Handler >
std::vector< Device >::const_iterator QtInputSupport::DeviceHandlerList< Handler >::begin ( ) const
inlinenoexcept

Definition at line 51 of file devicehandlerlist_p.h.

◆ count()

template<typename Handler >
int QtInputSupport::DeviceHandlerList< Handler >::count ( ) const
inlinenoexcept

Definition at line 49 of file devicehandlerlist_p.h.

Referenced by QEvdevTouchManager::updateInputDeviceCount().

+ Here is the caller graph for this function:

◆ end()

template<typename Handler >
std::vector< Device >::const_iterator QtInputSupport::DeviceHandlerList< Handler >::end ( ) const
inlinenoexcept

Definition at line 52 of file devicehandlerlist_p.h.

◆ remove()

template<typename Handler >
bool QtInputSupport::DeviceHandlerList< Handler >::remove ( const QString & deviceNode)
inline

Definition at line 39 of file devicehandlerlist_p.h.

References QSet< T >::cend(), d, and it.

Referenced by QEvdevTabletManager::removeDevice(), QEvdevTouchManager::removeDevice(), QEvdevKeyboardManager::removeKeyboard(), and QEvdevMouseManager::removeMouse().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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