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