Commander-API  V2.0.2
Simple Command Parser
Loading...
Searching...
No Matches
commandResponseArduino32U4Serial Class Reference

Arduino Serial_ response subclass. More...

#include <Commander-IO.hpp>

Inheritance diagram for commandResponseArduino32U4Serial:
[legend]
Collaboration diagram for commandResponseArduino32U4Serial:
[legend]

Public Member Functions

void select (Serial_ *serialPort_p)
 
int available () override
 
int read () override
 
int peek () override
 
size_t readBytes (uint8_t *buff, uint32_t size) override
 
void flush () override
 
size_t write (uint8_t b) override
 
size_t print (char c) override
 
size_t print (char *str) override
 
size_t print (const char *str) override
 
size_t print (int8_t b) override
 
size_t print (uint8_t b) override
 
size_t print (int16_t b) override
 
size_t print (uint16_t b) override
 
size_t print (int32_t b) override
 
size_t print (uint32_t b) override
 
size_t print (float f) override
 
size_t print (double f) override
 
size_t println () override
 
size_t println (char c) override
 
size_t println (char *str) override
 
size_t println (const char *str) override
 
size_t println (int8_t b) override
 
size_t println (uint8_t b) override
 
size_t println (int16_t b) override
 
size_t println (uint16_t b) override
 
size_t println (int32_t b) override
 
size_t println (uint32_t b) override
 
size_t println (float f) override
 
size_t println (double f) override
 
int printf (const char *fmt,...) override
 
virtual int available ()
 
virtual int read ()
 
virtual int peek ()
 
virtual size_t readBytes (uint8_t *buff, uint32_t size)
 
virtual void flush ()
 
virtual size_t write (uint8_t b)
 
virtual size_t print (char c)
 
virtual size_t print (char *str)
 
virtual size_t print (const char *str)
 
virtual size_t print (int8_t b)
 
virtual size_t print (uint8_t b)
 
virtual size_t print (int16_t b)
 
virtual size_t print (uint16_t b)
 
virtual size_t print (int32_t b)
 
virtual size_t print (uint32_t b)
 
virtual size_t print (float f)
 
virtual size_t print (double f)
 
virtual size_t println ()
 
virtual size_t println (char c)
 
virtual size_t println (char *str)
 
virtual size_t println (const char *str)
 
virtual size_t println (int8_t b)
 
virtual size_t println (uint8_t b)
 
virtual size_t println (int16_t b)
 
virtual size_t println (uint16_t b)
 
virtual size_t println (int32_t b)
 
virtual size_t println (uint32_t b)
 
virtual size_t println (float f)
 
virtual size_t println (double f)
 
virtual int printf (const char *fmt,...)
 

Detailed Description

Arduino Serial_ response subclass.

This subclass is overrides the communication functions in the commandResponse class to make it work with a Serial_ like class in Arduino environment. The Serial_ class usually used by Atmega-32U4 boards with hardware USB support.

Definition at line 234 of file Commander-IO.hpp.

Member Function Documentation

◆ available()

int commandResponseArduino32U4Serial::available ( )
overridevirtual

Reimplemented from commandResponse.

Definition at line 536 of file Commander-IO.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ flush()

void commandResponseArduino32U4Serial::flush ( )
overridevirtual

Reimplemented from commandResponse.

Definition at line 564 of file Commander-IO.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ peek()

int commandResponseArduino32U4Serial::peek ( )
overridevirtual

Reimplemented from commandResponse.

Definition at line 550 of file Commander-IO.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ print() [1/11]

size_t commandResponseArduino32U4Serial::print ( char *  str)
overridevirtual

Reimplemented from commandResponse.

Definition at line 585 of file Commander-IO.cpp.

Here is the call graph for this function:

◆ print() [2/11]

size_t commandResponseArduino32U4Serial::print ( char  c)
overridevirtual

Reimplemented from commandResponse.

Definition at line 578 of file Commander-IO.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ print() [3/11]

size_t commandResponseArduino32U4Serial::print ( const char *  str)
overridevirtual

Reimplemented from commandResponse.

Definition at line 592 of file Commander-IO.cpp.

Here is the call graph for this function:

◆ print() [4/11]

size_t commandResponseArduino32U4Serial::print ( double  f)
overridevirtual

Reimplemented from commandResponse.

Definition at line 648 of file Commander-IO.cpp.

Here is the call graph for this function:

◆ print() [5/11]

size_t commandResponseArduino32U4Serial::print ( float  f)
overridevirtual

Reimplemented from commandResponse.

Definition at line 641 of file Commander-IO.cpp.

Here is the call graph for this function:

◆ print() [6/11]

size_t commandResponseArduino32U4Serial::print ( int16_t  b)
overridevirtual

Reimplemented from commandResponse.

Definition at line 613 of file Commander-IO.cpp.

Here is the call graph for this function:

◆ print() [7/11]

size_t commandResponseArduino32U4Serial::print ( int32_t  b)
overridevirtual

Reimplemented from commandResponse.

Definition at line 627 of file Commander-IO.cpp.

Here is the call graph for this function:

◆ print() [8/11]

size_t commandResponseArduino32U4Serial::print ( int8_t  b)
overridevirtual

Reimplemented from commandResponse.

Definition at line 599 of file Commander-IO.cpp.

Here is the call graph for this function:

◆ print() [9/11]

size_t commandResponseArduino32U4Serial::print ( uint16_t  b)
overridevirtual

Reimplemented from commandResponse.

Definition at line 620 of file Commander-IO.cpp.

Here is the call graph for this function:

◆ print() [10/11]

size_t commandResponseArduino32U4Serial::print ( uint32_t  b)
overridevirtual

Reimplemented from commandResponse.

Definition at line 634 of file Commander-IO.cpp.

Here is the call graph for this function:

◆ print() [11/11]

size_t commandResponseArduino32U4Serial::print ( uint8_t  b)
overridevirtual

Reimplemented from commandResponse.

Definition at line 606 of file Commander-IO.cpp.

Here is the call graph for this function:

◆ printf()

int commandResponseArduino32U4Serial::printf ( const char *  fmt,
  ... 
)
overridevirtual

Reimplemented from commandResponse.

Definition at line 741 of file Commander-IO.cpp.

Here is the call graph for this function:

◆ println() [1/12]

size_t commandResponseArduino32U4Serial::println ( )
overridevirtual

Reimplemented from commandResponse.

Definition at line 657 of file Commander-IO.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ println() [2/12]

size_t commandResponseArduino32U4Serial::println ( char *  str)
overridevirtual

Reimplemented from commandResponse.

Definition at line 671 of file Commander-IO.cpp.

Here is the call graph for this function:

◆ println() [3/12]

size_t commandResponseArduino32U4Serial::println ( char  c)
overridevirtual

Reimplemented from commandResponse.

Definition at line 664 of file Commander-IO.cpp.

Here is the call graph for this function:

◆ println() [4/12]

size_t commandResponseArduino32U4Serial::println ( const char *  str)
overridevirtual

Reimplemented from commandResponse.

Definition at line 678 of file Commander-IO.cpp.

Here is the call graph for this function:

◆ println() [5/12]

size_t commandResponseArduino32U4Serial::println ( double  f)
overridevirtual

Reimplemented from commandResponse.

Definition at line 734 of file Commander-IO.cpp.

Here is the call graph for this function:

◆ println() [6/12]

size_t commandResponseArduino32U4Serial::println ( float  f)
overridevirtual

Reimplemented from commandResponse.

Definition at line 727 of file Commander-IO.cpp.

Here is the call graph for this function:

◆ println() [7/12]

size_t commandResponseArduino32U4Serial::println ( int16_t  b)
overridevirtual

Reimplemented from commandResponse.

Definition at line 699 of file Commander-IO.cpp.

Here is the call graph for this function:

◆ println() [8/12]

size_t commandResponseArduino32U4Serial::println ( int32_t  b)
overridevirtual

Reimplemented from commandResponse.

Definition at line 713 of file Commander-IO.cpp.

Here is the call graph for this function:

◆ println() [9/12]

size_t commandResponseArduino32U4Serial::println ( int8_t  b)
overridevirtual

Reimplemented from commandResponse.

Definition at line 685 of file Commander-IO.cpp.

Here is the call graph for this function:

◆ println() [10/12]

size_t commandResponseArduino32U4Serial::println ( uint16_t  b)
overridevirtual

Reimplemented from commandResponse.

Definition at line 706 of file Commander-IO.cpp.

Here is the call graph for this function:

◆ println() [11/12]

size_t commandResponseArduino32U4Serial::println ( uint32_t  b)
overridevirtual

Reimplemented from commandResponse.

Definition at line 720 of file Commander-IO.cpp.

Here is the call graph for this function:

◆ println() [12/12]

size_t commandResponseArduino32U4Serial::println ( uint8_t  b)
overridevirtual

Reimplemented from commandResponse.

Definition at line 692 of file Commander-IO.cpp.

Here is the call graph for this function:

◆ read()

int commandResponseArduino32U4Serial::read ( )
overridevirtual

Reimplemented from commandResponse.

Definition at line 543 of file Commander-IO.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ readBytes()

size_t commandResponseArduino32U4Serial::readBytes ( uint8_t *  buff,
uint32_t  size 
)
overridevirtual

Reimplemented from commandResponse.

Definition at line 557 of file Commander-IO.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ select()

void commandResponseArduino32U4Serial::select ( Serial_ *  serialPort_p)

Definition at line 530 of file Commander-IO.cpp.

Here is the caller graph for this function:

◆ write()

size_t commandResponseArduino32U4Serial::write ( uint8_t  b)
overridevirtual

Reimplemented from commandResponse.

Definition at line 570 of file Commander-IO.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: