OOStuBS - Technische Informatik II (TI-II)  2.4
Öffentliche Methoden | Aufstellung aller Elemente
Log Klassenreferenz

Logging facility for debug messages. Mehr ...

#include <log.h>

Klassendiagramm für Log:
Inheritance graph
[Legende]
Zusammengehörigkeiten von Log:
Collaboration graph
[Legende]

Ö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
- Öffentliche Methoden geerbt von O_Stream
 O_Stream ()
 Default constructor initialising with dezimal system.
O_Streamoperator<< (char value)
 overloded output operator
O_Streamoperator<< (unsigned char value)
 overloded output operator
O_Streamoperator<< (char *value)
 overloded output operator
O_Streamoperator<< (const char *value)
 overloded output operator
O_Streamoperator<< (unsigned short value)
 overloded output operator
O_Streamoperator<< (short value)
 overloded output operator
O_Streamoperator<< (unsigned int value)
 overloded output operator
O_Streamoperator<< (int value)
 overloded output operator
O_Streamoperator<< (unsigned long value)
 overloded output operator
O_Streamoperator<< (long value)
 overloded output operator
O_Streamoperator<< (void *value)
 overloded output operator
O_Streamoperator<< (FGColor fgColor)
 overloded output manipulator
O_Streamoperator<< (BGColor bgColor)
 overloded output manipulator
O_Streamoperator<< (Blink blink)
 overloded output manipulator
O_Streamoperator<< (O_Stream &(*f)(O_Stream &))
 overloaded output operator for manipulator functions
virtual ~O_Stream ()
 Default Destructor.
- Öffentliche Methoden geerbt von Serial
void print (const char *string, unsigned int n)
 gibt eine Zeichenkette an der aktuellen Position aus
 Serial ()
 Constructor.
 ~Serial ()
 Destructor.

Weitere Geerbte Elemente

- Öffentliche Typen geerbt von O_Stream
enum  Base { bin = 2, oct = 8, dec = 10, hex = 16 }
 basis for display of digits eg. 2, 8, 10 or 16 Mehr ...
- Öffentliche Attribute geerbt von O_Stream
Base base
 current selected base
- Geschützte Methoden geerbt von Stringbuffer
void put (char c)
 insert a character into the buffer
 Stringbuffer ()
 Default constructor setting the buffer empty.
virtual ~Stringbuffer ()
 Default destructor of Stringbuffer.
- Geschützte Attribute geerbt von O_Stream
int bgColor
bool blink
int fgColor

Ausführliche Beschreibung

Logging facility for debug messages.

Logs passed data to serial output, iof available.

Definiert in Zeile 20 der Datei log.h.

Dokumentation der Elementfunktionen

void Log::flush ( )
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.

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

void Log::setAttributes ( int  fgColor,
int  bgColor,
bool  blink 
)
virtual

does nothing, since coloring is not available over the serial console

Implementiert O_Stream.

Definiert in Zeile 16 der Datei log.cc.


Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Dateien: