IJobObserver.h
Go to the documentation of this file.
1 /********************************************************************
2 *
3 * Project Artec 3D Scanning SDK
4 *
5 * Purpose: Get events from IJob interface.
6 *
7 * Copyright: Artec Group
8 *
9 ********************************************************************/
10 
11 #ifndef _IJOBOBSERVER_H_
12 #define _IJOBOBSERVER_H_
13 
14 #include <artec/sdk/base/Errors.h>
15 #include <artec/sdk/base/RefBase.h>
16 
17 namespace artec { namespace sdk { namespace base
18 {
19 
20 class IJobObsever : public IRef
21 {
22 public:
23  /// get description of algorithm
24  virtual void completed(ErrorCode result) = 0;
25 };
26 
27 /// You can inherit this class instead of IJobObserver interface
28 /// Reference counting already implemented
29 class JobObserverBase : public RefBase<IJobObsever>
30 {
31 };
32 
33 } } } // namespace artec::sdk::base
34 
35 #endif // _IJOBOBSERVER_H_
virtual void completed(ErrorCode result)=0
get description of algorithm