Account
LibTmsApi 2.3.0 |
BSema Class Reference
Sempahore class. More...
#include <BSema.h>
Public Member Functions | |
BSema (int value=0) | |
BSema (const BSema &sema) | |
~BSema () | |
int | post () |
Post condition. | |
int | wait () |
Wait for contition. | |
int | timedWait (int timeUs) |
Wait for condition with timeout. | |
int | tryWait () |
Test for the condition. | |
int | getValue () const |
BSema & | operator= (const BSema &sema) |
Private Attributes | |
sem_t | osema |
Detailed Description
Sempahore class.
Constructor & Destructor Documentation
◆ BSema() [1/2]
BSema::BSema | ( | int | value = 0 | ) |
◆ BSema() [2/2]
BSema::BSema | ( | const BSema & | sema | ) |
◆ ~BSema()
BSema::~BSema | ( | ) |
Member Function Documentation
◆ getValue()
int BSema::getValue | ( | ) | const |
◆ operator=()
◆ post()
int BSema::post | ( | ) |
Post condition.
◆ timedWait()
int BSema::timedWait | ( | int | timeUs | ) |
Wait for condition with timeout.
◆ tryWait()
int BSema::tryWait | ( | ) |
Test for the condition.
◆ wait()
int BSema::wait | ( | ) |
Wait for contition.
Member Data Documentation
◆ osema
| private |
The documentation for this class was generated from the following files:
Generated by 1.9.7