24 boolean toBeFreed =
false);
29 boolean toBeFreed =
false);
73 void dump(Stream& stream,
boolean usingSigns =
false)
const;
105 return noSends == 0 ? 0
IrSignal * clone() const
Creates a (deep) copy of the current object.
static const frequency_t defaultFrequency
uint16_t microseconds_t
Type for durations in micro seconds.
void dumpWithSigns(Stream &stream) const
Print a human readable representation of the IrSignal on the Stream supplied, using signs...
unsigned int noRepetitions(unsigned int noSends) const
Implementation of the count semantics, i.e., how many repetitions should be sent if the signal is sen...
This class models an IR signal with intro-, repeat-, and ending sequences.
const IrSequence & getIntro() const
static const frequency_t invalidFrequency
uint16_t frequency_t
Type for modulation frequency in Hz.
const IrSequence & getRepeat() const
This class consists of a vector of durations.
frequency_t getFrequency() const
This file defines some general data types that are used in the library.
const IrSequence & getEnding() const
boolean dumpFrequency(Stream &stream) const
If the frequency is sensible, print it to the stream and return true.
void dump(Stream &stream, boolean usingSigns=false) const
Print a human readable representation of the IrSignal on the Stream supplied.