Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes
Phidget Class Reference

#include <phidget.h>

Inheritance diagram for Phidget:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

Definition at line 66 of file phidget.h.


Member Enumeration Documentation

Enumerator:
EVENT 
POLLING 

Definition at line 69 of file phidget.h.


Constructor & Destructor Documentation

Definition at line 71 of file phidget.cpp.

Phidget::Phidget ( CPhidgetHandle *  handle,
SensingMode  mode 
) [protected]

Definition at line 66 of file phidget.cpp.


Member Function Documentation

auto Phidget::attachHandler ( ) [protected, virtual]

Reimplemented in PhidgetIKROS, and PhidgetIK.

Definition at line 147 of file phidget.cpp.

auto Phidget::close ( int  serial_number)

Definition at line 82 of file phidget.cpp.

auto Phidget::detachHandler ( ) [protected, virtual]

Reimplemented in PhidgetIKROS, and PhidgetIK.

Definition at line 153 of file phidget.cpp.

Definition at line 124 of file phidget.cpp.

Definition at line 132 of file phidget.cpp.

auto Phidget::open ( int  serial_number)

Definition at line 77 of file phidget.cpp.

auto Phidget::update ( void  ) [virtual]

Reimplemented in PhidgetIKROS, and PhidgetIK.

Definition at line 159 of file phidget.cpp.

auto Phidget::waitForAttachment ( int  timeout)

Definition at line 87 of file phidget.cpp.


Member Data Documentation

int Phidget::_last_error [protected]

Definition at line 90 of file phidget.h.

CPhidgetHandle* Phidget::_phiHandle [static, protected]

Definition at line 85 of file phidget.h.

Definition at line 91 of file phidget.h.

int Phidget::_serialNumber [protected]

Definition at line 89 of file phidget.h.


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


cob_phidgets
Author(s): Florian Weisshardt, Benjamin Maidel
autogenerated on Sun Oct 5 2014 23:10:20