Representation of epoll_event
.
More...
#include <epoll.hh>
Representation of epoll_event
.
bool CEpollEvent::canInput |
( |
| ) |
const |
|
inline |
Test if there are read events.
- Returns
true
if there are read events; false
otherwise
bool CEpollEvent::canOutput |
( |
| ) |
const |
|
inline |
Test if there are write events.
- Returns
true
if there are write events; false
otherwise
bool CEpollEvent::error |
( |
| ) |
const |
|
inline |
Test if there are errors.
- Returns
true
if there are errors; false
otherwise
static std::string CEpollEvent::EventsName |
( |
uint32_t |
ev | ) |
|
|
inlinestatic |
Get events description.
- Parameters
-
ev | A bit mask representing events |
- Returns
- Events description
int CEpollEvent::fd |
( |
| ) |
const |
|
inline |
Get fd (file descriptor).
- Returns
- fd of self
std::string CEpollEvent::toString |
( |
| ) |
const |
|
inline |
Get readable description.
- Returns
- Readable description
bool CEpollEvent::valid |
( |
| ) |
const |
|
inline |
Test if fd is valid.
- Returns
true
if fd is valid; false
otherwise
The documentation for this struct was generated from the following file: