6 : frequency(frequency_),intro(intro_, toBeFreed),repeat(repeat_, toBeFreed),ending(ending_, toBeFreed) {
11 : frequency(frequency_),intro(intro_),repeat(repeat_),ending(ending_) {
19 : frequency(orig.frequency),intro(orig.intro),repeat(orig.repeat),ending(orig.ending) {
26 : frequency(frequency_),
27 intro(intro_, introLength, toBeFreed),
28 repeat(repeat_, repeatLength, toBeFreed),
29 ending(ending_, endingLength, toBeFreed) {
46 intro.
dump(stream, usingSigns);
47 repeat.
dump(stream, usingSigns);
48 ending.
dump(stream, usingSigns);
53 stream.print(F(
"f="));
54 stream.print(frequency);
IrSignal * clone() const
Creates a (deep) copy of the current object.
uint16_t microseconds_t
Type for durations in micro seconds.
void dump(Stream &stream, boolean usingSigns=false) const
Prints the IrSequence on the stream provided.
IrSequence * clone() const
Creates a (deep) clone of the current object.
This class models an IR signal with intro-, repeat-, and ending sequences.
static const frequency_t invalidFrequency
uint16_t frequency_t
Type for modulation frequency in Hz.
This class consists of a vector of durations.
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.