#include <buffer.h>
List of all members.
Detailed Description
FIFO Buffer class
Stores incomming USART characters
Definition at line 47 of file buffer.h.
Constructor & Destructor Documentation
Default constructor
Definition at line 27 of file buffer.cpp.
Member Function Documentation
Clears buffer - removes all items
Definition at line 32 of file buffer.cpp.
Clears buffer - removes all items
Clears buffer - removes all items
Clears buffer - removes all items
Checks if buffer is empty
- Returns:
- true if there are items in buffer, otherwise false
Checks if buffer is empty
- Returns:
- true if there are items in buffer, otherwise false
Definition at line 36 of file buffer.cpp.
Checks if buffer is empty
- Returns:
- true if there are items in buffer, otherwise false
Checks if buffer is empty
- Returns:
- true if there are items in buffer, otherwise false
Returns pointer to first item
- Returns:
- pointer to first item
- See also:
- read()
Returns pointer to first item
- Returns:
- pointer to first item
- See also:
- read()
Definition at line 59 of file buffer.cpp.
Returns pointer to first item
- Returns:
- pointer to first item
- See also:
- read()
Returns pointer to first item
- Returns:
- pointer to first item
- See also:
- read()
Pops first item from list
- See also:
- read()
Pops first item from list
- See also:
- read()
Pops first item from list
- See also:
- read()
void Buffer::push |
( |
char |
c | ) |
|
Adds character to the end of buffer
- Parameters:
-
void Buffer::push |
( |
char |
c | ) |
|
Adds character to the end of buffer
- Parameters:
-
Definition at line 40 of file buffer.cpp.
void Buffer::push |
( |
char |
c | ) |
|
Adds character to the end of buffer
- Parameters:
-
void Buffer::push |
( |
char |
c | ) |
|
Adds character to the end of buffer
- Parameters:
-
unsigned char Buffer::read |
( |
| ) |
|
Pops first item from list and returns it
- Returns:
- first item
- See also:
- pop()
unsigned char Buffer::read |
( |
| ) |
|
Pops first item from list and returns it
- Returns:
- first item
- See also:
- pop()
Definition at line 67 of file buffer.cpp.
unsigned char Buffer::read |
( |
| ) |
|
Pops first item from list and returns it
- Returns:
- first item
- See also:
- pop()
unsigned char Buffer::read |
( |
| ) |
|
Pops first item from list and returns it
- Returns:
- first item
- See also:
- pop()
Member Data Documentation
The documentation for this class was generated from the following files: