ESP3D  3.0
Firmware for ESP boards connected to 3D Printer
ESP3DOutput Class Reference

#include <esp3doutput.h>

Inheritance diagram for ESP3DOutput:
Inheritance graph
Collaboration diagram for ESP3DOutput:
Collaboration graph

Public Member Functions

 ESP3DOutput (uint8_t client=0)
 
 ESP3DOutput (WEBSERVER *webserver)
 
 ~ESP3DOutput ()
 
size_t write (uint8_t c)
 
size_t write (const uint8_t *buffer, size_t size)
 
size_t write (const char *s)
 
size_t write (unsigned long n)
 
size_t write (long n)
 
size_t write (unsigned int n)
 
size_t write (int n)
 
uint8_t client ()
 
size_t dispatch (uint8_t *sbuf, size_t len)
 
size_t printMSG (const char *s, bool withNL=true)
 
size_t printERROR (const char *s, int code_error=200)
 
size_t printLN (const char *s)
 
void flush ()
 
int availableforwrite ()
 

Static Public Member Functions

static bool isOutput (uint8_t flag, bool fromsettings=false)
 

Detailed Description

Definition at line 48 of file esp3doutput.h.

Constructor & Destructor Documentation

◆ ESP3DOutput() [1/2]

ESP3DOutput::ESP3DOutput ( uint8_t  client = 0)

Definition at line 48 of file esp3doutput.cpp.

Here is the call graph for this function:

◆ ESP3DOutput() [2/2]

ESP3DOutput::ESP3DOutput ( WEBSERVER *  webserver)

Definition at line 62 of file esp3doutput.cpp.

◆ ~ESP3DOutput()

ESP3DOutput::~ESP3DOutput ( )

Definition at line 73 of file esp3doutput.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ availableforwrite()

int ESP3DOutput::availableforwrite ( )

Definition at line 295 of file esp3doutput.cpp.

Here is the call graph for this function:

◆ client()

uint8_t ESP3DOutput::client ( )
inline

Definition at line 79 of file esp3doutput.h.

Here is the caller graph for this function:

◆ dispatch()

size_t ESP3DOutput::dispatch ( uint8_t *  sbuf,
size_t  len 
)

Definition at line 87 of file esp3doutput.cpp.

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

◆ flush()

void ESP3DOutput::flush ( )

Definition at line 128 of file esp3doutput.cpp.

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

◆ isOutput()

bool ESP3DOutput::isOutput ( uint8_t  flag,
bool  fromsettings = false 
)
static

Definition at line 78 of file esp3doutput.cpp.

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

◆ printERROR()

size_t ESP3DOutput::printERROR ( const char *  s,
int  code_error = 200 
)

Definition at line 247 of file esp3doutput.cpp.

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

◆ printLN()

size_t ESP3DOutput::printLN ( const char *  s)

Definition at line 165 of file esp3doutput.cpp.

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

◆ printMSG()

size_t ESP3DOutput::printMSG ( const char *  s,
bool  withNL = true 
)

Definition at line 190 of file esp3doutput.cpp.

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

◆ write() [1/7]

size_t ESP3DOutput::write ( const char *  s)
inline

Definition at line 59 of file esp3doutput.h.

Here is the call graph for this function:

◆ write() [2/7]

size_t ESP3DOutput::write ( const uint8_t *  buffer,
size_t  size 
)

Definition at line 361 of file esp3doutput.cpp.

Here is the call graph for this function:

◆ write() [3/7]

size_t ESP3DOutput::write ( int  n)
inline

Definition at line 75 of file esp3doutput.h.

Here is the call graph for this function:

◆ write() [4/7]

size_t ESP3DOutput::write ( long  n)
inline

Definition at line 67 of file esp3doutput.h.

Here is the call graph for this function:

◆ write() [5/7]

size_t ESP3DOutput::write ( uint8_t  c)

Definition at line 322 of file esp3doutput.cpp.

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

◆ write() [6/7]

size_t ESP3DOutput::write ( unsigned int  n)
inline

Definition at line 71 of file esp3doutput.h.

Here is the call graph for this function:

◆ write() [7/7]

size_t ESP3DOutput::write ( unsigned long  n)
inline

Definition at line 63 of file esp3doutput.h.

Here is the call graph for this function:

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