ME507 Utility Library  0.2.1
Mechatronics Course Support Software for ARM/Arduino/FreeRTOS
DevNull Class Reference

Class which doesn't print anything when debugging printouts have been turned off. More...

#include <devnull.h>

Public Member Functions

 DevNull (void)
 

Detailed Description

Class which doesn't print anything when debugging printouts have been turned off.

This class doesn't really do anything. It is provided as a target for definitions of operator<< as provided by the PrintStream library, which originally comes from https://github.com/tttapa/Arduino-PrintStream and has been forked on the Spluttflob ME507 GitHub site.

For usage instructions, see the documentation for devnull.h.

Constructor & Destructor Documentation

◆ DevNull()

DevNull::DevNull ( void  )
inline

The constructor creates an inert debug printer which does nothing except take the place of a Print child class such as a serial port when one doesn't want debugging printouts but would rather not delete code which creates those printouts...because who knows when a bug may appear and those printouts will be needed again.


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