IProgressInfo.h
Go to the documentation of this file.
1 /********************************************************************
2 *
3 * Project Artec 3D Scanning SDK
4 *
5 * Purpose: Progress notifier interface for IO operations
6 *
7 * Copyright: Artec Group
8 *
9 ********************************************************************/
10 
11 #ifndef _IPROGRESSINFO_H_
12 #define _IPROGRESSINFO_H_
13 
15 
16 namespace artec { namespace sdk { namespace base
17 {
18 
20 {
21  DetailsInfo_NoStep, /* singe action algorithm */
22 
23  DetailsInfo_Step1_From1, /* numerated step info */
24 
27 
31 
36 
42 
49 
57 
66 
67  DetailsInfo_Geometry, /* save/load geometry data */
68  DetailsInfo_Textures, /* save/load texture data */
69 
70  DetailsInfo_ForceDword = 0x7fffffff /* force 32-bit size enum */
71 };
72 
73 class IProgressInfo : public IProgress
74 {
75 public:
76  virtual void notify(DetailsInfo details) = 0;
77 };
78 
79 /// You can inherit this class instead of IProgressInfo interface
80 /// Reference counting already implemented
81 class ProgressInfoBase : public RefBase<IProgressInfo>
82 {
83 };
84 
85 } } } // namespace artec::sdk::base
86 
87 #endif // _IPROGRESSINFO_H_
virtual void notify(DetailsInfo details)=0