#include <SFBPrint.h>
Data Fields | |
void(* | print )(u8 face, u8 byte) |
Handler to print a single data byte, or 0 if undefined. | |
void(* | println )(u8 face) |
Handler to print a packet terminator, or 0 if undefined. | |
void(* | printFaceCode )(u8 face) |
Handler to print a single-byte representation of its face code, or 0 if undefined. | |
const char *(* | getFaceName )(u8 face) |
Handler to return a zstring name of this FacePrinter, or 0 if undefined. |
It contains up to four function pointers describing how to:
The latter two methods are optional and may be null pointers. The first two methods are must either both be non-null (the typical case) or both null (e.g., for a '/dev/null' face that discards all output).
const char*(* FacePrinter::getFaceName)(u8 face) |
Handler to return a zstring name of this FacePrinter, or 0 if undefined.
void(* FacePrinter::printFaceCode)(u8 face) |
Handler to print a single-byte representation of its face code, or 0 if undefined.