diff --git a/Modules/Core/Common/include/otbStandardOneLineFilterWatcher.h b/Modules/Core/Common/include/otbStandardOneLineFilterWatcher.h index 9b49904d563a136617421067e20c6064f0471b5e..329e78b5cb91249e9c7dd39cc947ddc4c57564b0 100644 --- a/Modules/Core/Common/include/otbStandardOneLineFilterWatcher.h +++ b/Modules/Core/Common/include/otbStandardOneLineFilterWatcher.h @@ -99,13 +99,17 @@ protected: private: - /** Stars coutning */ + /** Stars counting */ int m_StarsCount; + /** Current number of stars, we keep track of this to avoid reprinting the + * progress if it hasn't changed */ int m_CurrentNbStars; bool m_CoutIsConsole; + /** If the output is not interactive (e.g. it is redirected to a file), it + * is buffered and only written at the end of the processing */ std::string m_Buffer; /** The point to the callback used for printing. It is set to the default