vrpn 07.35
Virtual Reality Peripheral Network
Loading...
Searching...
No Matches
vrpn_HidProductAcceptor Class Reference

Accepts any device with the given vendor and product IDs. More...

#include <vrpn_HumanInterface.h>

Inheritance diagram for vrpn_HidProductAcceptor:
Collaboration diagram for vrpn_HidProductAcceptor:

Public Member Functions

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

Detailed Description

Accepts any device with the given vendor and product IDs.

Definition at line 217 of file vrpn_HumanInterface.h.

Constructor & Destructor Documentation

◆ vrpn_HidProductAcceptor()

vrpn_HidProductAcceptor::vrpn_HidProductAcceptor ( vrpn_uint16  vendorId,
vrpn_uint16  productId 
)
inline

Definition at line 219 of file vrpn_HumanInterface.h.

Member Function Documentation

◆ accept()

bool vrpn_HidProductAcceptor::accept ( const vrpn_HIDDEVINFO device)
inlinevirtual

Implements vrpn_HidAcceptor.

Definition at line 224 of file vrpn_HumanInterface.h.

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


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