The console observer class This class distribute the Messages issued to the FCConsole class. More...
#include <Console.h>
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 |
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.
Definition at line 68 of file Console.h.
virtual Base::ConsoleObserver::~ConsoleObserver | ( | ) | [inline, virtual] |
virtual void Base::ConsoleObserver::Error | ( | const char * | ) | [pure virtual] |
get calles when a Error is issued
Implemented in Base::ConsoleObserverFile, Base::ConsoleObserverStd, Gui::GUIConsole, Gui::StatusBarObserver, Gui::DockWnd::ReportOutput, and Gui::SplashObserver.
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.
virtual const char* Base::ConsoleObserver::Name | ( | void | ) | [inline, virtual] |
Reimplemented in Base::ConsoleObserverFile, Base::ConsoleObserverStd, Gui::GUIConsole, Gui::StatusBarObserver, and Gui::DockWnd::ReportOutput.
Definition at line 83 of file Console.h.
Referenced by Base::ConsoleSingleton::Get().
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 84 of file Console.h.
Referenced by Gui::DockWnd::ReportOutput::contextMenuEvent(), Gui::DockWnd::ReportOutput::isError(), Gui::DockWnd::ReportOutput::OnChange(), Gui::DockWnd::ReportOutput::onToggleError(), Base::ConsoleSingleton::SetEnabledMsgType(), Base::ConsoleSingleton::sPyGetStatus(), and Base::ConsoleSingleton::sPySetStatus().
Definition at line 84 of file Console.h.
Referenced by Base::ConsoleObserverStd::ConsoleObserverStd(), Gui::DockWnd::ReportOutput::contextMenuEvent(), Gui::DockWnd::ReportOutput::isLogging(), Gui::DockWnd::ReportOutput::OnChange(), Gui::DockWnd::ReportOutput::onToggleLogging(), Gui::DockWnd::ReportOutput::ReportOutput(), Base::ConsoleSingleton::SetEnabledMsgType(), Base::ConsoleSingleton::sPyGetStatus(), and Base::ConsoleSingleton::sPySetStatus().
Definition at line 84 of file Console.h.
Referenced by Base::ConsoleSingleton::SetEnabledMsgType(), Base::ConsoleSingleton::sPyGetStatus(), and Base::ConsoleSingleton::sPySetStatus().
Definition at line 84 of file Console.h.
Referenced by Gui::DockWnd::ReportOutput::contextMenuEvent(), Gui::DockWnd::ReportOutput::isWarning(), Gui::DockWnd::ReportOutput::OnChange(), Gui::DockWnd::ReportOutput::onToggleWarning(), Base::ConsoleSingleton::SetEnabledMsgType(), Base::ConsoleSingleton::sPyGetStatus(), and Base::ConsoleSingleton::sPySetStatus().