OOStuBS - Technische Informatik II (TI-II)
2.4
|
Logging facility for debug messages. Mehr ...
#include <log.h>
Öffentliche Methoden | |
virtual void | flush () |
flush the content of the internal buffer | |
virtual void | setAttributes (int fgColor, int bgColor, bool blink) |
does nothing, since coloring is not available over the serial console | |
![]() | |
O_Stream () | |
Default constructor initialising with dezimal system. | |
O_Stream & | operator<< (char value) |
overloded output operator | |
O_Stream & | operator<< (unsigned char value) |
overloded output operator | |
O_Stream & | operator<< (char *value) |
overloded output operator | |
O_Stream & | operator<< (const char *value) |
overloded output operator | |
O_Stream & | operator<< (unsigned short value) |
overloded output operator | |
O_Stream & | operator<< (short value) |
overloded output operator | |
O_Stream & | operator<< (unsigned int value) |
overloded output operator | |
O_Stream & | operator<< (int value) |
overloded output operator | |
O_Stream & | operator<< (unsigned long value) |
overloded output operator | |
O_Stream & | operator<< (long value) |
overloded output operator | |
O_Stream & | operator<< (void *value) |
overloded output operator | |
O_Stream & | operator<< (FGColor fgColor) |
overloded output manipulator | |
O_Stream & | operator<< (BGColor bgColor) |
overloded output manipulator | |
O_Stream & | operator<< (Blink blink) |
overloded output manipulator | |
O_Stream & | operator<< (O_Stream &(*f)(O_Stream &)) |
overloaded output operator for manipulator functions | |
virtual | ~O_Stream () |
Default Destructor. | |
![]() | |
void | print (const char *string, unsigned int n) |
gibt eine Zeichenkette an der aktuellen Position aus | |
Serial () | |
Constructor. | |
~Serial () | |
Destructor. |
Weitere Geerbte Elemente | |
![]() | |
enum | Base { bin = 2, oct = 8, dec = 10, hex = 16 } |
basis for display of digits eg. 2, 8, 10 or 16 Mehr ... | |
![]() | |
Base | base |
current selected base | |
![]() | |
void | put (char c) |
insert a character into the buffer | |
Stringbuffer () | |
Default constructor setting the buffer empty. | |
virtual | ~Stringbuffer () |
Default destructor of Stringbuffer. | |
![]() | |
int | bgColor |
bool | blink |
int | fgColor |
Logging facility for debug messages.
Logs passed data to serial output, iof available.
|
virtual |
flush the content of the internal buffer
It is called automaticaly as soon as the buffer is full or if a newline is encountered.
Implementiert Stringbuffer.
Definiert in Zeile 11 der Datei log.cc.
|
virtual |