IrrIMGUI
0.3.1
|
A Fifo Memory to store character inputs from the keyboard. More...
#include <CCharFifo.h>
Public Member Functions | |
Constructor and Destructor | |
CCharFifo (void) | |
Standard Constructor. More... | |
~CCharFifo (void) | |
Standard Destructor. More... | |
Write-, Read- and Status-Methods | |
void | addChar (ImWchar C) |
ImWchar | getChar (void) |
bool | isEmpty (void) const |
bool | isFull (void) const |
irr::u8 | getNumberOfElements (void) const |
Private Attributes | |
ImWchar | mCharArray [256] |
irr::u8 | mWriteIndex |
irr::u8 | mReadIndex |
A Fifo Memory to store character inputs from the keyboard.
Definition at line 49 of file CCharFifo.h.
IrrIMGUI::CCharFifo::CCharFifo | ( | void | ) |
Standard Constructor.
Definition at line 44 of file CCharFifo.cpp.
IrrIMGUI::CCharFifo::~CCharFifo | ( | void | ) |
Standard Destructor.
Definition at line 55 of file CCharFifo.cpp.
void IrrIMGUI::CCharFifo::addChar | ( | ImWchar | C | ) |
C | Is the input Character to add to the Fifo Memory. |
Definition at line 60 of file CCharFifo.cpp.
ImWchar IrrIMGUI::CCharFifo::getChar | ( | void | ) |
Definition at line 75 of file CCharFifo.cpp.
irr::u8 IrrIMGUI::CCharFifo::getNumberOfElements | ( | void | ) | const |
Definition at line 106 of file CCharFifo.cpp.
bool IrrIMGUI::CCharFifo::isEmpty | ( | void | ) | const |
Definition at line 96 of file CCharFifo.cpp.
bool IrrIMGUI::CCharFifo::isFull | ( | void | ) | const |
Definition at line 101 of file CCharFifo.cpp.
|
private |
Definition at line 88 of file CCharFifo.h.
|
private |
Definition at line 90 of file CCharFifo.h.
|
private |
Definition at line 89 of file CCharFifo.h.