Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

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 97 of file ProgressBar.h.


The documentation for this struct was generated from the following file:
Generated on Tue Aug 17 16:22:42 2004 for PLearn by doxygen 1.3.7