neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neogfx::i_hid_devices Class Referenceabstract

#include <i_hid_devices.hpp>

Inheritance diagram for neogfx::i_hid_devices:
neolib::services::i_service neogfx::hid_devices

Public Types

typedef neolib::i_vector< i_ref_ptr< i_hid_device > > device_list
 

Public Member Functions

 declare_event (device_connected, i_hid_device &) declare_event(device_disconnected
 
virtual ~i_hid_devices ()=default
 
virtual void enumerate_devices ()=0
 
virtual const device_listdevices () const =0
 
virtual void add_device (i_hid_device &aDevice)=0
 
virtual void remove_device (i_hid_device &aDevice)=0
 
virtual hid_device_class device_class (const hid_device_class_uuid &aClassUuid) const =0
 
virtual hid_device_subclass device_subclass (const hid_device_subclass_uuid &aClassUuid) const =0
 
virtual const i_stringproduct_name (hid_device_class aClass, const hid_device_uuid &aProductId) const =0
 
template<typename Device >
ref_ptr< Device > add_device ()
 
- Public Member Functions inherited from neolib::services::i_service
virtual ~i_service ()=default
 

Static Public Member Functions

static uuid const & iid ()
 

Detailed Description

Definition at line 31 of file i_hid_devices.hpp.

Member Typedef Documentation

◆ device_list

Constructor & Destructor Documentation

◆ ~i_hid_devices()

virtual neogfx::i_hid_devices::~i_hid_devices ( )
virtualdefault

Member Function Documentation

◆ add_device() [1/2]

template<typename Device >
ref_ptr< Device > neogfx::i_hid_devices::add_device ( )
inline

Definition at line 51 of file i_hid_devices.hpp.

◆ add_device() [2/2]

virtual void neogfx::i_hid_devices::add_device ( i_hid_device aDevice)
pure virtual

Implemented in neogfx::hid_devices.

◆ declare_event()

neogfx::i_hid_devices::declare_event ( device_connected  ,
i_hid_device  
)

◆ device_class()

virtual hid_device_class neogfx::i_hid_devices::device_class ( const hid_device_class_uuid aClassUuid) const
pure virtual

◆ device_subclass()

virtual hid_device_subclass neogfx::i_hid_devices::device_subclass ( const hid_device_subclass_uuid aClassUuid) const
pure virtual

◆ devices()

virtual const device_list & neogfx::i_hid_devices::devices ( ) const
pure virtual

Implemented in neogfx::hid_devices.

◆ enumerate_devices()

virtual void neogfx::i_hid_devices::enumerate_devices ( )
pure virtual

Implemented in neogfx::hid_devices.

◆ iid()

static uuid const & neogfx::i_hid_devices::iid ( )
inlinestatic

Definition at line 58 of file i_hid_devices.hpp.

◆ product_name()

virtual const i_string & neogfx::i_hid_devices::product_name ( hid_device_class  aClass,
const hid_device_uuid aProductId 
) const
pure virtual

Implemented in neogfx::hid_devices.

◆ remove_device()

virtual void neogfx::i_hid_devices::remove_device ( i_hid_device aDevice)
pure virtual

Implemented in neogfx::hid_devices.


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