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