24 #ifndef LELY_IO2_EVENT_HPP_ 25 #define LELY_IO2_EVENT_HPP_ 78 operator~(
Event rhs) {
79 return static_cast<Event>(~static_cast<
int>(rhs));
83 return static_cast<Event>(
static_cast<int>(lhs) & static_cast<int>(rhs));
88 return static_cast<Event>(
static_cast<int>(lhs) ^ static_cast<int>(rhs));
93 return static_cast<Event>(
static_cast<int>(lhs) | static_cast<int>(rhs));
98 return lhs = lhs & rhs;
103 return lhs = lhs ^ rhs;
108 return lhs = lhs | rhs;
114 #endif // !LELY_IO2_EVENT_HPP_ Data (other than priority data) MAY be read without blocking.
Priority data MAY be read without blocking.
An error has occurred. This event is always reported.
The device has been disconnected.
This header file is part of the I/O library; it contains the I/O event declarations.
Data (bot normal and priority data) MAY be written without blocking.
Event
The type of I/O event monitored by lely::io::Poll::watch() and reported to io_poll_watch_func_t callb...