Using a simple console based Progress Indicator on the method STEPCAFControl_Reader::Transfer

I am trying to leverage the argument of the method Standard_Boolean Transfer (const Handle(TDocStd_Document)& doc, const Message_ProgressRange& theProgress = Message_ProgressRange()); to show a simple console-based progress output. I am not able to get any understandable documentation of the correct usage.

gkv311 n's picture

The documentation of progress indication mechanism with some examples could be found within documentation of related classes like Message_ProgressScope.

In this small article you may an find another description of this mechanism and code sample implementing progress indicator printing progress into console.

And src/Draw/Draw_ProgressIndicator.cxx class is another reference implementing progress indicator in Draw Harness.