PropWare  3.0.0.229
C++ objects and CMake build system for Parallax Propeller
printcapable.h
Go to the documentation of this file.
1 
26 #pragma once
27 
28 // Need to include this since PropWare.h is not imported
29 #ifdef __PROPELLER_COG__
30 #define PropWare PropWare_cog
31 #endif
32 
33 namespace PropWare {
34 
38 class PrintCapable {
39  public:
45  virtual void put_char (const char c) = 0;
46 
58  virtual void puts (const char string[]) = 0;
59 };
60 
61 }
PropWare::PrintCapable
Interface for all classes capable of printing.
Definition: printcapable.h:38
PropWare::PrintCapable::puts
virtual void puts(const char string[])=0
Send a null-terminated character array. Though this method could be created using put_char,...
PropWare
Generic definitions and functions for the Parallax Propeller.
Definition: runnable.h:33
PropWare::PrintCapable::put_char
virtual void put_char(const char c)=0
Print a single character.