IScanEngineDevice Class Referenceabstract
Abstract class which implements all the minimum necessary logic which all scanner must have.
#include <iScanEngineDevice.h>
Public Member Functions | |
const std::string & | getScannerid () const |
virtual boost::system::error_code | getLastScannedCode (std::string &scanned_code)=0 |
boost::system::error_code | subscribe (ScanEngineDeviceObserver *observer) |
boost::system::error_code | unsubscribe (ScanEngineDeviceObserver *observer) |
Protected Attributes | |
std::string | m_scannerid |
std::vector< ScanEngineDeviceObserver * > | mObserversList |
Member Function Documentation
const std::string& getScannerid | ( | ) | const |
Gets scanner id
- Returns
- scanner id