Account
ArmsysApi 0.12.18 |
BQueue< T > Class Template Reference
Queue class. More...
#include <BQueue.h>
Public Member Functions | |
BQueue (BUInt size) | |
~BQueue () | |
void | clear () |
Clears a queue. More... | |
BUInt | writeAvailable () |
BUInt | readAvailable () |
BUInt | readAvailableFromIsr () |
BError | write (const T &v, BTimeout timeoutUs=BTimeoutForever) |
Append an item onto the queue. More... | |
BError | read (T &v, BTimeout timeoutUs=BTimeoutForever) |
Get an item from the queue. More... | |
BError | writeFromIsr (const T &v) |
Append an item onto the queue. More... | |
BError | readFromIsr (T &v) |
Get an item from the queue. More... | |
Protected Attributes | |
QueueHandle_t | oqueue |
Detailed Description
template<class T>
class BQueue< T >
Queue class.
Constructor & Destructor Documentation
◆ BQueue()
◆ ~BQueue()
Member Function Documentation
◆ clear()
template<class T >
void BQueue< T >::clear | ( | ) |
Clears a queue.
◆ read()
template<class T>
BError BQueue< T >::read | ( | T & | v, |
BTimeout | timeoutUs = BTimeoutForever | ||
) |
Get an item from the queue.
◆ readAvailable()
◆ readAvailableFromIsr()
◆ readFromIsr()
◆ write()
template<class T>
BError BQueue< T >::write | ( | const T & | v, |
BTimeout | timeoutUs = BTimeoutForever | ||
) |
Append an item onto the queue.
◆ writeAvailable()
◆ writeFromIsr()
Member Data Documentation
◆ oqueue
template<class T>
| protected |
The documentation for this class was generated from the following file:
Generated by 1.8.15