Bare Metal Programming Tool Kit
|
interface for a polled output channel More...
#include <channels.h>
Public Member Functions | |
virtual bool | put_will_not_block ()=0 |
check whether a put() call will not block | |
virtual void | put (t)=0 |
put one data item | |
interface for a polled output channel
Definition at line 37 of file channels.h.
|
pure virtual |
put one data item
When the channel is not ready to receive a data item this call will block until the channel is ready. put_will_not_block() can be called first to avoid blocking.
Implemented in bmptk::output_channel_polled_buffer< t, buffer_size >.