ir.h
Go to the documentation of this file.
00001 #ifndef PHIDGETS_API_IR_H
00002 #define PHIDGETS_API_IR_H
00003 
00004 #include "phidgets_api/phidget.h"
00005 
00006 namespace phidgets {
00007 
00008 class IR: public Phidget
00009 {
00010   public:
00011 
00012     IR();
00013 
00014   protected:
00015  
00016     CPhidgetIRHandle ir_handle_;
00017     
00018     virtual void codeHandler(
00019       unsigned char *data, 
00020       int dataLength, 
00021       int bitCount, 
00022       int repeat);
00023 
00024   private:
00025 
00026     static int CodeHandler(
00027       CPhidgetIRHandle ir, 
00028       void *userPtr, 
00029       unsigned char *data, 
00030       int dataLength, 
00031       int bitCount, 
00032       int repeat);
00033 };
00034 
00035 } //namespace phidgets
00036 
00037 #endif // PHIDGETS_API_IR_H


phidgets_api
Author(s): Tully Foote, Ivan Dryanovski, Copyright (C) 2010 Phidgets Inc.
autogenerated on Mon Oct 6 2014 03:21:40