Base::ConsoleObserverFile Class Reference

The LoggingConsoleObserver class This class is used by the main modules to write Console messages and logs to a file. More...

#include <Console.h>

Inheritance diagram for Base::ConsoleObserverFile:
Base::ConsoleObserver

List of all members.

Public Member Functions

 ConsoleObserverFile (const char *sFileName)
virtual void Error (const char *sErr)
 get calles when a Error is issued
virtual void Log (const char *sLog)
 get calles when a Log Message is issued
virtual void Message (const char *sMsg)
 get calles when a Message is issued
const char * Name (void)
virtual void Warning (const char *sWarn)
 get calles when a Warning is issued
virtual ~ConsoleObserverFile ()

Protected Attributes

Base::ofstream cFileStream

Detailed Description

The LoggingConsoleObserver class This class is used by the main modules to write Console messages and logs to a file.

Definition at line 199 of file Console.h.


Constructor & Destructor Documentation

ConsoleObserverFile::ConsoleObserverFile ( const char *  sFileName  ) 

Definition at line 564 of file Console.cpp.

References cFileStream, Base::Console(), and Base::ConsoleSingleton::Warning().

ConsoleObserverFile::~ConsoleObserverFile (  )  [virtual]

Definition at line 574 of file Console.cpp.

References cFileStream.


Member Function Documentation

void ConsoleObserverFile::Error ( const char *   )  [virtual]

get calles when a Error is issued

Implements Base::ConsoleObserver.

Definition at line 591 of file Console.cpp.

References cFileStream.

void ConsoleObserverFile::Log ( const char *   )  [virtual]

get calles when a Log Message is issued

Reimplemented from Base::ConsoleObserver.

Definition at line 597 of file Console.cpp.

References cFileStream.

void ConsoleObserverFile::Message ( const char *   )  [virtual]

get calles when a Message is issued

Reimplemented from Base::ConsoleObserver.

Definition at line 585 of file Console.cpp.

References cFileStream.

const char* Base::ConsoleObserverFile::Name ( void   )  [inline, virtual]

Reimplemented from Base::ConsoleObserver.

Definition at line 208 of file Console.h.

void ConsoleObserverFile::Warning ( const char *   )  [virtual]

get calles when a Warning is issued

Reimplemented from Base::ConsoleObserver.

Definition at line 579 of file Console.cpp.

References cFileStream.


Member Data Documentation

Definition at line 211 of file Console.h.

Referenced by ConsoleObserverFile(), Error(), Log(), Message(), Warning(), and ~ConsoleObserverFile().


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

Generated on Wed Nov 23 19:01:46 2011 for FreeCAD by  doxygen 1.6.1