| Public Member Functions | |
| Scanner (Decoder &decoder) | |
| constructor. | |
| Scanner (Decoder *decoder=NULL) | |
| constructor. | |
| void | reset () | 
| clear all scanner state. | |
| zbar_symbol_type_t | new_scan () | 
| mark start of a new scan pass. | |
| zbar_symbol_type_t | flush () | 
| flush scanner pipeline. | |
| zbar_symbol_type_t | scan_y (int y) | 
| process next sample intensity value. | |
| Scanner & | operator<< (int y) | 
| process next sample intensity value. | |
| zbar_symbol_type_t | scan_rgb24 (unsigned char *rgb) | 
| process next sample from RGB (or BGR) triple. | |
| Scanner & | operator<< (unsigned char *rgb) | 
| process next sample from RGB (or BGR) triple. | |
| unsigned | get_width () const | 
| retrieve last scanned width. | |
| zbar_color_t | get_color () const | 
| retrieve last scanned color. | |
| zbar_symbol_type_t | get_type () const | 
| retrieve last scan result. | |
| operator zbar_scanner_t * () const | |
| cast to C scanner | |
| const zbar_scanner_t * | get_c_scanner () const | 
| retrieve C scanner | |
identifies "bar" edges and measures width between them. optionally passes to bar width Decoder
| zbar::Scanner::Scanner | ( | Decoder & | decoder | ) |  [inline] | 
constructor.
| decoder | reference to a Decoder instance which will be passed scan results automatically | 
| zbar::Scanner::Scanner | ( | Decoder * | decoder = NULL | ) |  [inline] | 
constructor.
| decoder | pointer to a Decoder instance which will be passed scan results automatically | 
| void zbar::Scanner::reset | ( | ) |  [inline] | 
clear all scanner state.
| zbar_symbol_type_t zbar::Scanner::new_scan | ( | ) |  [inline] | 
mark start of a new scan pass.
| zbar_symbol_type_t zbar::Scanner::flush | ( | ) |  [inline] | 
flush scanner pipeline.
| zbar_symbol_type_t zbar::Scanner::scan_y | ( | int | y | ) |  [inline] | 
process next sample intensity value.
see zbar_scan_y()
| Scanner& zbar::Scanner::operator<< | ( | int | y | ) |  [inline] | 
process next sample intensity value.
see zbar_scan_y()
| zbar_symbol_type_t zbar::Scanner::scan_rgb24 | ( | unsigned char * | rgb | ) |  [inline] | 
process next sample from RGB (or BGR) triple.
| Scanner& zbar::Scanner::operator<< | ( | unsigned char * | rgb | ) |  [inline] | 
process next sample from RGB (or BGR) triple.
| unsigned zbar::Scanner::get_width | ( | ) | const  [inline] | 
retrieve last scanned width.
| zbar_color_t zbar::Scanner::get_color | ( | ) | const  [inline] | 
retrieve last scanned color.
Copyright 2008-2010 (c) Jeff Brown
This documentation is part of the ZBar Barcode Reader; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.