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 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.
 
- Public Member Functions inherited from modm::log::Style< STYLE >
 Style (STYLE style)
 
 Style (IODevice &device)
 
void parseArg (int argc, char *argv)
 parse arguments that are given with the start of the program
 
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.
 

Additional Inherited Members

- Public Typedefs inherited from modm::log::Style< STYLE >
typedef STYLE Type
 

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: