ARB
|
#include <arb_progress.h>
Public Member Functions | |
virtual | ~nestable () |
bool | this_or_recent_is_weighted () const |
bool | aborted () const |
virtual void | set_text (int level, const char *text)=0 |
virtual void | update_gauge (double gauge)=0 |
virtual void | dump () const |
void | child_sets_text (int level, const char *text) |
void | allow_title_reuse () |
void | update_parent_gauge (double gauge) |
void | child_terminated () |
void | initial_update () |
void | force_update () |
void | inc () |
void | inc_by (SINT count) |
void | inc_to (SINT x) |
void | inc_to_avoid_overflow (SINT x) |
void | done () |
void | auto_subtitles (const char *prefix) |
bool | owns (const counter *pwnd) const |
bool | is_correct_owner () const |
Static Public Member Functions | |
static SmartPtr< nestable > | create (const char *title, SINT overall_count, const double *phase1_fraction) |
static SmartPtr< nestable > | create_suppressor () |
static bool | have_weighted_progress () |
static void | show_comment (const char *comment) |
Protected Member Functions | |
virtual SmartPtr< nestable > | create_child_progress (const char *title, SINT overall_count, const weightable &speed_)=0 |
nestable (counter *counter_, bool has_title_, const weightable &speed_) | |
Protected Attributes | |
char * | name |
bool | has_title |
counter * | cntr |
weightable | speed |
Static Protected Attributes | |
static nestable * | recent = NULp |
static arb_status_implementation * | impl = NULp |
Definition at line 119 of file arb_progress.h.
|
inlineprotected |
Definition at line 140 of file arb_progress.h.
References arb_assert, is_correct_owner(), NULp, and recent.
|
inlinevirtual |
Definition at line 163 of file arb_progress.h.
References arb_assert, and cntr.
|
protectedpure virtual |
Referenced by create().
|
static |
Definition at line 357 of file arb_progress.cxx.
References active_arb_handlers, arb_assert, create_child_progress(), impl, implicated, ArbProgress::weightable::is_weighted(), recent, and arb_handlers::status.
Definition at line 368 of file arb_progress.cxx.
|
static |
|
inline |
Definition at line 179 of file arb_progress.h.
References ArbProgress::weightable::is_weighted(), and this_or_recent_is_weighted().
Referenced by this_or_recent_is_weighted().
bool nestable::aborted | ( | ) | const |
Definition at line 378 of file arb_progress.cxx.
References impl, and arb_status_implementation::user_abort.
Referenced by arb_progress::aborted().
Implemented in null_progress, and initial_progress.
Referenced by child_sets_text(), show_comment(), and arb_progress::subtitle().
|
pure virtual |
Implemented in null_progress, and initial_progress.
|
virtual |
Definition at line 192 of file arb_progress.h.
References ArbProgress::counter::has_auto_subtitles(), and set_text().
|
inline |
Definition at line 195 of file arb_progress.h.
Referenced by arb_progress::allow_title_reuse().
|
inline |
Definition at line 197 of file arb_progress.h.
References ArbProgress::counter::child_updates_gauge().
|
inline |
Definition at line 198 of file arb_progress.h.
References ArbProgress::counter::implicit_inc().
Referenced by arb_progress::sub_progress_skipped().
|
inline |
Definition at line 200 of file arb_progress.h.
References ArbProgress::counter::force_update().
|
inline |
Definition at line 201 of file arb_progress.h.
References ArbProgress::counter::force_update().
Referenced by arb_progress::force_update().
|
inline |
Definition at line 203 of file arb_progress.h.
References ArbProgress::counter::inc().
Referenced by arb_progress::inc().
|
inline |
Definition at line 204 of file arb_progress.h.
References arb_assert, and ArbProgress::counter::inc_by().
Referenced by arb_progress::inc_by().
|
inline |
Definition at line 205 of file arb_progress.h.
References ArbProgress::counter::inc_to().
Referenced by arb_progress::inc_to().
|
inline |
Definition at line 206 of file arb_progress.h.
References ArbProgress::counter::inc_to_avoid_overflow().
Referenced by arb_progress::inc_to_avoid_overflow().
|
inline |
Definition at line 207 of file arb_progress.h.
References ArbProgress::counter::done().
Referenced by arb_progress::done().
|
inline |
Definition at line 208 of file arb_progress.h.
References ArbProgress::counter::auto_subtitles().
Referenced by arb_progress::auto_subtitles().
|
inlinestatic |
Definition at line 210 of file arb_progress.h.
References ArbProgress::LEVEL_SUBTITLE, and set_text().
Referenced by arb_progress::show_comment().
|
inline |
Definition at line 214 of file arb_progress.h.
Referenced by ArbProgress::counter::has_correct_ownership(), and is_correct_owner().
|
inline |
Definition at line 215 of file arb_progress.h.
References ArbProgress::counter::owned_by(), and owns().
Referenced by nestable().
|
protected |
Definition at line 125 of file arb_progress.h.
|
protected |
Definition at line 131 of file arb_progress.h.
|
protected |
Definition at line 132 of file arb_progress.h.
Referenced by ~nestable().
|
protected |
Definition at line 133 of file arb_progress.h.
Definition at line 135 of file arb_progress.h.
Referenced by create(), and nestable().
|
staticprotected |
Definition at line 136 of file arb_progress.h.