UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
u3d_progress.hpp
1 /* u3d_progress.hpp */
2 /* $Id: u3d_progress.hpp,v 1.1 2008/05/13 12:03:26 sad Exp $ */
3 //---------------------------------------------------------------------
4 #ifndef __u3d_progresshpp
5 #define __u3d_progresshpp
6 
7 #include <stdio.h>
8 
11 {
12 public:
13 
14  U3dProgress();
15  U3dProgress(float vmin, float vmax);
16 
17  virtual ~U3dProgress() {};
18 
20  virtual void setLimits(float vmin, float vmax);
21 
23  virtual void setValue(float value);
24 
26  void stop();
27 
29  bool isStopped();
30 
31 private:
32 
33  float m_vmn;
34  float m_vmx;
35  bool m_stop_flag;
37  int m_percent;
38 };
39 
40 
41 //---------------------------------------------------------------------
42 #endif /* u3d_progress.hpp */
bool isStopped()
virtual void setValue(float value)
virtual void setLimits(float vmin, float vmax)
Definition: u3d_progress.hpp:10