23 bool toBeFreed =
false);
28 bool toBeFreed =
false);
72 void dump(Stream& stream,
bool usingSigns =
false)
const;
104 return noSends == 0 ? 0
static const frequency_t defaultFrequency
uint16_t microseconds_t
Type for durations in micro seconds.
uint32_t frequency_t
Type for modulation frequency in Hz.
frequency_t getFrequency() const
const IrSequence & getIntro() const
This class models an IR signal with intro-, repeat-, and ending sequences.
void dumpWithSigns(Stream &stream) const
Print a human readable representation of the IrSignal on the Stream supplied, using signs.
const IrSequence & getRepeat() const
static const frequency_t invalidFrequency
void dump(Stream &stream, bool usingSigns=false) const
Print a human readable representation of the IrSignal on the Stream supplied.
bool dumpFrequency(Stream &stream) const
If the frequency is sensible, print it to the stream and return true.
IrSignal * clone() const
Creates a (deep) copy of the current object.
const IrSequence & getEnding() const
This class consists of a vector of durations.
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 file defines some general data types that are used in the library.