#include <FiFo.h>
Inheritance diagram for CFiFo
Public Methods | |
CFiFo () | |
~CFiFo () | |
bool | empty () |
Check if the queue is empty. | |
void | add (LPPIXEL entry) |
Adding a pixel to the queue in 4 or 8 connectivity. | |
void | add (LPPIXEL entry, short parity) |
Adding a pixel to the queue in 6 connectivity. | |
void | first (LPPIXEL *p) |
Get the first pixel of the queue in 4 or 8 connectivity. | |
void | first (LPPIXEL *p, short *parity) |
Get the first pixel of the queue in 6 connectivity. | |
void | invert (void) |
invert the queue (not always possible). | |
Private Attributes | |
short | dir |
deque<LPPIXEL> | queue |
deque<short> | qparity |