| Beam-lib 2.15.1 |
BEvent1Int Class Reference
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 () |
Private Attributes | |
| int | ofds [2] |
| File descriptors for pipe. More... | |
Detailed Description
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.
Constructor & Destructor Documentation
◆ BEvent1Int()
| BEvent1Int::BEvent1Int | ( | ) |
◆ ~BEvent1Int()
| BEvent1Int::~BEvent1Int | ( | ) |
Member Function Documentation
◆ clear()
| void BEvent1Int::clear | ( | ) |
Clear events pending.
◆ getEvent()
| BError BEvent1Int::getEvent | ( | int & | event, |
| int | timeOutUs = -1 | ||
| ) |
Receive the event.
◆ getFd()
| int BEvent1Int::getFd | ( | ) |
◆ sendEvent()
| BError BEvent1Int::sendEvent | ( | int | event | ) |
Send an event.
Member Data Documentation
◆ ofds
| private |
File descriptors for pipe.
The documentation for this class was generated from the following files:
Generated by
1.8.14 
