#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 23 of file phidgetik.h.
PhidgetIK::PhidgetIK | ( | SensingMode | mode | ) |
Definition at line 20 of file phidgetik.cpp.
Definition at line 40 of file phidgetik.cpp.
auto PhidgetIK::attachDelegate | ( | CPhidgetHandle | phid, |
void * | userptr | ||
) | [static, private] |
Definition at line 247 of file phidgetik.cpp.
auto PhidgetIK::attachHandler | ( | ) | [protected, virtual] |
Reimplemented from Phidget.
Reimplemented in PhidgetIKROS.
Definition at line 187 of file phidgetik.cpp.
auto PhidgetIK::detachHandler | ( | ) | [protected, virtual] |
Reimplemented from Phidget.
Reimplemented in PhidgetIKROS.
Definition at line 221 of file phidgetik.cpp.
auto PhidgetIK::getDataRate | ( | int | index | ) |
Definition at line 150 of file phidgetik.cpp.
auto PhidgetIK::getDataRateMax | ( | int | index | ) |
Definition at line 164 of file phidgetik.cpp.
auto PhidgetIK::getDataRateMin | ( | int | index | ) |
Definition at line 173 of file phidgetik.cpp.
auto PhidgetIK::getError | ( | ) |
Definition at line 182 of file phidgetik.cpp.
auto PhidgetIK::getInputCount | ( | ) |
Definition at line 49 of file phidgetik.cpp.
auto PhidgetIK::getInputState | ( | int | index | ) |
Definition at line 58 of file phidgetik.cpp.
auto PhidgetIK::getOutputCount | ( | ) |
Definition at line 68 of file phidgetik.cpp.
auto PhidgetIK::getOutputState | ( | int | index | ) |
Definition at line 77 of file phidgetik.cpp.
auto PhidgetIK::getRatiometric | ( | ) |
Definition at line 134 of file phidgetik.cpp.
auto PhidgetIK::getSensorChangeTrigger | ( | int | index | ) |
Definition at line 120 of file phidgetik.cpp.
auto PhidgetIK::getSensorCount | ( | ) |
Definition at line 93 of file phidgetik.cpp.
auto PhidgetIK::getSensorRawValue | ( | int | index | ) |
Definition at line 111 of file phidgetik.cpp.
auto PhidgetIK::getSensorValue | ( | int | index | ) |
Definition at line 102 of file phidgetik.cpp.
auto PhidgetIK::init | ( | int | serial_number | ) |
Definition at line 44 of file phidgetik.cpp.
auto PhidgetIK::inputChangeDelegate | ( | CPhidgetInterfaceKitHandle | phid, |
void * | userPtr, | ||
int | index, | ||
int | inputState | ||
) | [static, private] |
Definition at line 252 of file phidgetik.cpp.
auto PhidgetIK::inputChangeHandler | ( | int | index, |
int | inputState | ||
) | [protected, virtual] |
Reimplemented in PhidgetIKROS.
Definition at line 232 of file phidgetik.cpp.
auto PhidgetIK::outputChangeDelegate | ( | CPhidgetInterfaceKitHandle | phid, |
void * | userPtr, | ||
int | index, | ||
int | outputState | ||
) | [static, private] |
Definition at line 258 of file phidgetik.cpp.
auto PhidgetIK::outputChangeHandler | ( | int | index, |
int | outputState | ||
) | [protected, virtual] |
Reimplemented in PhidgetIKROS.
Definition at line 237 of file phidgetik.cpp.
auto PhidgetIK::sensorChangeDelegate | ( | CPhidgetInterfaceKitHandle | phid, |
void * | userPtr, | ||
int | index, | ||
int | sensorValue | ||
) | [static, private] |
Definition at line 264 of file phidgetik.cpp.
auto PhidgetIK::sensorChangeHandler | ( | int | index, |
int | sensorValue | ||
) | [protected, virtual] |
Reimplemented in PhidgetIKROS.
Definition at line 242 of file phidgetik.cpp.
auto PhidgetIK::setDataRate | ( | int | index, |
int | datarate | ||
) |
Definition at line 159 of file phidgetik.cpp.
auto PhidgetIK::setOutputState | ( | int | index, |
int | state | ||
) |
Definition at line 87 of file phidgetik.cpp.
auto PhidgetIK::setRatiometric | ( | int | ratiometric | ) |
Definition at line 144 of file phidgetik.cpp.
auto PhidgetIK::setSensorChangeTrigger | ( | int | index, |
int | trigger | ||
) |
Definition at line 129 of file phidgetik.cpp.
auto PhidgetIK::update | ( | ) | [virtual] |
Reimplemented from Phidget.
Reimplemented in PhidgetIKROS.
Definition at line 270 of file phidgetik.cpp.
CPhidgetInterfaceKitHandle PhidgetIK::_iKitHandle [protected] |
Definition at line 60 of file phidgetik.h.