contrib/mul/mbl/mbl_progress_null.h
Go to the documentation of this file.
00001 #ifndef mbl_progress_null_h_
00002 #define mbl_progress_null_h_
00003 #ifdef VCL_NEEDS_PRAGMA_INTERFACE
00004 #pragma interface
00005 #endif
00006 //:
00007 // \file
00008 // \brief Progress object that does nothing.
00009 // \author Graham Vincent and Kevin de Souza
00010 // \date 25 Feb 2005
00011 
00012 #include <mbl/mbl_progress.h>
00013 
00014 //========================================================================
00015 //: Progress object that does nothing.
00016 class mbl_progress_null : public mbl_progress
00017 {
00018  public:
00019   //: Constructor
00020   mbl_progress_null();
00021 
00022   //: Destructor
00023   ~mbl_progress_null();
00024 
00025   //: Name of the class
00026   virtual vcl_string is_a() const;
00027 
00028  protected:
00029   virtual void on_set_estimated_iterations(const vcl_string& identifier,
00030                                            const int total_iterations);
00031 
00032   virtual void on_set_progress(const vcl_string& identifier,
00033                                const int progress);
00034 
00035   virtual void on_end_progress(const vcl_string& identifier);
00036 };
00037 
00038 //========================================================================
00039 
00040 #endif // mbl_progress_null_h_