#include <Arduino.h>
Go to the source code of this file.
#define Q_OVERRUN_DELETE_OLDEST (false) |
Constructor of a template Queue class Usage: type T should be an object you want to enqueue, it will be copied to the queue
calls to all methods of this class should be enclosed in noInterrupts()...interrupts() to prevent bad things from happening by re-etnrant code! In case of over-run, the pointer will be used to delete the most recent or last object object, depending on the value of Q_OVERRUN_DELETE_OLDEST