Open CASCADE Technology 7.8.2.dev
|
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. | |
Message_ProgressRange (const Message_ProgressRange &theOther) | |
Copy constructor disarms the source. | |
Message_ProgressRange & | operator= (const Message_ProgressRange &theOther) |
Copy assignment disarms the source. | |
Standard_Boolean | UserBreak () const |
Returns true if ProgressIndicator signals UserBreak. | |
Standard_Boolean | More () const |
Returns false if ProgressIndicator signals UserBreak. | |
Standard_Boolean | IsActive () const |
Returns true if this progress range is attached to some indicator. | |
void | Close () |
Closes the current range and advances indicator. | |
~Message_ProgressRange () | |
Destructor. | |
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.