#include <phidget.h>
Public Types | |
enum | SensingMode { EVENT = 0, POLLING = 1 } |
Public Member Functions | |
auto | close (int serial_number)-> int |
auto getDeviceType()-> std auto getDeviceName()-> std auto getDeviceLabel()-> std auto getLibraryVersion()-> std auto | getDeviceSerialNumber ()-> int |
auto | getDeviceVersion ()-> int |
auto | open (int serial_number)-> int |
virtual auto | update ()-> void |
auto | waitForAttachment (int timeout)-> int |
~Phidget () | |
Protected Member Functions | |
virtual auto | attachHandler ()-> int |
virtual auto | detachHandler ()-> int |
Phidget (CPhidgetHandle *handle, SensingMode mode) | |
Protected Attributes | |
int | _last_error |
SensingMode | _sensMode |
int | _serialNumber |
Static Protected Attributes | |
CPhidgetHandle * | _phiHandle |
enum Phidget::SensingMode |
Definition at line 28 of file phidget.cpp.
Phidget::Phidget | ( | CPhidgetHandle * | handle, |
SensingMode | mode | ||
) | [protected] |
Definition at line 23 of file phidget.cpp.
auto Phidget::attachHandler | ( | ) | [protected, virtual] |
Reimplemented in PhidgetIKROS, and PhidgetIK.
Definition at line 104 of file phidget.cpp.
auto Phidget::close | ( | int | serial_number | ) |
Definition at line 39 of file phidget.cpp.
auto Phidget::detachHandler | ( | ) | [protected, virtual] |
Reimplemented in PhidgetIKROS, and PhidgetIK.
Definition at line 110 of file phidget.cpp.
auto Phidget::getDeviceSerialNumber | ( | ) |
Definition at line 81 of file phidget.cpp.
auto Phidget::getDeviceVersion | ( | ) |
Definition at line 89 of file phidget.cpp.
auto Phidget::open | ( | int | serial_number | ) |
Definition at line 34 of file phidget.cpp.
auto Phidget::update | ( | ) | [virtual] |
Reimplemented in PhidgetIKROS, and PhidgetIK.
Definition at line 116 of file phidget.cpp.
auto Phidget::waitForAttachment | ( | int | timeout | ) |
Definition at line 44 of file phidget.cpp.
int Phidget::_last_error [protected] |
CPhidgetHandle* Phidget::_phiHandle [static, protected] |
SensingMode Phidget::_sensMode [protected] |
int Phidget::_serialNumber [protected] |