25 #ifndef __TPIE_PROGRESS_INDICATOR_SUBINDICATOR_H__
26 #define __TPIE_PROGRESS_INDICATOR_SUBINDICATOR_H__
43 virtual void push_breadcrumb(
const char * crumb, description_importance importance);
44 virtual void pop_breadcrumb();
45 virtual void init(stream_size_type range);
48 void set_crumb(
const std::string & c) {m_crumb = c;}
51 stream_size_type outerRange,
53 description_importance importance=IMPORTANCE_MAJOR,
54 log_group_mode::type logGroupMode=log_group_mode::enabled);
61 stream_size_type outerRange,
63 description_importance importance=IMPORTANCE_MAJOR,
64 log_group_mode::type logGroupMode=log_group_mode::enabled);
70 stream_size_type m_outerRange;
71 stream_size_type m_oldValue;
73 description_importance m_importance;
74 log_group_mode::type m_logGroupMode;
82 #endif //__TPIE_PROGRESS_INDICATOR_SUBINDICATOR_H__
The base class for indicating the progress of some task.
virtual void done()
Advance the indicator to the end.
This file contains a few deprecated definitions for legacy code.
Miscellaneous utility functions.
virtual void init(stream_size_type range)
Initialize progress indicator.
void refresh()
Display the indicator.