|
Beamlib 3.5.3
This is the Beam C++ class library.
|
This class provides an interface for sending simple integer events via a file descriptor. This allows threads to send events that can be picked up by the poll system call. More...
#include <BEvent1.h>
Public Member Functions | |
| BEvent1Int () | |
| ~BEvent1Int () | |
| void | clear () |
| Clear events pending. | |
| BError | sendEvent (int event) |
| Send an event. | |
| BError | getEvent (int &event, int timeOutUs=-1) |
| Receive the event. | |
| int | getFd () |
This class provides an interface for sending simple integer events via a file descriptor. This allows threads to send events that can be picked up by the poll system call.
| BEvent1Int::BEvent1Int | ( | ) |
| BEvent1Int::~BEvent1Int | ( | ) |
| void BEvent1Int::clear | ( | ) |
Clear events pending.
| BError BEvent1Int::sendEvent | ( | int | event | ) |
Send an event.
| BError BEvent1Int::getEvent | ( | int & | event, |
| int | timeOutUs = -1 ) |
Receive the event.
| int BEvent1Int::getFd | ( | ) |