DUNE: Uniform Navigational Environment
2019.02.0
|
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 | ) |
Add native I/O handle to the polling pool.
[in] | handle | native I/O handle. |
Referenced by add().
|
inline |
Add I/O handle to the polling pool.
[in] | handle | I/O handle. |
References add(), and DUNE::IO::Handle::getNative().
|
static |
Referenced by DUNE::Hardware::Buttons::poll(), and poll().
|
inlinestatic |
References 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. |
bool DUNE::IO::Poll::wasTriggered | ( | const NativeHandle & | handle | ) |
Referenced by wasTriggered().
|
inline |
References DUNE::IO::Handle::getNative(), and wasTriggered().