dpyImagerscanengine Namespace Reference

Deepsy Imagerscanengine namespace that includes the different enums, structs or method signatures that should be used.

Classes

struct  ScannerInfo
 Imager Scan Engine Info. More...
 
struct  UsbDevice
 

Typedefs

typedef boost::function< void(const bool &available)> service_availability_handler
 Prototype of the handler function used to monitor service availability. More...
 
typedef boost::function< void(boost::system::error_code &ec)> request_handler_function
 Handler for status function callback. More...
 
typedef boost::function< void(boost::system::error_code &ec, const std::string &scanned_code)> get_scanned_codes_function
 Prototype of the handler function for getScannedCodes method.
 
typedef boost::function< void(boost::system::error_code &ec, ListEvent event)> get_list_events_function
 Prototype of the handler function for getListEvents method.
 
typedef boost::function< void(boost::system::error_code &ec, ScannerStatus status)> get_scanner_status_function
 Prototype of the handler function for getScannerStatus method.
 
typedef boost::function< void(boost::system::error_code &ec, ScannerInfo info)> get_scanner_info_function
 Prototype of the handler function for getScannerInfo method.
 

Enumerations

enum  Actions { REBOOT = 0 }
 Actions to be requested via client. More...
 
enum  Illumination { ENABLE = 0, DISABLE = 1, BLINK = 2 }
 Illumination to be requested via client. More...
 
enum  Brightness { STANDARD = 0, LOW = 1 }
 Brightness to be requested via client. More...
 
enum  ReadMode { DISABLE = 0, AUTOTRIGGER = 1, MANUAL = 2 }
 Read Mode to be requested via client. More...
 
enum  Rotation { NONE = 0, HORIZONTAL = 1, VERTICAL = 2, HORIZONTAL_VERTICAL = 3 }
 Rotation Mode to be requested via client. More...
 
enum  DetectionMode { WHITE_ILLUMINATION = 0, NO_ILLUMINATION = 1, GREEN_AIMING = 2 }
 Detection Mode to be requested via client. More...
 
enum  SensitivityMode { SENSITIVE = 0, NORMAL = 1, INSENSITIVE = 2, AUTO = 3 }
 Sensitivity Mode to be requested via client. More...
 
enum  ScannerStatus { SCANNER_IDLE = 0, SCANNER_ERROR = 1 }
 Possible Scanner Status. More...
 
enum  ListEvent { ADDED = 0, REMOVED = 1 }
 

Typedef Documentation

typedef boost::function<void(boost::system::error_code& ec)> request_handler_function

This type of function is called when the request callback is done.

Parameters
error_codeerror code (if any)Result of an operation handler function.
typedef boost::function<void(const bool &available)> service_availability_handler
Parameters
availabletrue if the service is available, false otherwise

Enumeration Type Documentation

enum Actions
strong
Enumerator
REBOOT 

REBOOT.

enum Brightness
strong
Enumerator
STANDARD 

STANDARD.

LOW 

LOW.

enum DetectionMode
strong
Enumerator
WHITE_ILLUMINATION 

NONE.

NO_ILLUMINATION 

HORIZONTAL.

GREEN_AIMING 

VERTICAL.

enum Illumination
strong
Enumerator
ENABLE 

ENABLE.

DISABLE 

DISABLE.

BLINK 

BLINK.

enum ListEvent
Enumerator
ADDED 

ADDED.

REMOVED 

REMOVED.

enum ReadMode
strong
Enumerator
DISABLE 

DISABLE.

AUTOTRIGGER 

AUTOTRIGGER.

MANUAL 

MANUAL.

enum Rotation
strong
Enumerator
NONE 

NONE.

HORIZONTAL 

HORIZONTAL.

VERTICAL 

VERTICAL.

HORIZONTAL_VERTICAL 

HORIZONTAL AND VERTICAL.

Enumerator
SCANNER_IDLE 

Scanner OK.

SCANNER_ERROR 

Scanner error.

enum SensitivityMode
strong
Enumerator
SENSITIVE 

Sensitive.

NORMAL 

Normal.

INSENSITIVE 

Insensitive.