ZBar Bar Code Reader Library  version 0.10
zbar::Image::Handler Class Referenceabstract

general Image result handler. More...

Inheritance diagram for zbar::Image::Handler:

Public Member Functions

virtual ~Handler ()
 
virtual void image_callback (Image &image)=0
 invoked by library when Image should be processed More...
 
 operator zbar_image_data_handler_t * () const
 cast this handler to the C handler More...
 

Static Private Member Functions

static void _cb (zbar_image_t *zimg, const void *userdata)
 

Detailed Description

general Image result handler.

applications should subtype this and pass an instance to eg. ImageScanner::set_handler() to implement result processing

Constructor & Destructor Documentation

virtual zbar::Image::Handler::~Handler ( )
inlinevirtual

References scan_image::image, and image_callback().

Here is the call graph for this function:

Member Function Documentation

static void zbar::Image::Handler::_cb ( zbar_image_t zimg,
const void userdata 
)
inlinestaticprivate

References zbar::zbar_image_get_userdata().

Referenced by operator zbar_image_data_handler_t *().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual void zbar::Image::Handler::image_callback ( Image image)
pure virtual

invoked by library when Image should be processed

Implemented in zbar::QZBarThread.

Referenced by ~Handler().

Here is the caller graph for this function:

zbar::Image::Handler::operator zbar_image_data_handler_t * ( ) const
inline

cast this handler to the C handler

References _cb().

Here is the call graph for this function:


The documentation for this class was generated from the following file: