Open CASCADE Technology
7.7.0
|
Auxiliary class representing a part of the global progress scale allocated by a step of the progress scope, see Message_ProgressScope::Next(). More...
#include <Message_ProgressRange.hxx>
Public Member Functions | |
Message_ProgressRange () | |
Constructor of the empty range. More... | |
Message_ProgressRange (const Message_ProgressRange &theOther) | |
Copy constructor disarms the source. More... | |
Message_ProgressRange & | operator= (const Message_ProgressRange &theOther) |
Copy assignment disarms the source. More... | |
Standard_Boolean | UserBreak () const |
Returns true if ProgressIndicator signals UserBreak. More... | |
Standard_Boolean | More () const |
Returns false if ProgressIndicator signals UserBreak. More... | |
Standard_Boolean | IsActive () const |
Returns true if this progress range is attached to some indicator. More... | |
void | Close () |
Closes the current range and advances indicator. More... | |
~Message_ProgressRange () | |
Destructor. More... | |
Auxiliary class representing a part of the global progress scale allocated by a step of the progress scope, see Message_ProgressScope::Next().
A range object takes responsibility of advancing the progress by the size of allocated step, which is then performed depending on how it is used:
A range object can be copied, the responsibility for progress advancement is then taken by the copy. The same range object may be used (either copied or used to create scope) only once. Any consequent attempts to use range will give no result on the progress; in debug mode, an assert message will be generated.
|
inline |
Constructor of the empty range.
|
inline |
Copy constructor disarms the source.
|
inline |
Destructor.
|
inline |
Closes the current range and advances indicator.
|
inline |
Returns true if this progress range is attached to some indicator.
|
inline |
Returns false if ProgressIndicator signals UserBreak.
|
inline |
Copy assignment disarms the source.
|
inline |
Returns true if ProgressIndicator signals UserBreak.