Public Member Functions | Protected Member Functions | Static Private Member Functions | Private Attributes | List of all members
phidgets::IK Class Reference

#include <ik.h>

Inheritance diagram for phidgets::IK:
Inheritance graph
[legend]

Public Member Functions

int getInputCount () const
 
int getOutputCount () const
 
int getSensorCount () const
 
int getSensorRawValue (int index) const
 
 IK ()
 
bool setOutputState (int index, bool state) const
 
virtual ~IK ()
 
- Public Member Functions inherited from phidgets::Phidget
int close ()
 Close the connection to the phidget. More...
 
std::string getDeviceLabel ()
 Get the device label string. More...
 
std::string getDeviceName ()
 Get the device name string. More...
 
int getDeviceSerialNumber ()
 Get the Phidget's serial number. More...
 
std::string getDeviceType ()
 Get the device type string. More...
 
int getDeviceVersion ()
 Get the Phidget's version. More...
 
std::string getLibraryVersion ()
 Get the library version string. More...
 
int openAndWaitForAttachment (int serial_number, int timeout)
 Open a connection to a Phidget. More...
 
 Phidget ()
 
virtual ~Phidget ()
 

Protected Member Functions

virtual void inputHandler (int index, int inputValue)
 
virtual void sensorHandler (int index, int sensorValue)
 
- Protected Member Functions inherited from phidgets::Phidget
virtual void attachHandler ()
 
virtual void detachHandler ()
 
virtual void errorHandler (int error)
 
void init (CPhidgetHandle handle)
 
void registerHandlers ()
 

Static Private Member Functions

static int InputHandler (CPhidgetInterfaceKitHandle ik, void *userptr, int index, int inputValue)
 
static int SensorHandler (CPhidgetInterfaceKitHandle ik, void *userptr, int index, int sensorValue)
 

Private Attributes

CPhidgetInterfaceKitHandle ik_handle_
 

Additional Inherited Members

- Static Public Member Functions inherited from phidgets::Phidget
static std::string getErrorDescription (int errorCode)
 Lookup the string for a CPhidget Error Code. More...
 

Detailed Description

Definition at line 8 of file ik.h.

Constructor & Destructor Documentation

phidgets::IK::IK ( )

Definition at line 5 of file ik.cpp.

phidgets::IK::~IK ( )
virtual

Definition at line 23 of file ik.cpp.

Member Function Documentation

int phidgets::IK::getInputCount ( ) const

Definition at line 27 of file ik.cpp.

int phidgets::IK::getOutputCount ( ) const

Definition at line 34 of file ik.cpp.

int phidgets::IK::getSensorCount ( ) const

Definition at line 41 of file ik.cpp.

int phidgets::IK::getSensorRawValue ( int  index) const

Definition at line 48 of file ik.cpp.

void phidgets::IK::inputHandler ( int  index,
int  inputValue 
)
protectedvirtual

Definition at line 79 of file ik.cpp.

int phidgets::IK::InputHandler ( CPhidgetInterfaceKitHandle  ik,
void *  userptr,
int  index,
int  inputValue 
)
staticprivate

Definition at line 72 of file ik.cpp.

void phidgets::IK::sensorHandler ( int  index,
int  sensorValue 
)
protectedvirtual

Definition at line 67 of file ik.cpp.

int phidgets::IK::SensorHandler ( CPhidgetInterfaceKitHandle  ik,
void *  userptr,
int  index,
int  sensorValue 
)
staticprivate

Definition at line 60 of file ik.cpp.

bool phidgets::IK::setOutputState ( int  index,
bool  state 
) const

Definition at line 55 of file ik.cpp.

Member Data Documentation

CPhidgetInterfaceKitHandle phidgets::IK::ik_handle_
private

Definition at line 26 of file ik.h.


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


phidgets_api
Author(s): Tully Foote, Ivan Dryanovski
autogenerated on Fri Apr 9 2021 02:56:02