AEM
staticQ.h File Reference
#include <Arduino.h>

Go to the source code of this file.

Data Structures

class  Q< T >
 

Macros

#define Q_OVERRUN_DELETE_OLDEST   (false)
 
#define Q_Q_LENGTH   (700)
 

Macro Definition Documentation

#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

#define Q_Q_LENGTH   (700)