ScBarcodeScannerSession.h
Go to the documentation of this file.
1 
12 #ifndef SC_BARCODE_SCANNER_SESSION_H_
13 #define SC_BARCODE_SCANNER_SESSION_H_
14 
15 #include "ScBarcode.h"
16 #include "ScBarcodeArray.h"
17 
18 #if defined(__cplusplus)
19 extern "C" {
20 #endif
21 
56 typedef struct ScOpaqueBarcodeScannerSession ScBarcodeScannerSession;
59 
71 SC_EXPORT
73  ScBarcodeScannerSession const *session);
74 
83 SC_EXPORT
85 
96 SC_EXPORT
98 
114 SC_EXPORT
116  ScBarcodeScannerSession const *session);
117 
128 SC_EXPORT
130 
142 SC_EXPORT
144  ScBarcodeScannerSession const *session);
145 
156 SC_EXPORT
158  ScBarcodeScannerSession const *session);
159 
160 #if defined(__cplusplus)
161 }
162 #endif
163 
164 #endif // SC_BARCODE_SCANNER_SESSION_H_
Functions to manage an array of barcodes.
ScBarcodeArray * sc_barcode_scanner_session_get_all_recognized_codes(ScBarcodeScannerSession const *session)
Get list of all recognized codes in the session.
An opaque barcode scanner session object.
A fixed-size array of barcode objects.
void sc_barcode_scanner_session_clear(ScBarcodeScannerSession *session)
Clear the barcode scanner session.
Functions for retrieving barcode information.
uint32_t sc_barcode_scanner_session_get_last_processed_frame_id(ScBarcodeScannerSession const *session)
Get unique ID of the last processed frame.
void sc_barcode_scanner_session_release(ScBarcodeScannerSession *session)
Decrease reference count of barcode scanner session by one.
void sc_barcode_scanner_session_retain(ScBarcodeScannerSession *session)
Increase reference count of barcode scanner session by one.
ScBarcodeArray * sc_barcode_scanner_session_get_newly_localized_codes(ScBarcodeScannerSession const *session)
Get list of codes that were localized, but not recognized in the last processed frame.
ScBarcodeArray * sc_barcode_scanner_session_get_newly_recognized_codes(ScBarcodeScannerSession const *session)
Get list of recognized codes in the last processed frame.