Printable

From chipKIT
Jump to: navigation, search
Printable
Quick Look
Hardware (External hardware)
Core Printable.h

Printable class provides a way for new classes to allow themselves to be printed.

Detailed Introduction

The Printable class provides a way for new classes to allow themselves to be printed. By deriving from Printable and implementing the printTo method, it will then be possible for users to print out instances of this class by passing them into the usual. Print::print and Print::println methods.

Full class usage

Printable

Virtual Public Functions

printTo(Print& p)

    virtual size_t printTo(Print& p) const = 0;


External Links