1 #ifndef IRSEQUENCEREADER_H
2 #define IRSEQUENCEREADER_H
IrSequenceReader(const IrSequenceReader &orig)
uint16_t microseconds_t
Type for durations in micro seconds.
boolean isReady() const
Returns true if there is collected data.
virtual ~IrSequenceReader()
Abstract base class for all IR readers, capturing or receiving.
void receive()
Convenience function: enable, wait until data is collected or timeout has occured, disable.
size_t getLength() const
Returns the length of the data.
IrSequenceReader(const IrSequence &irSequence_)
This class packs an IrSequence into a dummy, immutable IrReader.
const microseconds_t * getDurations() const
This class consists of a vector of durations.
microseconds_t getDuration(unsigned int index) const
Returns the index-th duration, if possible.
size_t getDataLength() const
Returns the number of collected durations.