DUNE: Uniform Navigational Environment
2019.02.1
|
Public Member Functions | |
void | add (const NativeHandle &handle) |
void | add (const Handle &handle) |
void | remove (const NativeHandle &handle) |
void | remove (const Handle &handle) |
bool | poll (double timeout) |
bool | wasTriggered (const NativeHandle &handle) |
bool | wasTriggered (const Handle &handle) |
Static Public Member Functions | |
static bool | poll (const NativeHandle &handle, double timeout) |
static bool | poll (const Handle &handle, double timeout) |
void DUNE::IO::Poll::add | ( | const NativeHandle & | handle | ) |
|
inline |
Add I/O handle to the polling pool.
[in] | handle | I/O handle. |
References add(), and DUNE::IO::Handle::getNative().
|
static |
|
inlinestatic |
References add(), DUNE::IO::Handle::getNative(), and poll().
bool DUNE::IO::Poll::poll | ( | double | timeout | ) |
void DUNE::IO::Poll::remove | ( | const NativeHandle & | handle | ) |
Remove native I/O handle from the polling pool.
[in] | handle | native I/O handle. |
|
inline |
Remove I/O handle from the polling pool.
[in] | handle | I/O handle. |
References poll(), and wasTriggered().
bool DUNE::IO::Poll::wasTriggered | ( | const NativeHandle & | handle | ) |
Referenced by remove(), and wasTriggered().
|
inline |
References DUNE::IO::Handle::getNative(), and wasTriggered().