IScannerObserver.h
Go to the documentation of this file.
1 /********************************************************************
2 *
3 * Project Artec 3D Scanning SDK
4 *
5 * Purpose: Interface for receiving events from the scanner
6 *
7 * Copyright: Artec Group
8 *
9 ********************************************************************/
10 #ifndef _ISCANNEREVENT_H_
11 #define _ISCANNEREVENT_H_
12 
13 #include <artec/sdk/base/IRef.h>
15 #include <artec/sdk/base/RefBase.h>
16 
17 namespace artec { namespace sdk { namespace capturing
18 {
19 
21 {
22 public:
23  /// button handling
24  virtual void buttonPressed(ScannerButton button) = 0;
25 
26  /// overheating control
27  virtual void deviceOverheated() = 0;
28 
29  /// back to normal temperature
30  virtual void deviceTemperatureBackToNormal() = 0;
31 
32  /// scanner was disconnected
33  virtual void deviceDisconnected() = 0;
34 };
35 
36 /// You can inherit this class instead of IScannerObserver interface
37 /// Reference counting already implemented
38 class ScannerObserverBase : public artec::sdk::base::RefBase<IScannerObserver>
39 {
40 };
41 
42 } } } // namespace artec::sdk::capturing
43 
44 #endif // _ISCANNEREVENT_H_
virtual void deviceOverheated()=0
overheating control
virtual void deviceTemperatureBackToNormal()=0
back to normal temperature
virtual void buttonPressed(ScannerButton button)=0
button handling
virtual void deviceDisconnected()=0
scanner was disconnected