#include <BCondInt.h>
|
| BCondWrap () |
|
| ~BCondWrap () |
|
void | setValue (uint32_t value) |
| Set the value. Wakes waiting.
|
|
uint32_t | value () |
| Current value.
|
|
uint32_t | increment (uint32_t v=1) |
| Increment. Wakes waiting.
|
|
uint32_t | decrement (uint32_t v=1) |
| Decrement. Wakes waiting.
|
|
int | waitMoreThanOrEqual (uint32_t v, uint32_t decrement=0, uint32_t timeOutUs=0) |
| Wait until value is at least the value given.
|
|
int | waitLessThanOrEqual (uint32_t v, uint32_t increment=0, uint32_t timeOutUs=0) |
| Wait until value is equal to or below the value given.
|
|
int | waitLessThan (uint32_t v, uint32_t timeOutUs=0) |
| Wait until value is equal to or below the value given.
|
|
void | operator+= (int v) |
| Add to value. Wakes waiting.
|
|
void | operator-= (int v) |
| Subtract from value. Wakes waiting.
|
|
void | operator++ (int) |
| Increment value. Wakes waiting.
|
|
void | operator-- (int) |
| Decrement value. Wakes waiting.
|
|
◆ BCondWrap()
◆ ~BCondWrap()
BCondWrap::~BCondWrap |
( |
| ) |
|
◆ decrement()
uint32_t BCondWrap::decrement |
( |
uint32_t |
v = 1 | ) |
|
Decrement. Wakes waiting.
◆ diff()
int BCondWrap::diff |
( |
uint32_t |
v | ) |
|
|
private |
◆ increment()
uint32_t BCondWrap::increment |
( |
uint32_t |
v = 1 | ) |
|
Increment. Wakes waiting.
◆ operator++()
void BCondWrap::operator++ |
( |
int |
| ) |
|
|
inline |
Increment value. Wakes waiting.
◆ operator+=()
void BCondWrap::operator+= |
( |
int |
v | ) |
|
|
inline |
Add to value. Wakes waiting.
◆ operator--()
void BCondWrap::operator-- |
( |
int |
| ) |
|
|
inline |
Decrement value. Wakes waiting.
◆ operator-=()
void BCondWrap::operator-= |
( |
int |
v | ) |
|
|
inline |
Subtract from value. Wakes waiting.
◆ setValue()
void BCondWrap::setValue |
( |
uint32_t |
value | ) |
|
Set the value. Wakes waiting.
◆ value()
uint32_t BCondWrap::value |
( |
| ) |
|
◆ waitLessThan()
int BCondWrap::waitLessThan |
( |
uint32_t |
v, |
|
|
uint32_t |
timeOutUs = 0 |
|
) |
| |
Wait until value is equal to or below the value given.
◆ waitLessThanOrEqual()
int BCondWrap::waitLessThanOrEqual |
( |
uint32_t |
v, |
|
|
uint32_t |
increment = 0 , |
|
|
uint32_t |
timeOutUs = 0 |
|
) |
| |
Wait until value is equal to or below the value given.
◆ waitMoreThanOrEqual()
int BCondWrap::waitMoreThanOrEqual |
( |
uint32_t |
v, |
|
|
uint32_t |
decrement = 0 , |
|
|
uint32_t |
timeOutUs = 0 |
|
) |
| |
Wait until value is at least the value given.
◆ ocond
pthread_cond_t BCondWrap::ocond |
|
private |
◆ omutex
pthread_mutex_t BCondWrap::omutex |
|
private |
◆ ovalue
uint32_t BCondWrap::ovalue |
|
private |
The documentation for this class was generated from the following files: