Base::ConsoleObserver Class Reference

The console observer class This class distribute the Messages issued to the FCConsole class. More...

#include <Console.h>

Inheritance diagram for Base::ConsoleObserver:
Base::ConsoleObserverFile Base::ConsoleObserverStd Gui::DockWnd::ReportOutput Gui::GUIConsole Gui::SplashObserver Gui::StatusBarObserver

List of all members.

Public Member Functions

 ConsoleObserver ()
virtual void Error (const char *)=0
 get calles when a Error is issued
virtual void Log (const char *)
 get calles when a Log Message is issued
virtual void Message (const char *)
 get calles when a Message is issued
virtual const char * Name (void)
virtual void Warning (const char *)
 get calles when a Warning is issued
virtual ~ConsoleObserver ()

Public Attributes

bool bErr
bool bLog
bool bMsg
bool bWrn

Detailed Description

The console observer class This class distribute the Messages issued to the FCConsole class.

If you need to catch some of the Messages you need to inherit from this class and implement some of the methods.

See also:
Console

Definition at line 68 of file Console.h.


Constructor & Destructor Documentation

Base::ConsoleObserver::ConsoleObserver (  )  [inline]

Definition at line 71 of file Console.h.

virtual Base::ConsoleObserver::~ConsoleObserver (  )  [inline, virtual]

Definition at line 73 of file Console.h.


Member Function Documentation

virtual void Base::ConsoleObserver::Error ( const char *   )  [pure virtual]
virtual void Base::ConsoleObserver::Log ( const char *   )  [inline, virtual]

get calles when a Log Message is issued

Reimplemented in Base::ConsoleObserverFile, Base::ConsoleObserverStd, Gui::GUIConsole, Gui::StatusBarObserver, Gui::DockWnd::ReportOutput, and Gui::SplashObserver.

Definition at line 81 of file Console.h.

Referenced by Base::Builder3D::saveToLog().

virtual void Base::ConsoleObserver::Message ( const char *   )  [inline, virtual]

get calles when a Message is issued

Reimplemented in Base::ConsoleObserverFile, Base::ConsoleObserverStd, Gui::GUIConsole, Gui::StatusBarObserver, Gui::DockWnd::ReportOutput, and Gui::SplashObserver.

Definition at line 77 of file Console.h.

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

get calles when a Warning is issued

Reimplemented in Base::ConsoleObserverFile, Base::ConsoleObserverStd, Gui::GUIConsole, Gui::StatusBarObserver, Gui::DockWnd::ReportOutput, and Gui::SplashObserver.

Definition at line 75 of file Console.h.


Member Data Documentation


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

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