neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neogfx::hid_device< HidInterface > Class Template Reference

#include <hid_device.hpp>

Inheritance diagram for neogfx::hid_device< HidInterface >:
neolib::reference_counted< Base, DeallocateOnRelease >

Public Types

typedef HidInterface abstract_type
 

Public Member Functions

 define_declared_event (Enabled, enabled) define_declared_event(Disabled
 
 hid_device (hid_device_type aType, hid_device_class aClass, hid_device_subclass aSubclass, const hid_device_uuid &aProductId={}, const hid_device_uuid &aInstanceId={})
 
hid_device_type device_type () const override
 
hid_device_class device_class () const override
 
hid_device_subclass device_subclass () const override
 
hid_device_uuid product_id () const override
 
hid_device_uuid instance_id () const override
 
bool is_enabled () const override
 
void enable () override
 
void disable () override
 
const i_stringproduct_name () const override
 
- Public Member Functions inherited from neolib::reference_counted< Base, DeallocateOnRelease >
 reference_counted () noexcept
 
 reference_counted (const reference_counted &aOther) noexcept
 
 ~reference_counted ()
 
reference_countedoperator= (const reference_counted &)
 
void add_ref () const noexcept override
 
void release () const override
 
int32_t use_count () const noexcept override
 
const base_type * release_and_take_ownership () const override
 
base_type * release_and_take_ownership () override
 
void pin () const noexcept override
 
void unpin () const override
 
i_ref_control_blockcontrol_block () override
 

Detailed Description

template<typename HidInterface>
class neogfx::hid_device< HidInterface >

Definition at line 30 of file hid_device.hpp.

Member Typedef Documentation

◆ abstract_type

template<typename HidInterface >
typedef HidInterface neogfx::hid_device< HidInterface >::abstract_type

Definition at line 36 of file hid_device.hpp.

Constructor & Destructor Documentation

◆ hid_device()

template<typename HidInterface >
neogfx::hid_device< HidInterface >::hid_device ( hid_device_type  aType,
hid_device_class  aClass,
hid_device_subclass  aSubclass,
const hid_device_uuid aProductId = {},
const hid_device_uuid aInstanceId = {} 
)
inline

Definition at line 38 of file hid_device.hpp.

Member Function Documentation

◆ define_declared_event()

template<typename HidInterface >
neogfx::hid_device< HidInterface >::define_declared_event ( Enabled  ,
enabled   
)

◆ device_class()

template<typename HidInterface >
hid_device_class neogfx::hid_device< HidInterface >::device_class ( ) const
inlineoverride

Definition at line 52 of file hid_device.hpp.

◆ device_subclass()

template<typename HidInterface >
hid_device_subclass neogfx::hid_device< HidInterface >::device_subclass ( ) const
inlineoverride

Definition at line 56 of file hid_device.hpp.

◆ device_type()

template<typename HidInterface >
hid_device_type neogfx::hid_device< HidInterface >::device_type ( ) const
inlineoverride

Definition at line 48 of file hid_device.hpp.

◆ disable()

template<typename HidInterface >
void neogfx::hid_device< HidInterface >::disable ( )
inlineoverride

Definition at line 80 of file hid_device.hpp.

◆ enable()

template<typename HidInterface >
void neogfx::hid_device< HidInterface >::enable ( )
inlineoverride

Definition at line 72 of file hid_device.hpp.

◆ instance_id()

template<typename HidInterface >
hid_device_uuid neogfx::hid_device< HidInterface >::instance_id ( ) const
inlineoverride

Definition at line 64 of file hid_device.hpp.

◆ is_enabled()

template<typename HidInterface >
bool neogfx::hid_device< HidInterface >::is_enabled ( ) const
inlineoverride

Definition at line 68 of file hid_device.hpp.

◆ product_id()

template<typename HidInterface >
hid_device_uuid neogfx::hid_device< HidInterface >::product_id ( ) const
inlineoverride

Definition at line 60 of file hid_device.hpp.

◆ product_name()

template<typename HidInterface >
const i_string & neogfx::hid_device< HidInterface >::product_name ( ) const
inlineoverride

Definition at line 89 of file hid_device.hpp.


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