Queue 2.0
Queue handling library
Loading...
Searching...
No Matches
Classes | Macros | Typedefs | Functions | Variables
SimpleQueueStatic.ino File Reference
#include <cppQueue.h>

Classes

struct  strRec
 

Macros

#define IMPLEMENTATION   LIFO
 
#define NB_ITEMS   10
 

Typedefs

typedef struct strRec Rec
 

Functions

void setup ()
 
void loop ()
 

Variables

Rec tab [6]
 
Rec q_dat [NB_ITEMS]
 
cppQueue q (sizeof(Rec), NB_ITEMS, IMPLEMENTATION, false, q_dat, sizeof(q_dat))
 

Macro Definition Documentation

◆ IMPLEMENTATION

#define IMPLEMENTATION   LIFO

◆ NB_ITEMS

#define NB_ITEMS   10

Typedef Documentation

◆ Rec

typedef struct strRec Rec

Function Documentation

◆ loop()

void loop ( )
Here is the call graph for this function:

◆ setup()

void setup ( )

Variable Documentation

◆ q

cppQueue q(sizeof(Rec), NB_ITEMS, IMPLEMENTATION, false, q_dat, sizeof(q_dat)) ( sizeof(Rec) ,
NB_ITEMS ,
IMPLEMENTATION ,
false ,
q_dat ,
sizeof(q_dat)  )

◆ q_dat

Rec q_dat[NB_ITEMS]

◆ tab

Rec tab[6]
Initial value:
= {
{ 0x1234, 0x3456 },
{ 0x5678, 0x7890 },
{ 0x90AB, 0xABCD },
{ 0xCDEF, 0xEFDC },
{ 0xDCBA, 0xBA09 },
{ 0x0987, 0x8765 }
}