Account
LibTmsApi 2.3.0 |
BEvent1Pipe Class Reference
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. | |
BError | sendEvent (BEvent1 *event) |
Send an event. | |
BError | getEvent (BEvent1 *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. | |
Detailed Description
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.
Constructor & Destructor Documentation
◆ BEvent1Pipe()
BEvent1Pipe::BEvent1Pipe | ( | ) |
◆ ~BEvent1Pipe()
BEvent1Pipe::~BEvent1Pipe | ( | ) |
Member Function Documentation
◆ clear()
void BEvent1Pipe::clear | ( | ) |
Clear events pending.
◆ getEvent()
◆ getReceiveFd()
int BEvent1Pipe::getReceiveFd | ( | ) |
returns the receive file descriptor for the poll system call
◆ sendEvent()
Member Data Documentation
◆ ofds
| private |
File descriptors for pipe.
The documentation for this class was generated from the following files:
- /src/cern/tms/tms/beam/libBeam/BEvent1.h
- /src/cern/tms/tms/beam/libBeam/BEvent1.cpp
Generated by 1.9.7