Bare Metal Programming Tool Kit
|
interface for a polled input channel More...
#include <channels.h>
Public Member Functions | |
virtual bool | get_will_not_block ()=0 |
check whether a get() call will not block | |
virtual t | get ()=0 |
get one data item | |
interface for a polled input channel
Definition at line 54 of file channels.h.
|
pure virtual |
get one data item
When the channel is not ready to deliver a data item this call will block until the channel is ready. get_will_not_block() can be called first to avoid blocking.