FreeStick  0.3
Cross Platform Open Sorce Joystick Lib
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
freestick::FSUSBDevice Class Reference

#include <FSUSBDevice.h>

Inheritance diagram for freestick::FSUSBDevice:
Inheritance graph
[legend]

Public Member Functions

 FSUSBDevice (idNumber id, vendorIDType vendorID, productIDType productID)
 
virtual FSDeviceType getClassType () const
 
const std::string getVendorFriendlyName () const
 
const std::string getProductFrendlyName () const
 
vendorIDType getProductID () const
 
productIDType getVendorID () const
 
- Public Member Functions inherited from freestick::FSBaseDevice
virtual idNumber getJoystickID () const
 
const std::string & GetFrendlyName () const
 
 FSBaseDevice (idNumber id)
 
virtual ~FSBaseDevice ()
 

Static Public Member Functions

static std::string getFrendlyVendorNameFromID (vendorIDType vendorID)
 
static std::string getFrendlyProductNameFromID (vendorIDType vendorID, productIDType productID)
 

Protected Member Functions

 FSUSBDevice ()
 
- Protected Member Functions inherited from freestick::FSBaseDevice
 FSBaseDevice ()
 
- Protected Member Functions inherited from freestick::IFSDevice
 IFSDevice ()
 
virtual ~IFSDevice ()
 

Protected Attributes

vendorIDType _vendorID
 
std::string _vendorIDFriendlyName
 
productIDType _productID
 
std::string _productIDFriendlyName
 
- Protected Attributes inherited from freestick::FSBaseDevice
std::string _friendlyName
 

Constructor & Destructor Documentation

◆ FSUSBDevice() [1/2]

FSUSBDevice::FSUSBDevice ( )
protected

◆ FSUSBDevice() [2/2]

FSUSBDevice::FSUSBDevice ( idNumber  id,
vendorIDType  vendorID,
productIDType  productID 
)

Member Function Documentation

◆ getClassType()

virtual FSDeviceType freestick::FSUSBDevice::getClassType ( ) const
inlinevirtual

◆ getFrendlyProductNameFromID()

std::string FSUSBDevice::getFrendlyProductNameFromID ( vendorIDType  vendorID,
productIDType  productID 
)
static

◆ getFrendlyVendorNameFromID()

std::string FSUSBDevice::getFrendlyVendorNameFromID ( vendorIDType  vendorID)
static
Todo:
make this const

◆ getProductFrendlyName()

const std::string freestick::FSUSBDevice::getProductFrendlyName ( ) const
inline

◆ getProductID()

vendorIDType freestick::FSUSBDevice::getProductID ( ) const
inline

◆ getVendorFriendlyName()

const std::string freestick::FSUSBDevice::getVendorFriendlyName ( ) const
inline

◆ getVendorID()

productIDType freestick::FSUSBDevice::getVendorID ( ) const
inline

Member Data Documentation

◆ _productID

productIDType freestick::FSUSBDevice::_productID
protected

◆ _productIDFriendlyName

std::string freestick::FSUSBDevice::_productIDFriendlyName
protected

◆ _vendorID

vendorIDType freestick::FSUSBDevice::_vendorID
protected

◆ _vendorIDFriendlyName

std::string freestick::FSUSBDevice::_vendorIDFriendlyName
protected

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