Go to the documentation of this file.
30 #ifndef PHIDGETS_API_IR_H
31 #define PHIDGETS_API_IR_H
35 #include <libphidget22/phidget22.h>
46 explicit IR(int32_t serial_number,
47 std::function<
void(
const char *, uint32_t,
int)> code_handler);
51 void codeHandler(
const char *code, uint32_t bit_count,
int is_repeat)
const;
57 static void CodeHandler(PhidgetIRHandle ir,
void *ctx,
const char *code,
58 uint32_t bit_count,
int is_repeat);
63 #endif // PHIDGETS_API_IR_H
IR(int32_t serial_number, std::function< void(const char *, uint32_t, int)> code_handler)
std::function< void(const char *, uint32_t, int)> code_handler_
PhidgetIRHandle ir_handle_
static void CodeHandler(PhidgetIRHandle ir, void *ctx, const char *code, uint32_t bit_count, int is_repeat)
void codeHandler(const char *code, uint32_t bit_count, int is_repeat) const
#define PHIDGET22_NO_COPY_NO_MOVE_NO_ASSIGN(Classname)
phidgets_api
Author(s): Tully Foote, Ivan Dryanovski
autogenerated on Sun May 11 2025 02:20:27