|
|
||||||
|
Public Member Functions |
Static Public Member Functions |
Protected Member Functions |
Private Attributes |
Static Private Attributes |
List of all members
faudes::ConsoleOut Class Reference Detailed DescriptionConsole Out. All console out messages (errors, progress report etc) are meant to use the global ConsoleOut instance gConsoleOut, presumably using the convenience macro FAUDES_WRITE_CONSOLE(). The default ConsoleOut::G() provides optional redirection to a named file by G()->ConsoleOut.ToFile("filename"). libFAUDES itself does not set/respect verbosity levels for its diagnostic output, this feature is implemented to support console applications. The main motivation of the entire construct is to support gui applications that may grab all console output by 1) deriving a specialised class from ConsoleOut and 2) redirection by ConsoleOut::G()->Redirect(derived_class_instance). Definition at line 324 of file cfl_helper.h.
Constructor & Destructor Documentation◆ ConsoleOut()
Constructor. Definition at line 396 of file cfl_helper.cpp. ◆ ~ConsoleOut()
Destructor. Definition at line 399 of file cfl_helper.cpp. Member Function Documentation◆ DoWrite()
Writing hook. Re-implement this function in order to grab all output Definition at line 427 of file cfl_helper.cpp. ◆ Filename()
Query filename. Definition at line 333 of file cfl_helper.h. ◆ G()
Acess static instance. Definition at line 403 of file cfl_helper.cpp. ◆ Mute() [1/2]
Definition at line 338 of file cfl_helper.h. ◆ Mute() [2/2]
Mute. Definition at line 337 of file cfl_helper.h. ◆ Redirect()
Redirect. Definition at line 407 of file cfl_helper.cpp. ◆ ToFile()
Redirect to file. Definition at line 414 of file cfl_helper.cpp. ◆ Verb() [1/2]
Definition at line 341 of file cfl_helper.h. ◆ Verb() [2/2]
Verbosity. Definition at line 340 of file cfl_helper.h. ◆ Write()
Write a std::string message (optional progress report and verbosity) Definition at line 422 of file cfl_helper.cpp. Member Data Documentation◆ mFilename
Private record file name. Definition at line 353 of file cfl_helper.h. ◆ mMute
Mute flag. Definition at line 355 of file cfl_helper.h. ◆ mVerb
Definition at line 356 of file cfl_helper.h. ◆ pInstance
Redirect. Definition at line 358 of file cfl_helper.h. ◆ pStream
Private output stream. Definition at line 351 of file cfl_helper.h. ◆ smpInstance
Private static instance. Definition at line 360 of file cfl_helper.h. The documentation for this class was generated from the following files: libFAUDES 2.32b --- 2024.03.01 --- c++ api documentaion by doxygen |