PLearn 0.1
PLearn::NullProgressBarPlugin Struct Reference

Simpler plugin that doesn't display a progress bar at all. More...

#include <ProgressBar.h>

Inheritance diagram for PLearn::NullProgressBarPlugin:
Inheritance graph
[legend]
Collaboration diagram for PLearn::NullProgressBarPlugin:
Collaboration graph
[legend]

List of all members.


Detailed Description

Simpler plugin that doesn't display a progress bar at all.

Useful to disable progress bars for operations that are known to be short. Use it as follows: PP<ProgressBarPlugin> OldPlugin = ProgressBar::getCurrentPlugin(); ProgressBar::setPlugin(new NullProgressBarPlugin); ... short operations that might otherwise have plugins here ... ProgressBar::setPlugin(OldPlugin);

Definition at line 141 of file ProgressBar.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines