8 : durations(durations_), length(length_), toBeFreed(toBeFreed_) {
25 return new IrSequence(durationsClone, length,
true);
29 for (
unsigned int i = 0U; i < length; i++) {
33 stream.print((i & 1) ?
'-' :
'+');
34 stream.print(durations[i], DEC);
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 consists of a vector of durations.
IrSequence()
Create an empty sequence.