#include <value-latch.hpp>
|
void | set (const T &value) |
| Assigns value to kept variable and sets Latch. More...
|
|
void | set (T &&value) |
| Assigns value to kept variable and sets Latch. More...
|
|
T | get () |
| Waits until set() is called, then set value is moved to caller. More...
|
|
T | get (const unsigned int timeoutMs) |
| Waits until set() is called, or until timeout occurs. More...
|
|
Waits until set() is called, then set value is moved to caller.
- Returns
- Value provided by set().
Waits until set() is called, or until timeout occurs.
Then, set value is moved to caller.
- Parameters
-
timeoutMs | Maximum time to wait for value to be set. |
- Returns
- Value provided by set().
Assigns value to kept variable and sets Latch.
- Parameters
-
Assigns value to kept variable and sets Latch.
- Parameters
-
The documentation for this class was generated from the following file: