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

#include <ir.h>

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

Public Member Functions

 IR ()
 
virtual ~IR ()
 
- 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 codeHandler (unsigned char *data, int dataLength, int bitCount, int repeat)
 
- 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 CodeHandler (CPhidgetIRHandle ir, void *userPtr, unsigned char *data, int dataLength, int bitCount, int repeat)
 

Private Attributes

CPhidgetIRHandle ir_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 ir.h.

Constructor & Destructor Documentation

phidgets::IR::IR ( )

Definition at line 7 of file ir.cpp.

phidgets::IR::~IR ( )
virtual

Definition at line 22 of file ir.cpp.

Member Function Documentation

void phidgets::IR::codeHandler ( unsigned char *  data,
int  dataLength,
int  bitCount,
int  repeat 
)
protectedvirtual

Definition at line 34 of file ir.cpp.

int phidgets::IR::CodeHandler ( CPhidgetIRHandle  ir,
void *  userPtr,
unsigned char *  data,
int  dataLength,
int  bitCount,
int  repeat 
)
staticprivate

Definition at line 26 of file ir.cpp.

Member Data Documentation

CPhidgetIRHandle phidgets::IR::ir_handle_
private

Definition at line 20 of file ir.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