|
|
||||||
|
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 319 of file cfl_utils.h.
Constructor & Destructor Documentation◆ ConsoleOut()
Constructor. Definition at line 408 of file cfl_utils.cpp. ◆ ~ConsoleOut()
Destructor. Definition at line 411 of file cfl_utils.cpp. Member Function Documentation◆ DoWrite()
Writing hook. Re-implement this function in order to grab all output Definition at line 439 of file cfl_utils.cpp. ◆ Filename()
Query filename. Definition at line 328 of file cfl_utils.h. ◆ G()
Acess static instance. Definition at line 415 of file cfl_utils.cpp. ◆ Mute() [1/2]
Definition at line 333 of file cfl_utils.h. ◆ Mute() [2/2]
Mute. Definition at line 332 of file cfl_utils.h. ◆ Redirect()
Redirect. Definition at line 419 of file cfl_utils.cpp. ◆ ToFile()
Redirect to file. Definition at line 426 of file cfl_utils.cpp. ◆ Verb() [1/2]
Definition at line 336 of file cfl_utils.h. ◆ Verb() [2/2]
Verbosity. Definition at line 335 of file cfl_utils.h. ◆ Write()
Write a std::string message (optional progress report and verbosity) Definition at line 434 of file cfl_utils.cpp. Member Data Documentation◆ mFilename
Private record file name. Definition at line 348 of file cfl_utils.h. ◆ mMute
Mute flag. Definition at line 350 of file cfl_utils.h. ◆ mVerb
Definition at line 351 of file cfl_utils.h. ◆ pInstance
Redirect. Definition at line 353 of file cfl_utils.h. ◆ pStream
Private output stream. Definition at line 346 of file cfl_utils.h. ◆ smpInstance
Private static instance. Definition at line 355 of file cfl_utils.h. The documentation for this class was generated from the following files: libFAUDES 2.32f --- 2024.12.22 --- c++ api documentaion by doxygen |