3-phase PV router
Loading...
Searching...
No Matches
CapturePrint Class Reference

A Print that captures the text, with a transmit buffer that fills up as it is written. More...

Inheritance diagram for CapturePrint:
Collaboration diagram for CapturePrint:

Public Member Functions

int availableForWrite () override
 
void clear ()
 
size_t write (uint8_t c) override
 

Public Attributes

size_t length { 0 }
 
bool overflow { false }
 
int room { 63 }
 
char text [400] {}
 

Detailed Description

A Print that captures the text, with a transmit buffer that fills up as it is written.

Definition at line 14 of file test_main.cpp.

Member Function Documentation

◆ availableForWrite()

int CapturePrint::availableForWrite ( )
inlineoverride

Definition at line 36 of file test_main.cpp.

◆ clear()

void CapturePrint::clear ( )
inline

Definition at line 40 of file test_main.cpp.

◆ write()

size_t CapturePrint::write ( uint8_t c)
inlineoverride

Definition at line 22 of file test_main.cpp.

Member Data Documentation

◆ length

size_t CapturePrint::length { 0 }

Definition at line 18 of file test_main.cpp.

◆ overflow

bool CapturePrint::overflow { false }

a write went beyond the free space

Definition at line 20 of file test_main.cpp.

◆ room

int CapturePrint::room { 63 }

free space in the "transmit buffer"

Definition at line 19 of file test_main.cpp.

◆ text

char CapturePrint::text[400] {}

Definition at line 17 of file test_main.cpp.


The documentation for this class was generated from the following file: