#include <BEvent.h>
Public Member Functions | |
BEventPipe () | |
~BEventPipe () | |
void | clear () |
Clear events pending. | |
BError | sendEvent (BEvent *event) |
Send an event. | |
BError | getEvent (BEvent *event, int timeOutUs=-1) |
Receive the event. | |
int | getReceiveFd () |
returns the receive file descriptor for the poll system call | |
Private Attributes | |
int | ofds [2] |
File descriptors for pipe. |
BEventPipe::BEventPipe | ( | ) |
BEventPipe::~BEventPipe | ( | ) |
void BEventPipe::clear | ( | ) |
Clear events pending.
int BEventPipe::getReceiveFd | ( | ) |
returns the receive file descriptor for the poll system call
int BEventPipe::ofds[2] [private] |
File descriptors for pipe.