COSA
An Object-Oriented Platform for Arduino Programming
|
#include <IOEvent.hh>
Public Member Functions | |
IOEvent (Event::Handler *handler) | |
virtual int | putchar (char c) |
virtual int | getchar () |
Protected Attributes | |
Event::Handler * | m_handler |
IOEvent is an IOStream filter class that may push events when data has been received and send completed. Extends a given IOStream::Device class. Can be used to map an interrupt driven device such as UART to event driven on completed input lines.
[in] | DEVICE | class to filter. |
Definition at line 36 of file IOEvent.hh.
|
inline |
Constuct IOEvent object for filtered stream operations.
Definition at line 41 of file IOEvent.hh.
|
inlinevirtual |
|
inlinevirtual |
Write character to device.
[in] | c | character to write. |
Definition at line 49 of file IOEvent.hh.
|
protected |
Definition at line 71 of file IOEvent.hh.