ace::ProgressNotifier Class Reference

ProgressNotifier holds static stored timer within, which starts timing of program execution time immediately on program start. More...

#include <notifier.h>

Inherits ace::Notifier.

List of all members.

Public Member Functions

 ProgressNotifier (std::ostream &output)
 Object needs to know which output stream tie itself to.
void elapsed (const std::string &message) const
 Procedure prints out the message and then append ":" and elapsed time (on new line).

Static Private Attributes

static boost::progress_timer _timer
 Timer is picked up from boost library.


Detailed Description

ProgressNotifier holds static stored timer within, which starts timing of program execution time immediately on program start.

The notifications can then be printed with elapsed time appended. This functionality depends on availibility of boost.org progress library!


Constructor & Destructor Documentation

ace::ProgressNotifier::ProgressNotifier ( std::ostream &  output  )  [inline]

Object needs to know which output stream tie itself to.

Parameters:
output Reference to output stream to tie itself to.


Member Function Documentation

void ace::ProgressNotifier::elapsed ( const std::string &  message  )  const

Procedure prints out the message and then append ":" and elapsed time (on new line).

Parameters:
message Notification to be print.


Member Data Documentation

boost::progress_timer ace::ProgressNotifier::_timer [static, private]

Timer is picked up from boost library.


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

Generated on Wed Aug 6 23:25:51 2008 for PACE by  doxygen 1.5.6