Base Queue Wrapper.
More...
#include <QueueCPP.h>
|
| QueueBase (QueueHandle_t handle_) |
| Constructor.
|
|
Base Queue Wrapper.
This Base Class provides the Type Independent functionality for a Queue
◆ QueueBase() [1/2]
QueueBase::QueueBase |
( |
QueueHandle_t | handle_ | ) |
|
|
inlineprotected |
Constructor.
Effectively Abstract class so protected base.
- Parameters
-
handle_ | The queueHandle for the queue/ |
◆ ~QueueBase()
virtual QueueBase::~QueueBase |
( |
| ) |
|
|
inlinevirtual |
◆ QueueBase() [2/2]
◆ available()
unsigned QueueBase::available |
( |
| ) |
const |
|
inline |
Return number of spaces available in Queue.
- Returns
- the number of spaces available in the Queue.
◆ empty()
bool QueueBase::empty |
( |
| ) |
|
|
inline |
Check if Queue is Empty.
- Returns
- True if Queue is Empty.
◆ empty_ISR()
bool QueueBase::empty_ISR |
( |
| ) |
|
|
inline |
Is Queue Empty.
Note: Interrupt service routines should only call _ISR routines.
- Returns
- True if Queue is Empty.
◆ full()
Check if Queue is Full.
- Returns
- True if Queue is Full.
◆ full_ISR()
bool QueueBase::full_ISR |
( |
| ) |
|
|
inline |
Is Queue Full.
Note: Interrupt service routines should only call _ISR routines.
- Returns
- True if Queue is Full.
◆ operator=()
void QueueBase::operator= |
( |
QueueBase const & | | ) |
|
|
privatedelete |
◆ reset()
void QueueBase::reset |
( |
| ) |
|
|
inline |
Reset the Queue.
Resets the Queue to an empty state.
◆ waiting()
unsigned QueueBase::waiting |
( |
| ) |
const |
|
inline |
Get number of items in the Queue.
- Returns
- The number of item in the Queue.
◆ waiting_ISR()
unsigned QueueBase::waiting_ISR |
( |
| ) |
|
|
inline |
Get number of message waiting.
Note: Interrupt service routines should only call _ISR routines.
- Returns
- The number of messages waiting.
◆ queueHandle
QueueHandle_t QueueBase::queueHandle |
|
protected |
The documentation for this class was generated from the following file: