|
| StreamBufferBase (StreamBufferHandle_t sbHandle) |
|
virtual | ~StreamBufferBase () |
|
size_t | available () const |
| Get the amount of available space open in the StreamBuffer.
|
|
bool | isEmpty () const |
|
bool | isFull () const |
|
size_t | read (void *data, size_t len, TickType_t delay=portMAX_DELAY) |
|
size_t | read_ISR (void *data, size_t len, BaseType_t &wasWoken) |
|
bool | reset () |
| Resets the buffer to empty.
|
|
size_t | send (const void *data, size_t len, TickType_t delay=portMAX_DELAY) |
|
size_t | send_ISR (const void *data, size_t len, BaseType_t &wasWoken) |
|
bool | trigger (size_t trigger) |
| Sets the Trigger Level for the StreamBuffer.
|
|
size_t | waiting () const |
| Get number of bytes of data available in the StreamBuffer.
|
|
Base class for the Various Stream Buffers.
This class provides all the generic operations.
The derived class will create the buffer, or can be created as a wrapper from an existing streambuffer.