Beamlib 3.1.2
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. More... | |
BError | sendEvent (int event) |
Send an event. More... | |
BError | getEvent (int &event, int timeOutUs=-1) |
Receive the event. More... | |
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 | ( | ) |