#include </tmp/tmp_ggze249/nucleo-g071rb/modm-test/src/modm-test/mock/iodevice.hpp>
|
virtual void | write (char c) |
| Write a single char to the buffer.
|
|
virtual void | flush () |
|
virtual bool | read (char &) |
| Reading is not implemented.
|
|
void | clear () |
| Clear the buffer and reset counter.
|
|
virtual void | write (const char *str) |
| Write a C-string.
|
|
|
char | buffer [buffer_length] |
|
size_t | bytesWritten |
|
|
static constexpr std::size_t | buffer_length = 100 |
|
simple IODevice which stores all data in a memory buffer used for testing the output of an IOStream
The documentation for this class was generated from the following file:
- modm-test/src/modm-test/mock/iodevice.hpp