Bare Metal Programming Tool Kit
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
bmptk::output_channel_polled< t > Class Template Referenceabstract

interface for a polled output channel More...

#include <channels.h>

Inheritance diagram for bmptk::output_channel_polled< t >:
bmptk::input_output_channel_polled< t > bmptk::output_channel_polled_buffer< t, buffer_size >

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
 

Detailed Description

template<class t>
class bmptk::output_channel_polled< t >

interface for a polled output channel

Definition at line 37 of file channels.h.

Member Function Documentation

template<class t>
virtual void bmptk::output_channel_polled< t >::put ( )
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 >.


The documentation for this class was generated from the following file: