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 SC_EXTERN_C_BEGIN
19 
54 typedef struct ScOpaqueBarcodeScannerSession ScBarcodeScannerSession;
57 
69 SC_EXPORT
71  ScBarcodeScannerSession const *session);
72 
81 SC_EXPORT
83 
94 SC_EXPORT
96 
112 SC_EXPORT
114  ScBarcodeScannerSession const *session);
115 
126 SC_EXPORT
128 
140 SC_EXPORT
142  ScBarcodeScannerSession const *session);
143 
154 SC_EXPORT
156  ScBarcodeScannerSession const *session);
157 
158 SC_EXTERN_C_END
159 
160 #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.