neoGFX
Cross-platform C++ app/game engine
|
#include <hid_devices.hpp>
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_list & | devices () const override |
void | add_device (i_hid_device &aDevice) override |
void | remove_device (i_hid_device &aDevice) override |
const i_string & | product_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 () |
Definition at line 29 of file hid_devices.hpp.
Definition at line 35 of file hid_devices.hpp.
neogfx::hid_devices::hid_devices | ( | ) |
neogfx::hid_devices::~hid_devices | ( | ) |
|
overridevirtual |
Implements neogfx::i_hid_devices.
neogfx::hid_devices::define_declared_event | ( | DeviceConnected | , |
device_connected | , | ||
i_hid_device & | |||
) |
|
overridevirtual |
Implements neogfx::i_hid_devices.
|
overridevirtual |
Implements neogfx::i_hid_devices.
|
overridevirtual |
Implements neogfx::i_hid_devices.
|
overridevirtual |
Implements neogfx::i_hid_devices.
neogfx::hid_devices::device_disconnected |
Definition at line 33 of file hid_devices.hpp.