ir.h
Go to the documentation of this file.
1 #ifndef PHIDGETS_API_IR_H
2 #define PHIDGETS_API_IR_H
3 
4 #include "phidgets_api/phidget.h"
5 
6 namespace phidgets {
7 
8 class IR: public Phidget
9 {
10  public:
11 
12  IR();
13 
14  protected:
15 
16  CPhidgetIRHandle ir_handle_;
17 
18  virtual void codeHandler(
19  unsigned char *data,
20  int dataLength,
21  int bitCount,
22  int repeat);
23 
24  private:
25 
26  static int CodeHandler(
27  CPhidgetIRHandle ir,
28  void *userPtr,
29  unsigned char *data,
30  int dataLength,
31  int bitCount,
32  int repeat);
33 };
34 
35 } //namespace phidgets
36 
37 #endif // PHIDGETS_API_IR_H
virtual void codeHandler(unsigned char *data, int dataLength, int bitCount, int repeat)
Definition: ir.cpp:29
Definition: ir.h:8
static int CodeHandler(CPhidgetIRHandle ir, void *userPtr, unsigned char *data, int dataLength, int bitCount, int repeat)
Definition: ir.cpp:23
IR()
Definition: ir.cpp:5
CPhidgetIRHandle ir_handle_
Definition: ir.h:16


phidgets_api
Author(s): Tully Foote, Ivan Dryanovski
autogenerated on Tue May 7 2019 03:19:24