modm API documentation
modm::log::StdColour< TEXT, BACKGROUND, STYLE > Class Template Reference

This style colours the given stream in the color given by the template argument. More...

#include <modm/debug/logger/style/std_colour.hpp>

Inheritance diagram for modm::log::StdColour< TEXT, BACKGROUND, STYLE >:
modm::log::Style< STYLE >

Public Typedefs

typedef STYLE Type
 

Public Member Functions

 StdColour (STYLE style)
 
 StdColour (IODevice &device)
 
void parseArg (int argc, char *argv)
 
void write (char c)
 Write one char to the sink.
 
void write (const char *s)
 Write a string that terminates with '\0' to the sink.
 
void flush ()
 The message is complete and can be written/send/displayed.
 

Detailed Description

template<Colour TEXT, Colour BACKGROUND, typename STYLE = DefaultStyle>
class modm::log::StdColour< TEXT, BACKGROUND, STYLE >

This style colours the given stream in the color given by the template argument.

See also
http://mathias-kettner.de/lw_farbige_ausgabe_auf_der_konsole.html
Author
Martin Rosekeit martin.rosekeit@rwth-aachen.de

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