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

#include <hid_devices.hpp>

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

Public Types

typedef neolib::vector< neolib::ref_ptr< i_hid_device > > device_list
 
- Public Types inherited from neogfx::i_hid_devices
typedef neolib::i_vector< i_ref_ptr< i_hid_device > > device_list
 

Public Member Functions

 define_declared_event (DeviceConnected, device_connected, i_hid_device &) define_declared_event(DeviceDisconnected
 
 hid_devices ()
 
 ~hid_devices ()
 
void enumerate_devices () override
 
const device_listdevices () const override
 
void add_device (i_hid_device &aDevice) override
 
void remove_device (i_hid_device &aDevice) override
 
const i_stringproduct_name (hid_device_class aClass, const hid_device_uuid &aProductId) const override
 
- Public Member Functions inherited from neogfx::i_hid_devices
 declare_event (device_connected, i_hid_device &) declare_event(device_disconnected
 
virtual ~i_hid_devices ()=default
 
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
 
template<typename Device >
ref_ptr< Device > add_device ()
 
- Public Member Functions inherited from neolib::services::i_service
virtual ~i_service ()=default
 

Public Attributes

 device_disconnected
 

Additional Inherited Members

- Static Public Member Functions inherited from neogfx::i_hid_devices
static uuid const & iid ()
 

Detailed Description

Definition at line 29 of file hid_devices.hpp.

Member Typedef Documentation

◆ device_list

Constructor & Destructor Documentation

◆ hid_devices()

neogfx::hid_devices::hid_devices ( )

◆ ~hid_devices()

neogfx::hid_devices::~hid_devices ( )

Member Function Documentation

◆ add_device()

void neogfx::hid_devices::add_device ( i_hid_device aDevice)
overridevirtual

Implements neogfx::i_hid_devices.

◆ define_declared_event()

neogfx::hid_devices::define_declared_event ( DeviceConnected  ,
device_connected  ,
i_hid_device  
)

◆ devices()

const device_list & neogfx::hid_devices::devices ( ) const
overridevirtual

Implements neogfx::i_hid_devices.

◆ enumerate_devices()

void neogfx::hid_devices::enumerate_devices ( )
overridevirtual

Implements neogfx::i_hid_devices.

◆ product_name()

const i_string & neogfx::hid_devices::product_name ( hid_device_class  aClass,
const hid_device_uuid aProductId 
) const
overridevirtual

Implements neogfx::i_hid_devices.

◆ remove_device()

void neogfx::hid_devices::remove_device ( i_hid_device aDevice)
overridevirtual

Implements neogfx::i_hid_devices.

Member Data Documentation

◆ device_disconnected

neogfx::hid_devices::device_disconnected

Definition at line 33 of file hid_devices.hpp.


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