Shellminator
V1.1.1
Simple Terminal
|
Shellminator channel class for Arduino Serial objects. More...
#include <Shellminator-IO.hpp>
Public Member Functions | |
void | select (Serial_ *serialPort_p) |
Select Serial Port. More... | |
int | available () override |
Available bytes in the channel. More... | |
int | read () override |
Read one byte form the channel. More... | |
int | peek () override |
Peek the firtst byte from the channel. More... | |
void | flush () override |
Flush the channel. More... | |
size_t | write (uint8_t b) override |
Write one byte to the channel. More... | |
size_t | print (char c) override |
Print one character to the channel. More... | |
size_t | print (uint8_t b) |
Print one byte to the channel. More... | |
size_t | print (char *str) override |
Print c-string to the channel. More... | |
size_t | print (const char *str) override |
Print c-string to the channel. More... | |
Serial_ * | getSerialObject () |
Get the address of the chosen Serial Port. More... | |
virtual int | available () |
Available bytes in the channel. More... | |
virtual int | read () |
Read one byte form the channel. More... | |
virtual int | peek () |
Peek the firtst byte from the channel. More... | |
virtual void | flush () |
Flush the channel. More... | |
virtual size_t | write (uint8_t b) |
Write one byte to the channel. More... | |
virtual size_t | print (char c) |
Print one character to the channel. More... | |
virtual size_t | print (uint8_t b) |
Print one byte to the channel. More... | |
virtual size_t | print (char *str) |
Print c-string to the channel. More... | |
virtual size_t | print (const char *str) |
Print c-string to the channel. More... | |
Shellminator channel class for Arduino Serial objects.
Definition at line 193 of file Shellminator-IO.hpp.
|
overridevirtual |
Available bytes in the channel.
Reimplemented from shellminatorChannel.
Definition at line 129 of file Shellminator-IO.cpp.
|
overridevirtual |
Flush the channel.
Reimplemented from shellminatorChannel.
Definition at line 150 of file Shellminator-IO.cpp.
Serial_ * shellminatorArduino32U4SerialChannel::getSerialObject | ( | ) |
Get the address of the chosen Serial Port.
Definition at line 193 of file Shellminator-IO.cpp.
|
overridevirtual |
Peek the firtst byte from the channel.
Reimplemented from shellminatorChannel.
Definition at line 143 of file Shellminator-IO.cpp.
|
overridevirtual |
Print c-string to the channel.
str | The string that has to be printed to the channel. |
Reimplemented from shellminatorChannel.
Definition at line 179 of file Shellminator-IO.cpp.
|
overridevirtual |
Print one character to the channel.
c | The character that has to be printed to the channel. |
Reimplemented from shellminatorChannel.
Definition at line 172 of file Shellminator-IO.cpp.
|
overridevirtual |
Print c-string to the channel.
str | The string that has to be printed to the channel. |
Reimplemented from shellminatorChannel.
Definition at line 186 of file Shellminator-IO.cpp.
|
virtual |
Print one byte to the channel.
b | The value that has to be printed to the channel. |
Reimplemented from shellminatorChannel.
Definition at line 164 of file Shellminator-IO.cpp.
|
overridevirtual |
Read one byte form the channel.
Reimplemented from shellminatorChannel.
Definition at line 136 of file Shellminator-IO.cpp.
void shellminatorArduino32U4SerialChannel::select | ( | Serial_ * | serialPort_p | ) |
Select Serial Port.
Select a serial port to communicate with.
Definition at line 123 of file Shellminator-IO.cpp.
|
overridevirtual |
Write one byte to the channel.
b | The value that has to be written to the channel. |
Reimplemented from shellminatorChannel.
Definition at line 156 of file Shellminator-IO.cpp.