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) {
35 : frequency(frequency_),
36 intro(intro_, introLength, toBeFreed),
37 repeat(repeat_, repeatLength, toBeFreed),
38 ending(NULL, 0, false) {
55 intro.
dump(stream, usingSigns);
56 repeat.
dump(stream, usingSigns);
57 ending.
dump(stream, usingSigns);
62 stream.print(F(
"f="));
63 stream.print(frequency);
uint16_t microseconds_t
Type for durations in micro seconds.
uint32_t frequency_t
Type for modulation frequency in Hz.
IrSequence * clone() const
Creates a (deep) clone of the current object.
This class models an IR signal with intro-, repeat-, and ending sequences.
void dump(Stream &stream, bool usingSigns=false) const
Prints the IrSequence on the stream provided.
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.
This class consists of a vector of durations.