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  IR();
12 
13  virtual ~IR();
14 
15  protected:
16  virtual void codeHandler(unsigned char *data, int dataLength, int bitCount,
17  int repeat);
18 
19  private:
20  CPhidgetIRHandle ir_handle_;
21 
22  static int CodeHandler(CPhidgetIRHandle ir, void *userPtr,
23  unsigned char *data, int dataLength, int bitCount,
24  int repeat);
25 };
26 
27 } // namespace phidgets
28 
29 #endif // PHIDGETS_API_IR_H
virtual void codeHandler(unsigned char *data, int dataLength, int bitCount, int repeat)
Definition: ir.cpp:34
virtual ~IR()
Definition: ir.cpp:22
Definition: ir.h:8
static int CodeHandler(CPhidgetIRHandle ir, void *userPtr, unsigned char *data, int dataLength, int bitCount, int repeat)
Definition: ir.cpp:26
IR()
Definition: ir.cpp:7
CPhidgetIRHandle ir_handle_
Definition: ir.h:20


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