Main Page | Modules | Namespace List | Class Hierarchy | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages

Progress.h

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

Generated on Mon Apr 5 16:43:52 2004 for X3DToolKit by doxygen 1.3.3