AppBase::StreamProgressReporter Class Reference

#include <ProgressReporterOld.h>

Inheritance diagram for AppBase::StreamProgressReporter:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 StreamProgressReporter (double maxProgress, std::ostream &out=std::cout)
virtual ~StreamProgressReporter ()
virtual bool increaseProgress (double delta)
virtual bool increaseProgress (double delta, const std::string &msg)
virtual void setMessage (const std::string &msg)
void print ()

Private Attributes

std::string m_message
std::ostreamm_stream

Detailed Description

Definition at line 110 of file ProgressReporterOld.h.


Constructor & Destructor Documentation

AppBase::StreamProgressReporter::StreamProgressReporter ( double  maxProgress,
std::ostream out = std::cout 
)

Definition at line 88 of file ProgressReporterOld.cpp.

AppBase::StreamProgressReporter::~StreamProgressReporter (  )  [virtual]

Definition at line 94 of file ProgressReporterOld.cpp.

References m_stream.


Member Function Documentation

bool AppBase::StreamProgressReporter::increaseProgress ( double  delta,
const std::string msg 
) [virtual]

Reimplemented from AppBase::ProgressReporter.

Definition at line 109 of file ProgressReporterOld.cpp.

References m_message, AppBase::ProgressReporter::m_progress, and print().

bool AppBase::StreamProgressReporter::increaseProgress ( double  delta  )  [virtual]

Implements AppBase::ProgressReporter.

Definition at line 100 of file ProgressReporterOld.cpp.

References AppBase::ProgressReporter::m_progress, and print().

void AppBase::StreamProgressReporter::print (  ) 

Definition at line 126 of file ProgressReporterOld.cpp.

References AppBase::ProgressReporter::m_maxProgress, m_message, AppBase::ProgressReporter::m_progress, and m_stream.

Referenced by increaseProgress(), and setMessage().

void AppBase::StreamProgressReporter::setMessage ( const std::string msg  )  [virtual]

Reimplemented from AppBase::ProgressReporter.

Definition at line 119 of file ProgressReporterOld.cpp.

References m_message, and print().


Member Data Documentation

std::string AppBase::StreamProgressReporter::m_message [private]

Definition at line 133 of file ProgressReporterOld.h.

Referenced by increaseProgress(), print(), and setMessage().

std::ostream& AppBase::StreamProgressReporter::m_stream [private]

Definition at line 134 of file ProgressReporterOld.h.

Referenced by print(), and ~StreamProgressReporter().


The documentation for this class was generated from the following files:
Generated on 24 Nov 2014 for Hugintrunk by  doxygen 1.4.7