|
Beamlib 3.3.2
This is the Beam C++ class library.
|
This class provides an interface for sending simple integer events via a pipe file descriptor. More...
#include <BEvent.h>
Public Member Functions | |
| BEventPipe () | |
| ~BEventPipe () | |
| void | clear () |
| Clear events pending. More... | |
| int | getFd () |
| BUInt | writeAvailable () const |
| BError | write (const BEvent &event, BTimeout timeout=BTimeoutForever) |
| Append an item onto the queue. More... | |
| BUInt | readAvailable () const |
| BError | read (BEvent &event, BTimeout timeout=BTimeoutForever) |
| Get an item from the queue. More... | |
This class provides an interface for sending simple integer events via a pipe file descriptor.
| BEventPipe::BEventPipe | ( | ) |
| BEventPipe::~BEventPipe | ( | ) |
| void BEventPipe::clear | ( | ) |
Clear events pending.
| int BEventPipe::getFd | ( | ) |
| BUInt BEventPipe::writeAvailable | ( | ) | const |
| BError BEventPipe::write | ( | const BEvent & | event, |
| BTimeout | timeout = BTimeoutForever |
||
| ) |
Append an item onto the queue.
| BUInt BEventPipe::readAvailable | ( | ) | const |
| BError BEventPipe::read | ( | BEvent & | event, |
| BTimeout | timeout = BTimeoutForever |
||
| ) |
Get an item from the queue.