vrpn  07.33
Virtual Reality Peripheral Network
vrpn_HidProductMaskAcceptor Class Reference

HID acceptor subclass used by vrpn_Analog_5dtUSB since the bits of the product ID for these devices describe the device in a useful way. More...

#include <vrpn_Analog_5dtUSB.h>

Inheritance diagram for vrpn_HidProductMaskAcceptor:
Collaboration diagram for vrpn_HidProductMaskAcceptor:

Public Member Functions

 vrpn_HidProductMaskAcceptor (vrpn_uint16 vendorId, vrpn_uint16 productMask=0x0000, vrpn_uint16 desiredProduct=0x0000)
 
 ~vrpn_HidProductMaskAcceptor ()
 
bool accept (const vrpn_HIDDEVINFO &device)
 
- Public Member Functions inherited from vrpn_HidAcceptor
virtual ~vrpn_HidAcceptor ()
 
virtual void reset ()
 

Detailed Description

HID acceptor subclass used by vrpn_Analog_5dtUSB since the bits of the product ID for these devices describe the device in a useful way.

Definition at line 129 of file vrpn_Analog_5dtUSB.h.

Constructor & Destructor Documentation

◆ vrpn_HidProductMaskAcceptor()

vrpn_HidProductMaskAcceptor::vrpn_HidProductMaskAcceptor ( vrpn_uint16  vendorId,
vrpn_uint16  productMask = 0x0000,
vrpn_uint16  desiredProduct = 0x0000 
)
inline

Definition at line 131 of file vrpn_Analog_5dtUSB.h.

◆ ~vrpn_HidProductMaskAcceptor()

vrpn_HidProductMaskAcceptor::~vrpn_HidProductMaskAcceptor ( )
inline

Definition at line 136 of file vrpn_Analog_5dtUSB.h.

Member Function Documentation

◆ accept()

bool vrpn_HidProductMaskAcceptor::accept ( const vrpn_HIDDEVINFO device)
inlinevirtual

Implements vrpn_HidAcceptor.

Definition at line 138 of file vrpn_Analog_5dtUSB.h.

References vrpn_HIDDEVINFO::product, and vrpn_HIDDEVINFO::vendor.


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