#include <Commander-Caller-Interface.hpp>
◆ CommandCaller()
CommandCaller::CommandCaller |
( |
| ) |
|
◆ available()
int CommandCaller::available |
( |
| ) |
|
|
override |
◆ beep()
virtual void CommandCaller::beep |
( |
| ) |
|
|
inlinevirtual |
◆ clear()
virtual void CommandCaller::clear |
( |
| ) |
|
|
inlinevirtual |
◆ clearChannel()
void CommandCaller::clearChannel |
( |
| ) |
|
◆ flush()
void CommandCaller::flush |
( |
| ) |
|
|
override |
◆ getChannel()
Stream * CommandCaller::getChannel |
( |
| ) |
|
◆ peek()
int CommandCaller::peek |
( |
| ) |
|
|
override |
Peek the firtst byte from the channel.
- Returns
- Read and return one byte form the channel. The byte will NOT be removed from the channel.
Definition at line 51 of file Commander-Caller-Interface.cpp.
◆ read()
int CommandCaller::read |
( |
| ) |
|
|
override |
Read one byte form the channel.
- Returns
- Read and return one byte form the channel. The byte will be removed from the channel.
Definition at line 31 of file Commander-Caller-Interface.cpp.
◆ setBannerText()
virtual void CommandCaller::setBannerText |
( |
const char * |
text_p | ) |
|
|
inlinevirtual |
◆ setChannel()
void CommandCaller::setChannel |
( |
Stream * |
channel_p | ) |
|
◆ setPathText()
virtual void CommandCaller::setPathText |
( |
const char * |
text_p | ) |
|
|
inlinevirtual |
◆ write() [1/2]
size_t CommandCaller::write |
( |
const uint8_t * |
buffer, |
|
|
size_t |
size |
|
) |
| |
|
override |
◆ write() [2/2]
size_t CommandCaller::write |
( |
uint8_t |
b | ) |
|
|
override |
Write one byte to the channel.
- Parameters
-
b | The value that has to be written to the channel. |
- Returns
- The number of bytes that has been successfully written to the channel. Because it is the base class, it returns 0.
Definition at line 60 of file Commander-Caller-Interface.cpp.
◆ channel
Stream* CommandCaller::channel = NULL |
|
private |