Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
FIFO< T, rawSize > Class Template Reference
Inheritance diagram for FIFO< T, rawSize >:
Countable< T >

Public Member Functions

dequeue ()
 
bool enqueue (T element)
 
peek () const
 
void flush ()
 
unsigned int count () const override
 
bool full () const
 
const T & operator[] (unsigned int index) const override
 
T & operator[] (unsigned int index) override
 
const T & at (unsigned int i) const
 

Public Attributes

const int size
 

Protected Attributes

volatile int numberOfElements
 
int nextIn
 
int nextOut
 
raw [rawSize]