3 #include <linux/lirc.h> 13 static const lirc_t MAXDURATION = 0xFFFFFFU;
34 return LIRC_IS_SPACE(data);
38 return LIRC_IS_PULSE(data);
42 return LIRC_IS_FREQUENCY(data);
46 return LIRC_IS_TIMEOUT(data);
53 void dump(std::ostream& stream = std::cout)
const;
61 return LIRC_IS_SPACE(t);
65 return LIRC_IS_PULSE(t);
69 return LIRC_IS_FREQUENCY(t);
73 return LIRC_IS_TIMEOUT(t);
80 static void dump(lirc_t t, std::ostream& stream = std::cout) {
void dump(std::ostream &stream=std::cout) const
static bool isFrequency(lirc_t t)
This is the class version of lirc_t, defined in lirc.h.
microseconds_t getDuration() const
static bool isTimeout(lirc_t t)
uint32_t microseconds_t
Type for durations in micro seconds.
static bool isSpace(lirc_t t)
static bool isTerminal(lirc_t t)
This file defines some general data types that are used in the library.
static void dump(lirc_t t, std::ostream &stream=std::cout)
static bool isPulse(lirc_t t)
static microseconds_t getDuration(lirc_t t)