#include <phidgetik.h>
Public Member Functions | |
auto | getDataRate (int index)-> int |
auto | getDataRateMax (int index)-> int |
auto | getDataRateMin (int index)-> int |
auto | getError ()-> int |
auto | getInputCount ()-> int |
auto | getInputState (int index)-> int |
auto | getOutputCount ()-> int |
auto | getOutputState (int index)-> int |
auto | getRatiometric ()-> int |
auto | getSensorChangeTrigger (int index)-> int |
auto | getSensorCount ()-> int |
auto | getSensorRawValue (int index)-> int |
auto | getSensorValue (int index)-> int |
auto | init (int serial_number)-> int |
PhidgetIK (SensingMode mode) | |
auto | setDataRate (int index, int datarate)-> int |
auto | setOutputState (int index, int state)-> int |
auto | setRatiometric (int ratiometric)-> int |
auto | setSensorChangeTrigger (int index, int trigger)-> int |
virtual auto | update ()-> void |
~PhidgetIK () | |
Protected Member Functions | |
virtual int | attachHandler () |
virtual int | detachHandler () |
virtual int | inputChangeHandler (int index, int inputState) |
virtual int | outputChangeHandler (int index, int outputState) |
virtual int | sensorChangeHandler (int index, int sensorValue) |
Protected Attributes | |
CPhidgetInterfaceKitHandle | _iKitHandle |
Static Private Member Functions | |
static auto | attachDelegate (CPhidgetHandle phid, void *userptr)-> int |
static auto | inputChangeDelegate (CPhidgetInterfaceKitHandle phid, void *userPtr, int index, int inputState)-> int |
static auto | outputChangeDelegate (CPhidgetInterfaceKitHandle phid, void *userPtr, int index, int outputState)-> int |
static auto | sensorChangeDelegate (CPhidgetInterfaceKitHandle phid, void *userPtr, int index, int sensorValue)-> int |
Definition at line 65 of file phidgetik.h.
PhidgetIK::PhidgetIK | ( | SensingMode | mode | ) |
Definition at line 62 of file phidgetik.cpp.
Definition at line 82 of file phidgetik.cpp.
auto PhidgetIK::attachDelegate | ( | CPhidgetHandle | phid, |
void * | userptr | ||
) | [static, private] |
Definition at line 289 of file phidgetik.cpp.
auto PhidgetIK::attachHandler | ( | ) | [protected, virtual] |
Reimplemented from Phidget.
Reimplemented in PhidgetIKROS.
Definition at line 229 of file phidgetik.cpp.
auto PhidgetIK::detachHandler | ( | ) | [protected, virtual] |
Reimplemented from Phidget.
Reimplemented in PhidgetIKROS.
Definition at line 263 of file phidgetik.cpp.
auto PhidgetIK::getDataRate | ( | int | index | ) |
Definition at line 192 of file phidgetik.cpp.
auto PhidgetIK::getDataRateMax | ( | int | index | ) |
Definition at line 206 of file phidgetik.cpp.
auto PhidgetIK::getDataRateMin | ( | int | index | ) |
Definition at line 215 of file phidgetik.cpp.
auto PhidgetIK::getError | ( | ) |
Definition at line 224 of file phidgetik.cpp.
auto PhidgetIK::getInputCount | ( | ) |
Definition at line 91 of file phidgetik.cpp.
auto PhidgetIK::getInputState | ( | int | index | ) |
Definition at line 100 of file phidgetik.cpp.
auto PhidgetIK::getOutputCount | ( | ) |
Definition at line 110 of file phidgetik.cpp.
auto PhidgetIK::getOutputState | ( | int | index | ) |
Definition at line 119 of file phidgetik.cpp.
auto PhidgetIK::getRatiometric | ( | ) |
Definition at line 176 of file phidgetik.cpp.
auto PhidgetIK::getSensorChangeTrigger | ( | int | index | ) |
Definition at line 162 of file phidgetik.cpp.
auto PhidgetIK::getSensorCount | ( | ) |
Definition at line 135 of file phidgetik.cpp.
auto PhidgetIK::getSensorRawValue | ( | int | index | ) |
Definition at line 153 of file phidgetik.cpp.
auto PhidgetIK::getSensorValue | ( | int | index | ) |
Definition at line 144 of file phidgetik.cpp.
auto PhidgetIK::init | ( | int | serial_number | ) |
Definition at line 86 of file phidgetik.cpp.
auto PhidgetIK::inputChangeDelegate | ( | CPhidgetInterfaceKitHandle | phid, |
void * | userPtr, | ||
int | index, | ||
int | inputState | ||
) | [static, private] |
Definition at line 294 of file phidgetik.cpp.
auto PhidgetIK::inputChangeHandler | ( | int | index, |
int | inputState | ||
) | [protected, virtual] |
Reimplemented in PhidgetIKROS.
Definition at line 274 of file phidgetik.cpp.
auto PhidgetIK::outputChangeDelegate | ( | CPhidgetInterfaceKitHandle | phid, |
void * | userPtr, | ||
int | index, | ||
int | outputState | ||
) | [static, private] |
Definition at line 300 of file phidgetik.cpp.
auto PhidgetIK::outputChangeHandler | ( | int | index, |
int | outputState | ||
) | [protected, virtual] |
Reimplemented in PhidgetIKROS.
Definition at line 279 of file phidgetik.cpp.
auto PhidgetIK::sensorChangeDelegate | ( | CPhidgetInterfaceKitHandle | phid, |
void * | userPtr, | ||
int | index, | ||
int | sensorValue | ||
) | [static, private] |
Definition at line 306 of file phidgetik.cpp.
auto PhidgetIK::sensorChangeHandler | ( | int | index, |
int | sensorValue | ||
) | [protected, virtual] |
Reimplemented in PhidgetIKROS.
Definition at line 284 of file phidgetik.cpp.
auto PhidgetIK::setDataRate | ( | int | index, |
int | datarate | ||
) |
Definition at line 201 of file phidgetik.cpp.
auto PhidgetIK::setOutputState | ( | int | index, |
int | state | ||
) |
Definition at line 129 of file phidgetik.cpp.
auto PhidgetIK::setRatiometric | ( | int | ratiometric | ) |
Definition at line 186 of file phidgetik.cpp.
auto PhidgetIK::setSensorChangeTrigger | ( | int | index, |
int | trigger | ||
) |
Definition at line 171 of file phidgetik.cpp.
auto PhidgetIK::update | ( | ) | [virtual] |
Reimplemented from Phidget.
Reimplemented in PhidgetIKROS.
Definition at line 312 of file phidgetik.cpp.
CPhidgetInterfaceKitHandle PhidgetIK::_iKitHandle [protected] |
Definition at line 102 of file phidgetik.h.