AnnotatorComm::FTD2XX::FTD2XXDeviceInfo Class Reference

#include <FTD2XXDeviceInfo.h>

List of all members.

Public Member Functions

 FTD2XXDeviceInfo ()
 FTD2XXDeviceInfo (bool isOpen, int type, int id, string &serialNumber, string &description)
bool isOpen () const
int getType () const
int getId () const
int getVID () const
int getPID () const
string getSerialNumber () const
string getDescription () const
string toString () const


Detailed Description

FTD2XX Device Enumeration Information

Definition at line 31 of file FTD2XXDeviceInfo.h.


Constructor & Destructor Documentation

AnnotatorComm::FTD2XX::FTD2XXDeviceInfo::FTD2XXDeviceInfo (  ) 

Construct a FTD2XXDeviceInfo.

AnnotatorComm::FTD2XX::FTD2XXDeviceInfo::FTD2XXDeviceInfo ( bool  isOpen,
int  type,
int  id,
string &  serialNumber,
string &  description 
)

Construct a FTD2XXDeviceInfo.

Parameters:
isOpen device open/closed flag
type device type
id device VID/PID - VID is the upper two bytes, PID is the lower two bytes
serialNumber device serial number
description device description


Member Function Documentation

string AnnotatorComm::FTD2XX::FTD2XXDeviceInfo::getDescription (  )  const

Get the device's description.

Returns:
description

int AnnotatorComm::FTD2XX::FTD2XXDeviceInfo::getId (  )  const

Get the device VID/PID. The VID is the upper two bytes, and the PID is the lower two bytes.

Returns:
device ID

int AnnotatorComm::FTD2XX::FTD2XXDeviceInfo::getPID (  )  const

Get the device's Product ID (PID).

Returns:
PID

string AnnotatorComm::FTD2XX::FTD2XXDeviceInfo::getSerialNumber (  )  const

Get the device's serial number.

Returns:
serial number

int AnnotatorComm::FTD2XX::FTD2XXDeviceInfo::getType (  )  const

Get the device type.

Returns:
device type

int AnnotatorComm::FTD2XX::FTD2XXDeviceInfo::getVID (  )  const

Get the device's Vendor ID (VID).

Returns:
VID

bool AnnotatorComm::FTD2XX::FTD2XXDeviceInfo::isOpen (  )  const

Check is the device was open when this object was constructed.

Returns:
device open/closed flag

string AnnotatorComm::FTD2XX::FTD2XXDeviceInfo::toString (  )  const

Get a String representation of the device.

Returns:
String representation of the device


The documentation for this class was generated from the following file:
Generated on Thu Jul 27 11:05:04 2006 for libAnnotatorComm by  doxygen 1.4.7