#include <iostream>
#include <string>
#include <boost/progress.hpp>
Namespaces | |
| namespace | ace |
| namespace | ace::notifier |
Classes | |
| class | ace::Notifier |
| Notifier is very simple - just binds itself to given stream and flushes passed notification to that stream. More... | |
| class | ace::ProgressNotifier |
| ProgressNotifier holds static stored timer within, which starts timing of program execution time immediately on program start. More... | |
Defines | |
| #define | _BOOST_ON |
Typedefs | |
| typedef boost::progress_display | ace::progress_display_t |
| Simply progress bar display is provided by one of boost libraries. | |
Functions | |
| void | ace::print_usage (void) |
| Procedure prints program usage information. | |
This module provides two global objects that ease error and progress notifying from inside of various methods. This approach is prefered to direct writes to streams, because it keeps code more consistent. Moreover progress notifier also hold static timer, which does measure of program execution time and so it's easy to print out progress notifications with time elapsed so far.
(C) Ceslav Przywara 2008, MFF UK Prague
| #define _BOOST_ON |
1.5.6