Artec 3D Scanning SDK  2.0
Public Member Functions | List of all members
artec::sdk::capturing::IScannerObserver Class Referenceabstract

Interface to receive notifications about scanner's life events (e.g., buttons pressed). More...

#include <artec/sdk/capturing/IScannerObserver.h>

+ Inheritance diagram for artec::sdk::capturing::IScannerObserver:

Public Member Functions

virtual void buttonPressed (ScannerButton button)=0
 This method is called back when any button is pressed. More...
 
virtual void deviceOverheated ()=0
 This method is called back when the scanner is overheated. More...
 
virtual void deviceTemperatureBackToNormal ()=0
 This method is called back when the scanner temperature is down to the normal value. More...
 
virtual void deviceDisconnected ()=0
 This method is called back when the scanner is disconnected. More...
 
- Public Member Functions inherited from artec::sdk::base::IRef
virtual int addRef () const =0
 Increase object reference counter. More...
 
virtual int release () const =0
 Decrease object reference counter. More...
 

Detailed Description

Interface to receive notifications about scanner's life events (e.g., buttons pressed).

Note
Avoid displaying messages or performing any long-term operations in these callbacks. Use flags and output messages to the main thread.

Definition at line 25 of file IScannerObserver.h.

Member Function Documentation

virtual void artec::sdk::capturing::IScannerObserver::buttonPressed ( ScannerButton  button)
pure virtual

This method is called back when any button is pressed.

Note that not all buttons are supported for all scanners.

Parameters
button- button pressed.
virtual void artec::sdk::capturing::IScannerObserver::deviceDisconnected ( )
pure virtual

This method is called back when the scanner is disconnected.

Warning
Ensure that the scanner object is not deleted here as it may cause memory leak and corruption. Delete or release scanner object in the same thread where it was created.
virtual void artec::sdk::capturing::IScannerObserver::deviceOverheated ( )
pure virtual

This method is called back when the scanner is overheated.

virtual void artec::sdk::capturing::IScannerObserver::deviceTemperatureBackToNormal ( )
pure virtual

This method is called back when the scanner temperature is down to the normal value.


The documentation for this class was generated from the following file: