Progress.h

Go to the documentation of this file.
00001 #ifndef X3DTK_PROGRESS_H
00002 #define X3DTK_PROGRESS_H
00003 
00004 #include "Platform.h"
00005 #include "Signal.h"
00006 
00007 namespace X3DTK {
00008 
00015 class Progress
00016 {
00017 public:
00019   Progress(int step = 1);
00020 
00022   void setTotalSteps(int totalSteps);
00024   void setProgress(int progress);
00025 
00027   int getTotalSteps() const;
00029   int getProgress() const;
00030 
00031 private:  
00032   int _totalSteps;
00033   int _progress;
00034   int _step;
00035   int _inc;
00036 };
00037 
00038 }
00039 
00040 #endif

Generated on Fri Jul 30 12:02:28 2004 for X3DToolKit by doxygen 1.3.6