Account
LibTmsApi 2.3.0 |
BCondBool Class Reference
Thread conditional boolean. More...
#include <BCondInt.h>
Public Member Functions | |
BCondBool () | |
~BCondBool () | |
int | set () |
Set value. Wakes waiting. | |
int | clear () |
Clear Value. | |
int | value () |
Current value. | |
int | wait () |
Wait until value is true. | |
int | timedWait (int timeOutUs) |
Wait until set, with timeout. | |
operator int () | |
Private Attributes | |
pthread_mutex_t | omutex |
pthread_cond_t | ocond |
int | ovalue |
Detailed Description
Thread conditional boolean.
Constructor & Destructor Documentation
◆ BCondBool()
BCondBool::BCondBool | ( | ) |
◆ ~BCondBool()
BCondBool::~BCondBool | ( | ) |
Member Function Documentation
◆ clear()
int BCondBool::clear | ( | ) |
Clear Value.
◆ operator int()
| inline |
◆ set()
int BCondBool::set | ( | ) |
Set value. Wakes waiting.
◆ timedWait()
int BCondBool::timedWait | ( | int | timeOutUs | ) |
Wait until set, with timeout.
◆ value()
int BCondBool::value | ( | ) |
Current value.
◆ wait()
int BCondBool::wait | ( | ) |
Wait until value is true.
Member Data Documentation
◆ ocond
| private |
◆ omutex
| private |
◆ ovalue
| private |
The documentation for this class was generated from the following files:
- /src/cern/tms/tms/beam/libBeam/BCondInt.h
- /src/cern/tms/tms/beam/libBeam/BCondInt.cpp
Generated by 1.9.7